Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Linking problem on windows
nckomodo Offline
Junior Member

Posts: 18
Threads: 4
Joined: May 2010
Reputation: 0
#1
Linking problem on windows

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?
05-18-2010, 10:12 PM
Find
Marduk Offline
Junior Member

Posts: 4
Threads: 1
Joined: May 2010
Reputation: 0
#2
RE: Linking problem on windows

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 Smile
05-18-2010, 10:37 PM
Find
nckomodo Offline
Junior Member

Posts: 18
Threads: 4
Joined: May 2010
Reputation: 0
#3
RE: Linking problem on windows

(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.

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 Smile
oh ok, I thought i remember reading that you only had to open and compile the one project somewhere, thanks.
05-19-2010, 01:44 AM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#4
RE: Linking problem on windows

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.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
05-19-2010, 03:24 AM
Website Find
nckomodo Offline
Junior Member

Posts: 18
Threads: 4
Joined: May 2010
Reputation: 0
#5
RE: Linking problem on windows

(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.
05-19-2010, 03:33 AM
Find
Ender Offline
Junior Member

Posts: 4
Threads: 0
Joined: May 2010
Reputation: 0
#6
RE: Linking problem on windows

(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'
05-19-2010, 08:05 AM
Find
Marduk Offline
Junior Member

Posts: 4
Threads: 1
Joined: May 2010
Reputation: 0
#7
RE: Linking problem on windows

You can exclude them from the project, they are not needed.
05-19-2010, 11:25 AM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#8
RE: Linking problem on windows

Yea.. I forgot to remove the references.. I've committed a change to remove them.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
05-19-2010, 02:39 PM
Website Find
nckomodo Offline
Junior Member

Posts: 18
Threads: 4
Joined: May 2010
Reputation: 0
#9
RE: Linking problem on windows

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
05-20-2010, 12:04 AM
Find
Ender Offline
Junior Member

Posts: 4
Threads: 0
Joined: May 2010
Reputation: 0
#10
RE: Linking problem on windows

(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:

Problem signature:
  Problem Event Name:    BEX
  Application Name:    Penumbra.exe
  Application Version:    0.0.0.0
  Application Timestamp:    4bf39ad8
  Fault Module Name:    MSVCR90.dll
  Fault Module Version:    9.0.30729.4926
  Fault Module Timestamp:    4a1743c1
  Exception Offset:    00036678
  Exception Code:    c0000417
  Exception Data:    00000000
  OS Version:    6.1.7600.2.0.0.768.3
  Locale ID:    1033
  Additional Information 1:    43de
  Additional Information 2:    43de8db3df42a4bb7a368c7659a8265e
  Additional Information 3:    0757
  Additional Information 4:    07578ef924f6edecbc74245016169ba0

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
for (unsigned int i = 1; i != 0; i++)

Huh
05-21-2010, 01:00 AM
Find




Users browsing this thread: 1 Guest(s)