Replies: 41 comments 137 replies
-
I have also tried this and leads to the same error |
Beta Was this translation helpful? Give feedback.
-
@SoftFever Just wanted to thank you for your work. Been trying OrcaSlicer and it's amazing, great job! |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to compile this on a Mac m1 running Sonoma (ie newer version of xcode), and am getting the following error. CMake Error: Could not create named generator Xcode |
Beta Was this translation helpful? Give feedback.
-
Try this @patofoto
|
Beta Was this translation helpful? Give feedback.
-
No success yet. Getting this when trying above suggestion. |
Beta Was this translation helpful? Give feedback.
-
@SoftFever No luck on compiling on Sonoma after ensuring cmake is up to date unfortunately. Thanks for an excellent bit of software by the way - Orca is now my favourite slicer :) |
Beta Was this translation helpful? Give feedback.
-
I had some really random troubles compiling on arm64 MacOS. I'd get messages saying random libraries couldn't install, but it never seemed to be the same ones. At one point even, after having successfully built the dependencies dozens of times, they just randomly broke. What fixed it for me was:
Rebooting was important for me; I'd tried just removing the aforementioned directories, but that alone didn't work. I suspect that a partial dependency build left things hanging around in some way that caused trouble, and that these dangling pieces weren't freed up until the reboot. |
Beta Was this translation helpful? Give feedback.
-
Im having issues trying to get Orca Slicer running on Fedora Linux. No problems when i do it in Ubuntu with the app image. Just not sure how to go about it with the rpm type system. |
Beta Was this translation helpful? Give feedback.
-
Good morning @SoftFever. Downloaded fresh code today after I read you had pushed some fixes on Mac build. I am getting a dep_MPFR error now. |
Beta Was this translation helpful? Give feedback.
-
Successfully built on Windows 11.
|
Beta Was this translation helpful? Give feedback.
-
I have tried all the compilation options, all possible solutions to the problem! but it didn't work out to create a file under windows. |
Beta Was this translation helpful? Give feedback.
-
@SoftFever Please let me know if all my questions help or just keep you from getting to important stuff. I am just curious and always eager to learn new stuff so I jump in and try to stay afloat with stuff I don't know. Keep not succeeding with trying to compile for MacOS. Have tried all your suggestions.
Please tell me to stop asking if all this is not helpful. |
Beta Was this translation helpful? Give feedback.
-
@SoftFever Screen grab |
Beta Was this translation helpful? Give feedback.
-
Hey guys, I was able to reproduce the issue in my new PC, and I think I've figured out the cause of OCCT issue here. The patch was not applied properly to OCCT hence it was installed to the wrong location. It should be fixed after this commit: b76be35 You can rebuild OCCT only by:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Was attempting to build a flatpak of OrcaSlicer 1.9.0, and ran into a compile error: [ 11%] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/ArcFitter.cpp.o
/run/build/OrcaSlicer/src/libslic3r/ArcFitter.cpp: In static member function ‘static void Slic3r::ArcFitter::do_arc_fitting(const Slic3r::Points&, std::vector<Slic3r::PathFittingData>&, double)’:
/run/build/OrcaSlicer/src/libslic3r/ArcFitter.cpp:51:99: error: invalid use of incomplete type ‘class Slic3r::Polyline’
51 | can_fit = ArcSegment::try_create_arc(current_segment, target_arc, Polyline(current_segment).length(),
| ^
In file included from /run/build/OrcaSlicer/src/libslic3r/Circle.hpp:5,
from /run/build/OrcaSlicer/src/libslic3r/ArcFitter.hpp:4,
from /run/build/OrcaSlicer/src/libslic3r/ArcFitter.cpp:1:
/run/build/OrcaSlicer/src/libslic3r/Line.hpp:15:7: note: forward declaration of ‘class Slic3r::Polyline’
15 | class Polyline;
| ^~~~~~~~
/run/build/OrcaSlicer/src/libslic3r/ArcFitter.cpp: In static member function ‘static void Slic3r::ArcFitter::do_arc_fitting_and_simplify(Slic3r::Points&, std::vector<Slic3r::PathFittingData>&, double)’:
/run/build/OrcaSlicer/src/libslic3r/ArcFitter.cpp:108:30: error: incomplete type ‘Slic3r::MultiPoint’ used in nested name specifier
108 | points = MultiPoint::_douglas_peucker(points, tolerance);
| ^~~~~~~~~~~~~~~~
/run/build/OrcaSlicer/src/libslic3r/ArcFitter.cpp:130:48: error: incomplete type ‘Slic3r::MultiPoint’ used in nested name specifier
130 | straight_or_arc_part = MultiPoint::_douglas_peucker(straight_or_arc_part, tolerance);
| ^~~~~~~~~~~~~~~~
make[2]: *** [src/libslic3r/CMakeFiles/libslic3r.dir/build.make:76: src/libslic3r/CMakeFiles/libslic3r.dir/ArcFitter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1014: src/libslic3r/CMakeFiles/libslic3r.dir/all] Error 2
All deps are compiled. Unknown if they're working, but this isn't a linker error so I doubt it's an issue with deps. |
Beta Was this translation helpful? Give feedback.
-
Hello, I run the command
Can someone help me please or if someone know where to find an arm appimage. Thx a lot |
Beta Was this translation helpful? Give feedback.
-
Compiling on MacOS from fresh download of repo. Getting this compiling error now:
Here is the full log: Anyone experiencing this?. MacOS recently updated Xcode and Xcode Tools in case this might point to something?. |
Beta Was this translation helpful? Give feedback.
-
Good morning! I'm trying to build for Windows following what people here said, even though I'm playing on disk D, the build doesn't finish, it always says that the compilation ended with errors and it doesn't create the project in the OrcaSlice\build folder, I'm using windows 11 |
Beta Was this translation helpful? Give feedback.
-
So heads up, not a big C++ guy. I was able to compile the build just fine, but it fails to rebuild in VS to use the debugger. The code base is pretty sparse for comments and was wondering if there is any official documentation. I am very interested in producing a couple new tools but don't want to spend too much time sorting through by hand. |
Beta Was this translation helpful? Give feedback.
-
yesterday it worked all ok but now i got these errors.
How can i fix this? tried deleting debs folder and rebuilding |
Beta Was this translation helpful? Give feedback.
-
Getting error from fresh clone:
Anybody else?. |
Beta Was this translation helpful? Give feedback.
-
When doing official builds for Windows, do you do it from the VS 2022 IDE or just from the batch files? |
Beta Was this translation helpful? Give feedback.
-
Getting CMake errors. But compiles ok. Anything I should do or ignore?
|
Beta Was this translation helpful? Give feedback.
-
Still getting errors when opening the repo:
Think they are about Boost?. Repo compiles ok but not sure if I should just ignore this. |
Beta Was this translation helpful? Give feedback.
-
@igiannakas Apologies for the include here. I was wondering if you happen be having issues compiling for Mac?. I have been getting CMake errors (look at posts above) but have have been able to compile anyway. Today I can't compile anymore. This is what I get:
Are you having any issues?. Any light you can shed to my issue?. Apologies for not knowing what I am doing. |
Beta Was this translation helpful? Give feedback.
-
Just updated to macOS Sequoia 15. Can't compile anymore. Getting this error:
Will try downloading GLEW manually with Homebrew |
Beta Was this translation helpful? Give feedback.
-
Just wanted to mention here that I couldn't get things to work on Windows with Visual Studio 2019. I got the wxwidget issue I see mentioned above, as well as a few other things when trying things. Also, Visual Studio 2019 Community is kind of a hassle to obtain, since Microsoft doesn't actually offer it freely anymore, and really tries to get you to use 2022. Here's what did work for me:
I bolded crucial differences from the official readme instructions. Maybe it's time to retire VS2019? |
Beta Was this translation helpful? Give feedback.
-
Did anybody manage to connect from Orca running on an ARM CPU (raspberry) to a Bambu printer over the (LAN-only) network? |
Beta Was this translation helpful? Give feedback.
-
Trying to build for Linux Mint 21.3 and running into an error with OpenCV - getting the output below. Tried with stable and nightly, same problem. I'm not quite following the error it seems to be missing some files/directories that are expected. Apologies if this is an easy one, first time building from source as the appimage wasn't playing nice at all for me either.
|
Beta Was this translation helpful? Give feedback.
-
Some people have difficulties building Orca Slicer. This is the thread to discuss such issues.
On Windows:
build_release_vs2022.bat accepts two parameters: deps and slicer. It will build both deps and studio by default if no parameter is provided.
If you have issues compiling OrcaSlicer, please make sure that all dependencies are compiled successfully.
Steps:
deps/build
build_release_vs2022.bat deps
from x64 Native Tools Command Prompt for VS 2022Note If you want to debug Orca Slicer, you can set the build type to RelWithDebInfo. The debug build type is not maintained, so you might run into errors if you try to build it.
Beta Was this translation helpful? Give feedback.
All reactions