Jump to content
Sign in to follow this  
henrikp

unable to find boost libraries

Recommended Posts

Debian lenny, getting such error when building the whole game:

==== Building pyrogenesis ====
Linking pyrogenesis
/usr/bin/ld: cannot find -lboost_filesystem
collect2: ld returned 1 exit status
make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1
make: *** [pyrogenesis] Error 2

System libraries are installed.

i A libboost-filesystem-dev		 - filesystem operations in C++ (default vers
i A libboost-filesystem1.34.1 - filesystem operations (portable paths, ite
i A libboost-filesystem1.38-dev - filesystem operations (portable paths, ite
i A libboost-filesystem1.38.0 - filesystem operations (portable paths, ite

Or it isn't looking for those?

Share this post


Link to post
Share on other sites

In case you have newer libboost libs, these end with "-mt"

"sudo ln libboost_signals-mt.so libboost_signals.so" in /usr/lib

I compiled it and run :)

Screen shots don't lie. I didn't figure out how to increase resolution yet, though.

Share this post


Link to post
Share on other sites

Hmm, is it standard for Boost nowadays to have "libboost_filesystem-mt.so"? If so, I think the better solution is to modify build/premake/extern_libs.lua to say 'unix_names = { "boost_signals-mt", "boost_filesystem-mt" }' (around line 59).

(Actually the better solution is probably to use a proper configuration script rather than hard-coding all the names into the Premake file, but I have no idea what would be a proper way of doing it.)

I didn't figure out how to increase resolution yet
http://trac.wildfiregames.com/wiki/Playing...raphicsSettings

Share this post


Link to post
Share on other sites

Hmm, is it standard for Boost nowadays to have "libboost_filesystem-mt.so"? If so, I think the better solution is to modify build/premake/extern_libs.lua to say 'unix_names = { "boost_signals-mt", "boost_filesystem-mt" }' (around line 59).

(Actually the better solution is probably to use a proper configuration script rather than hard-coding all the names into the Premake file, but I have no idea what would be a proper way of doing it.)

Yep, this seems currently the best solution for me, game works like a charm.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...