Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
HPL wont compile
Author Message
keen Offline
Junior Member

Posts: 6
Joined: Aug 2010
Reputation: 0
Post: #2
RE: HPL wont compile

haha, nevermind. I figured it out.

I didnt have the sdl stuff installed.

i got it working after installing the following.

sudo aptitude install libsdl1.2-dev libsdl-image1.2-dev libalut-dev libopenal-dev libvorbis-dev libguichan0-dev libglu1-mesa-dev bcp

cool. so it compiled. Smile ...now to compile the rest.....

Quote:[ 43%] Building CXX object CMakeFiles/HPL.dir/sources/sound/SoundEntityData.cpp.o
[ 43%] Building CXX object CMakeFiles/HPL.dir/sources/sound/Sound.cpp.o
[ 44%] Building C object CMakeFiles/HPL.dir/sources/impl/GLee.c.o
Linking CXX static library libHPL.a
[100%] Built target HPL

...so now i have a problem with -lOALWrapper.... it's probably something utterly simple...

andrew@andrew-desktop:~/Desktop/source/PenumbraOverture$ make
[ 79%] Built target HPL
Linking CXX executable overture.bin
/usr/bin/ld: cannot find -lOALWrapper
collect2: ld returned 1 exit status
make[2]: *** [overture.bin] Error 1
make[1]: *** [CMakeFiles/Overture.dir/all] Error 2
make: *** [all] Error 2

EDIT:

okay.. I figured that one out too. I just needed to add a missing parenthesis after ".cpp" in the CMakeList.txt file in the OALWrapper folder. Apparently it wont build without this. I originally put the parentasis at the very end because it told me it was missing one, but that didnt work right...

this is how it looked before

Quote:${CMAKE_CURRENT_SOURCE_DIR}/sources/*.cpp

this is how it looked after.

Quote:${CMAKE_CURRENT_SOURCE_DIR}/sources/*.cpp)
08-07-2010 07:37 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
HPL wont compile - keen - 08-07-2010, 11:04 AM
RE: HPL wont compile - keen - 08-07-2010 07:37 PM



User(s) browsing this thread: 1 Guest(s)