[fixed] Build failure for LuxProject.cpp

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
ArunGiridhar
Posts: 41
Joined: Sun Mar 29, 2015 10:02 pm

[fixed] Build failure for LuxProject.cpp

Post by ArunGiridhar »

@uwestoehr

Commit tag: https://github.com/FreeCAD/FreeCAD/comm ... 66e4dadf05
git commit c6c273eddfb56165bd18612d7a0daa66e4dadf05

Build is failing on Manjaro with these remaining errors:

Code: Select all

...FreeCAD/src/Mod/Raytracing/App/LuxProject.cpp:85:14: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
    ifstream file (fi.filePath().c_str());
             ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/iosfwd:116:11: note: template is declared here
    class basic_ifstream;
          ^

...FreeCAD/src/Mod/Raytracing/App/LuxProject.cpp:89:14: error: implicit instantiation of undefined template 'std::basic_ofstream<char>'
    ofstream ofile(tempName.c_str());
             ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/iosfwd:119:11: note: template is declared here
    class basic_ofstream;
          ^
2 errors generated.
Last edited by ArunGiridhar on Tue Dec 06, 2022 8:48 pm, edited 1 time in total.
User avatar
adrianinsaval
Veteran
Posts: 5553
Joined: Thu Apr 05, 2018 5:15 pm

Re: Build failure for LuxProject.cpp

Post by adrianinsaval »

We are aware, see the comments in that commit and at git commit 10d6e4b8, there's also an open PR that should fix this: https://github.com/FreeCAD/FreeCAD/pull/7963
Post Reply