Skip to content
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

Build error #404

Open
kermitdafrog8 opened this issue Dec 29, 2024 · 4 comments
Open

Build error #404

kermitdafrog8 opened this issue Dec 29, 2024 · 4 comments

Comments

@kermitdafrog8
Copy link

/usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here
  131 |     struct binary_function
      |            ^~~~~~~~~~~~~~~
/tmp/SBo/LibreCAD_3-latest/luacmdinterface/main.cpp: In function ‘int main(int, char**)’:
/tmp/SBo/LibreCAD_3-latest/luacmdinterface/main.cpp:131:36: error: ‘extension’ is not a member of ‘boost::filesystem’
  131 |         fType = boost::filesystem::extension(fOut);
      |                                    ^~~~~~~~~

Using cmake commands
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ $SLKCFLAGS = -O2 -fPIC
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS"
-DCMAKE_INSTALL_PREFIX=/usr
-DLIB_SUFFIX=${LIBDIRSUFFIX}
-DWITH_UNITTESTS=OFF
-DWITH_DOCUMENTATION=ON
-DMAN_INSTALL_DIR=/usr/man
-DCMAKE_BUILD_TYPE=Release ..

Using boost-1.87.0
gcc (GCC) 14.2.0

@dxli
Copy link
Member

dxli commented Dec 29, 2024

We do not have any active v3 developer to address, I guess

@alexander982
Copy link
Contributor

Compiled normally with boost-1.74. Boost 1.85 has deprecated api https://www.boost.org/doc/libs/1_85_0/libs/filesystem/doc/deprecated.html

@kermitdafrog8
Copy link
Author

Will boost 1.78 work or is it still too new?

@alexander982
Copy link
Contributor

You should try. In conanfile.txt you can see used library versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants