Jump to content

boost linking error


Recommended Posts

hi

ive gone though all the directions 3-5 times

when i get to the spot where i cd gcc and then make

it fails here is my error

==== Building network ====

precompiled.cpp

In file included from ../../../source/lib/precompiled.h:95,

from ../../../source/pch/network/precompiled.h:18,

from ../../../source/pch/network/precompiled.cpp:18:

../../../source/lib/external_libraries/boost_filesystem.h:30:32: error: boost/filesystem.hpp: No such file or directory

ive tried from a clean svn twice now and no luck. after it did this the first time i traced down all the places where it wasnt finding

the needed file and added the full path /home/user/0ad/truck/ etc/ etc

that got me to almost the end of the compile i believe but then though other errors

i assume there is a way to point the code to a start path?

any ideas? thx

Valakas

Link to comment
Share on other sites

Sounds like you need to install Boost onto your system, e.g. with "apt-get install libboost-dev" or something similar depending on what Linux distribution you use. If you don't have a /usr/include/boost, then that's probably the problem.

(It's also possible that Boost is just installed into a strange location. If you've already got it installed and still have problems, what Linux distro/version are you using?)

Link to comment
Share on other sites

im using ubuntu 8.04.2

and i have boost in usr/include/boost

i just tried an apt-get of boost-dev and it says i have the newest up to date version

ok that got me thinking

i needed libboost-filesystem-dev

i apt-get install ed it and its working

May i recommed that libboost-filesystem-dev be added to the giant list of things to install at the start?

also should i get a few unsigned integer errors?

Thx for the help

Valakas

Link to comment
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.

 Share

×
×
  • Create New...