Commit
- also some sorting
- Loading branch information
There are no files selected for viewing
4 comments
on commit 10d6e4b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does not compile on archlinux:
FAILED: src/Mod/Raytracing/App/CMakeFiles/Raytracing.dir/LuxProject.cpp.o
/usr/sbin/ccache /usr/lib/ccache/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DPYCXX_6_2_COMPATIBILITY -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_XML_LIB -DRaytracing_EXPORTS -D_OCC64 -I/__w/pacman-repo/pacman-repo/PKGBUILD/freecad-git/src/FreeCAD/build/src/Mod/Raytracing/App/Raytracing_autogen/include -I/__w/pacman-repo/pacman-repo/PKGBUILD/freecad-git/src/FreeCAD/build -I/__w/pacman-repo/pacman-repo/PKGBUILD/freecad-git/src/FreeCAD/build/src -I/__w/pacman-repo/pacman-repo/PKGBUILD/freecad-git/src/FreeCAD/src -I/__w/pacman-repo/pacman-repo/PKGBUILD/freecad-git/src/FreeCAD/build/src/Mod/Raytracing/App -I/usr/include/opencascade -I/usr/include/python3.10 -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtXml -Wall -Wextra -Wno-write-strings -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -w -fPIC -fPIC -std=gnu++17 -MD -MT src/Mod/Raytracing/App/CMakeFiles/Raytracing.dir/LuxProject.cpp.o -MF src/Mod/Raytracing/App/CMakeFiles/Raytracing.dir/LuxProject.cpp.o.d -o src/Mod/Raytracing/App/CMakeFiles/Raytracing.dir/LuxProject.cpp.o -c /__w/pacman-repo/pacman-repo/PKGBUILD/freecad-git/src/FreeCAD/src/Mod/Raytracing/App/LuxProject.cpp
/__w/pacman-repo/pacman-repo/PKGBUILD/freecad-git/src/FreeCAD/src/Mod/Raytracing/App/LuxProject.cpp: In member function ‘virtual App::DocumentObjectExecReturn* Raytracing::LuxProject::execute()’:
/__w/pacman-repo/pacman-repo/PKGBUILD/freecad-git/src/FreeCAD/src/Mod/Raytracing/App/LuxProject.cpp:83:21: error: variable ‘std::ifstream file’ has initializer but incomplete type
83 | ifstream file ( fi.filePath().c_str() );
| ^~
/__w/pacman-repo/pacman-repo/PKGBUILD/freecad-git/src/FreeCAD/src/Mod/Raytracing/App/LuxProject.cpp:87:20: error: variable ‘std::ofstream ofile’ has initializer but incomplete type
87 | ofstream ofile(tempName.c_str());
| ^~~~~~~~
[3016/4168] Building CXX object src/Mod/Measure/App/CMakeFiles/Measure.dir/AppMeasure.cpp.o
[3017/4168] Linking CXX shared library Mod/Surface/Surface.so
ninja: build stopped: subcommand failed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does not compile on archlinux:
83 | ifstream file ( fi.filePath().c_str() );
| ^~
It seems an STL header is missing. I added them now explicitly: c6c273e
Do you use precompiled headers? (CMake option "FREECAD_USE_PCH")
Please try out master and report back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you use precompiled headers? (CMake option "FREECAD_USE_PCH")
If it's not on by default then I don't think so, AFAIK that's only relevant to use on windows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you use precompiled headers? (CMake option "FREECAD_USE_PCH")
If it's not on by default then I don't think so, AFAIK that's only relevant to use on windows
For me it is the default. But you can simply open CMake and check
could this be the missing include? LuxTools.h was included in LuxProject.cpp before