-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile filament from the source on macOS 13.3.1 (M1 macOS) #6147
Comments
I've got exactly the same error. Also using macOS 13.3.1 on an M1 chip. |
can also confirm I'm getting this on M2 chip |
I'm getting the same issue on MB M1 Pro. |
M1 Max |
This fix in the affected 3rd party library helped me getting rid of the error: |
@michaelschleiss Thank you for your reply. I already fixed that part and I can't fix the attached error.
|
Based on the error message I commented out line 121 in:
Worked for me. |
@michaelschleiss Thank you for your comment. You means comment out like It passed the error onto my environment.
private:
// This class is used to store the a break merge instruction and a current
// merge instruction. The intended use is to keep track of the block to
// break to and the current innermost control flow construct merge block.
class StructuredControlState {
public:
StructuredControlState(Instruction* break_merge, Instruction* merge)
: break_merge_(break_merge), current_merge_(merge) {}
//StructuredControlState(const StructuredControlState&) = default; // <-- HERE
bool InBreakable() const { return break_merge_; }
bool InStructuredFlow() const { return CurrentMergeId() != 0; }
uint32_t CurrentMergeId() const {
return current_merge_ ? current_merge_->GetSingleWordInOperand(0u) : 0u;
} But I got another error like the one below.
Please tell me your compile option and source version (commit id). Thanks |
add this code Worked for me. |
add this code I finally did it! |
@qkr10 did you just add it at the end of each file? |
@dustykeyboard1
|
@qkr10 Thank you. I did it as you commented and it works well. 😀 |
why is it not enought to set -Wno-unused-variable flag?
|
I tried this and it does not work. The following still appears.
|
This is good, but it's a monkey-patch. |
Thank you. I solved it. M1 Max , Sonoma 14.2.1 |
In the build folder And I can build it. However, we should pass the option from the outter CMakeLists.txt |
Checklist
master
branch).Steps to reproduce the issue
I first cloned Open3D by:
Then, I build Open3D (on macOS 13.3.1) with:
Execute cmake
First error (fixed)
I got the following error, at the first.
I fixed this error for adding
(void)sentinel_count;
like the below.Error message
Open3D, Python and System information
Additional information
It seems the
filament
is old. Is it possible to use the latest versions?Best regards.
The text was updated successfully, but these errors were encountered: