intensityengine-general team mailing list archive
-
intensityengine-general team
-
Mailing list archive
-
Message #00002
Re: compilation
Søren,
First you want to confirm that the linker (ld) cannot find the boost_python
libraries on the standard path. You can do this with:
ldconfig -p | grep boost_python
If there is no output from this command, then the linker can't find the
boost_python library. If there is, then there's something more sinister
going on.
On the system that I'm currently on, Ubuntu 8.04, the libraries for
libboost-python-dev install to /usr/lib/, so the linker should find them.
However, this may be different on your system. If I recally correctly,
different versions of Ubuntu install various packages to /usr/local/lib/.
You can check for this using:
dpkg -L libboost-python-dev | grep so
This should show you the path to the shared libraries for the package. If
this is something other than /usr/lib, then you need to add the path to the
shard_libpaths var in the scons script (intensityengine/src/SConscript).
Hope that helps,
JLuna
2009/6/30 Søren Renner <soren.renner@xxxxxxxxx>
> ...
>
>> /client/engine/bih.o build/client/engine/octa.o
>> build/client/engine/lightmap.o build/client/engine/water.o
>> build/client/engine/shader.o build/client/engine/rendersky.o
>> build/client/engine/cubeloader.o build/client/engine/renderparticles.o
>> build/client/engine/octarender.o build/client/engine/server.o
>> build/client/engine/client.o build/client/engine/dynlight.o
>> build/client/engine/decal.o build/client/engine/sound.o
>> build/client/engine/pvs.o build/client/engine/command.o
>> build/client/intensity/engine_additions.o
>> build/client/intensity/world_system.o build/client/intensity/targeting.o
>> build/client/intensity/steering.o build/client/intensity/network_system.o
>> build/client/intensity/script_engine_manager.o
>> build/client/intensity/script_engine.o
>> build/client/intensity/script_engine_v8.o
>> build/client/intensity/fpsclient_interface.o
>> build/client/intensity/fpsserver_interface.o build/client/intensity/master.o
>> build/client/intensity/intensity_gui.o build/client/shared/stream.o
>> build/client/shared/zip.o build/client/engine/movie.o
>> build/client/intensity/shared_module_members_boost.o
>> build/client/fpsgame/scoreboard.o -Lbuild -Lsrc -Lbuild/thirdparty/v8
>> -Lsrc/thirdparty/v8 -L/usr/lib -Lbuild/build -Lsrc/build -lz -lenet
>> -lpython2.5 -lboost_python -lv8 -lSDL_image -lSDL_mixer -lGL -lGLU -lrt
>> /usr/bin/ld: cannot find -lboost_python
>> collect2: ld returned 1 exit status
>> scons: *** [build/Intensity_CClient] Error 1
>> scons: building terminated because of errors.
>>
>
> package libboost-python-dev is present. what is missing?
>
> _______________________________________________
> Mailing list: https://launchpad.net/~intensityengine-general<https://launchpad.net/%7Eintensityengine-general>
> Post to : intensityengine-general@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~intensityengine-general<https://launchpad.net/%7Eintensityengine-general>
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References