![]() |
Linking problem on windows - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html) +--- Forum: Overture (https://www.frictionalgames.com/forum/forum-29.html) +--- Thread: Linking problem on windows (/thread-3408.html) Pages:
1
2
|
Linking problem on windows - nckomodo - 05-18-2010 Hello, first I must say it is very exciting that this game and its engine have gone open source. I'm currently trying to compile penumbra: overture on windows 7 32bit with vs 2010 ultimate, however i've hit a bit of a wall. you see, I just cant figure out what to do about the linker wanting and not being able to find HPL.lib, which I can confirm doesnt exist anywhere, is it a possibility that I need to redownload something? RE: Linking problem on windows - Marduk - 05-18-2010 You have to build your HPL.lib from the engine sources otherwise you are not able to compile the overture. Engine Source Code: http://github.com/FrictionalGames/HPL1Engine And you need OALWrapper.lib: http://github.com/FrictionalGames/OALWrapper 1.Build OALWrapper.lib 2.Build HPL.lib 3.continue with overture hope that will help ![]() RE: Linking problem on windows - nckomodo - 05-19-2010 (05-18-2010, 10:37 PM)Marduk Wrote: You have to build your HPL.lib from the engine sources otherwise you are not able to compile the overture.oh ok, I thought i remember reading that you only had to open and compile the one project somewhere, thanks. RE: Linking problem on windows - Urkle - 05-19-2010 Oh? Is the a way to configure the overture project file to pull in and build the other two project files?? That is how I have the mac and Linux project files configured. RE: Linking problem on windows - nckomodo - 05-19-2010 (05-19-2010, 03:24 AM)Urkle Wrote: Oh? Is the a way to configure the overture project file to pull in and build the other two project files?? That is how I have the mac and Linux project files configured.could probably just add the other two projects to the overture solution file, might be some configuration to make sure it builds in the right order. RE: Linking problem on windows - Ender - 05-19-2010 (05-19-2010, 03:33 AM)nckomodo Wrote:(05-19-2010, 03:24 AM)Urkle Wrote: Oh? Is the a way to configure the overture project file to pull in and build the other two project files?? That is how I have the mac and Linux project files configured.could probably just add the other two projects to the overture solution file, might be some configuration to make sure it builds in the right order. Yup, you can do that. However, nckomodo, you'll probably run into the problem of not having GLaux.lib. You'll have to find it somewhere since in Windows 7 with recent Visual Studios it is deprecated. Also Urkle, in the Overture solution file, there's a file there called 'keyentry.cxx' which doesn't seem to exist...is that a mistake? Same with 'keyentry.h' RE: Linking problem on windows - Marduk - 05-19-2010 You can exclude them from the project, they are not needed. RE: Linking problem on windows - Urkle - 05-19-2010 Yea.. I forgot to remove the references.. I've committed a change to remove them. RE: Linking problem on windows - nckomodo - 05-20-2010 Yeah, I found GLaux.lib, I'm trying to get it all building under one solution but it doesnt seem to want to spit out OALWrapper.lib where I want it to RE: Linking problem on windows - Ender - 05-21-2010 (05-19-2010, 11:25 AM)Marduk Wrote: You can exclude them from the project, they are not needed. Yeah I know, I just thought I'd point it out. (05-20-2010, 12:04 AM)nckomodo Wrote: Yeah, I found GLaux.lib, I'm trying to get it all building under one solution but it doesnt seem to want to spit out OALWrapper.lib where I want it to Are you using Visual Studio 2008? If so, you can set the output file in Project>properties>librarian>general The place that the Overture project looks for it would be lib\OALWrapper.lib (relative to the OALWrapper folder). Also, I finally got it to compile but...it doesn't work...I stuck it into my Penumbra: Overture installation but it just crashes right away....this is all the info Windows gives: Code: Problem signature: If I try to debug it the breakpoint is in OAL_LoggerObject.cpp in the BuildLogFilename method at line 132, which is the beginning of a for loop Code: for (unsigned int i = 1; i != 0; i++) ![]() |