Frictional Games Forum (read-only)
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


RE: Linking problem on windows - nckomodo - 05-21-2010

(05-21-2010, 01:00 AM)Ender Wrote:
(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:
  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
Code:
for (unsigned int i = 1; i != 0; i++)

Huh

I had a similar problem, turns out WIN32 isnt defined in the project settings for OALWrapper so you need to throw it in there, atleast thats what fixed it for me.