← Back to team overview

intensityengine-general team mailing list archive

Re: compilation

 

Hey Soren, I just noticed that this was sent directly to me instead of the
list.  It's best to use Reply-All so that your response goes to the list as
well.  I've been quite busy, so I haven't had a chance to respond.  Did you
ever get this issue resolved?

I noted that your output only has the multi-threaded version of the shared
library, which seems a bit strange to me (I have both mt and non-mt
versions).  I'm not sure why this would be, but perhaps it's some indication
of the root problem?

JLuna

2009/6/30 Søren Renner <soren.renner@xxxxxxxxx>

> ???
>
>
> root@anates:/home/sr/dev/intensityengine#  ldconfig -p | grep boost_python
>     libboost_python-mt-py25.so.1.38.0 (libc6) =>
> /usr/lib/libboost_python-mt-py25.so.1.38.0
>     libboost_python-mt-py25.so (libc6) =>
> /usr/lib/libboost_python-mt-py25.so
>     libboost_python-mt-py24.so.1.38.0 (libc6) =>
> /usr/lib/libboost_python-mt-py24.so.1.38.0
>     libboost_python-mt-py24.so (libc6) =>
> /usr/lib/libboost_python-mt-py24.so
> root@anates:/home/sr/dev/intensityengine# ln
> /usr/lib/libboost_python-mt-py25.so.1.38.0
> root@anates:/home/sr/dev/intensityengine# ln
> /usr/lib/libboost_python-mt-py25.so.1.38.0
> /usr/lib/libboost_python-mt-py25.so
> ln: creating hard link `/usr/lib/libboost_python-mt-py25.so': File exists
> root@anates:/home/sr/dev/intensityengine# cd /usr/lib
> root@anates:/usr/lib# ls libbost*
> ls: cannot access libbost*: No such file or directory
> root@anates:/usr/lib# ls libbo0ost*
> ls: cannot access libbo0ost*: No such file or directory
> root@anates:/usr/lib# ls libboost*
> libboost_python-mt.a        libboost_python-mt-py24.so.1.38.0
> libboost_python-mt-py25.so.1.38.0
> libboost_python-mt-py24.a   libboost_python-mt-py25.a
> libboost_python-mt.so
> libboost_python-mt-py24.so  libboost_python-mt-py25.so
> root@anates:/usr/lib# exit
> exit
> sr@anates:~/dev/intensityengine$ scons
> scons: Reading SConscript files ...
>
> <<< Intensity Engine build procedure >>>
>
>
> --== Building Intensity Engine itself ==--
>
> Must specify package names on the command line
> cflags:  -DCLIENT -fsigned-char -I/usr/include/SDL -D_GNU_SOURCE=1
> -D_REENTRANT
> Must specify package names on the command line
> libs: ['z', 'enet', 'python2.5', 'boost_python', 'v8', 'SDL_image',
> 'SDL_mixer', 'GL', 'GLU', 'rt']
>
> Checking dependencies:
>
> Checking for C++ header file SDL.h... (cached) yes
> Checking for C++ header file SDL_image.h... (cached) yes
> Checking for C++ header file zlib.h... (cached) yes
> Checking for C++ header file boost/shared_ptr.hpp... (cached) yes
> Checking for C++ header file v8.h... (cached) yes
>
> Dependencies satisfied
>
> Must specify package names on the command line
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o build/Intensity_CClient build/client/engine/3dgui.o
> build/client/engine/blob.o build/client/engine/blend.o
> build/client/engine/menus.o build/client/engine/serverbrowser.o
> build/client/intensity/editing_system.o build/client/intensity/messages.o
> build/client/intensity/logging.o build/client/intensity/message_system.o
> build/client/intensity/system_manager.o build/client/intensity/python_wrap.o
> build/client/intensity/utility.o build/client/intensity/client_system.o
> build/client/intensity/client_engine_additions.o
> build/client/intensity/character_render.o build/client/fpsgame/fps.o
> build/client/fpsgame/server.o build/client/fpsgame/client.o
> build/client/fpsgame/entities.o build/client/fpsgame/render.o
> build/client/fpsgame/weapon.o build/client/shared/tools.o
> build/client/shared/geom.o build/client/engine/rendertext.o
> build/client/engine/material.o build/client/engine/octaedit.o
> build/client/engine/grass.o build/client/engine/physics.o
> build/client/engine/rendergl.o build/client/engine/worldio.o
> build/client/engine/texture.o build/client/engine/console.o
> build/client/engine/world.o build/client/engine/glare.o
> build/client/engine/renderva.o build/client/engine/normal.o
> build/client/engine/rendermodel.o build/client/engine/shadowmap.o
> build/client/engine/main.o build/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.
> sr@anates:~/dev/intensityengine$
>
>
>
> 2009/6/30 Jose Luna <lunaparallel@xxxxxxxxx>
>
>> 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