Closed davidelang closed 3 years ago
I suppose we shall make the precompiled headers on Linux optional. Some gcc versions are not stable with precompiled headers anyway.
On Sun, May 19, 2019 at 4:12 PM David Lang notifications@github.com wrote:
Version
Version of PrusaSlicer used goes here git 9fca67d https://github.com/prusa3d/PrusaSlicer/commit/9fca67d2812090befec5a159facc16b22c1d5b85 Operating system type + version
Ubuntu 19.04 Behavior
:~/git/PrusaSlicer/src/build$ cmake .. -Wno-dev -- qhull Version: 7.2.0 (static linking) -- Parallelization with OpenMP -- Boost version: 1.67.0 -- Found NLopt in '/usr/lib/x86_64-linux-gnu'. -- Using NLopt include directory '/usr/include'. -- Using NLopt library '/usr/lib/x86_64-linux-gnu/libnlopt.so'. CMake Error at libslic3r/CMakeLists.txt:4 (include): include could not find load file:
PrecompiledHeader
CMake Error at CMakeLists.txt:201 (install): install TARGETS given no RUNTIME DESTINATION for executable target "PrusaSlicer".
-- Configuring incomplete, errors occurred! See also "/home/dlang/git/PrusaSlicer/src/build/CMakeFiles/CMakeOutput.log". See also "/home/dlang/git/PrusaSlicer/src/build/CMakeFiles/CMakeError.log".
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/2280?email_source=notifications&email_token=ABMPSI3AD2BMZBGPZVB7ERTPWFN6TA5CNFSM4HN4SFJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUSXX2A, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMPSI5UZG5DVKXXEBTY4U3PWFN6TANCNFSM4HN4SFJQ .
As far as I know they are already optional. In Fedora I'm building with -DSLIC3R_PCH=0
.
The error is that the CMake module file for PCH has not been found, apparently, which is really weird, since we keep it in the cmake/modules
directory. I wonder if OP invoked CMake in some nonstandard way or did some modifications that might've caused this...
We don't have resources to support linux self-compilation. We have updated our guide. https://github.com/prusa3d/PrusaSlicer/blob/master/doc/How%20to%20build%20-%20Linux%20et%20al.md
Version
Version of PrusaSlicer used goes here git 9fca67d2812090befec5a159facc16b22c1d5b85
Operating system type + version
Ubuntu 19.04
Behavior
:~/git/PrusaSlicer/src/build$ cmake .. -Wno-dev -- qhull Version: 7.2.0 (static linking) -- Parallelization with OpenMP -- Boost version: 1.67.0 -- Found NLopt in '/usr/lib/x86_64-linux-gnu'. -- Using NLopt include directory '/usr/include'. -- Using NLopt library '/usr/lib/x86_64-linux-gnu/libnlopt.so'. CMake Error at libslic3r/CMakeLists.txt:4 (include): include could not find load file:
CMake Error at CMakeLists.txt:201 (install): install TARGETS given no RUNTIME DESTINATION for executable target "PrusaSlicer".
-- Configuring incomplete, errors occurred! See also "/home/dlang/git/PrusaSlicer/src/build/CMakeFiles/CMakeOutput.log". See also "/home/dlang/git/PrusaSlicer/src/build/CMakeFiles/CMakeError.log".