MyGame .lib and .exp when using NxOgre.h, why ?

almondega

13-08-2008 02:02:07

hi
when i just include the NxOgre.h does my compiler (visual c++ 2005) creates a .lib and a .exp of my application

how can i avoid this?
when i cancel the NxOgre.h include, there's no .lib and .exp

tks :?

jonnys

15-08-2008 21:49:36

Maybe its caused by linking the NxOgre library (compiled as a static library), to your application. I have the same problem too and but I wasn't sure if its NxOgre that caused the problem...I haven't checked :)

almondega

16-08-2008 16:59:42

i'm using static too
this never happend :shock:

maroxe

29-08-2008 01:20:58

same "problem"(i'm no sure it is really a problem), i'll try to use dynamic library

Rhys

25-09-2008 13:27:29

Got the same problem and it is somewhat weird...didn't find out what causes this (I'm using the non-static lib).
If someone - ehm: Betajean :) - could say a word or two about it...that would be great...

betajaen

25-09-2008 14:02:54

Makes sure the Runtime library (Project Settings/Code Generation) is Multi-threaded (Debug) DLL.


And it's "jaen" not "jean".

Rhys

25-09-2008 14:07:04

Even unable to just copy a name :/
"Jaen", sorry.

The runtime lib is set to multithreaded (debug) dll, so this one is correct. Don't know if there is another important setting that should be considered...?

betajaen

25-09-2008 15:05:18

General in ConfigurationType is set to "Application"?

Rhys

25-09-2008 15:06:52

Yep, I get my .exe as I want to, I can start it and everything...
The lib file is only created if I use an
#include <NxOgre.h>
Without this, everything is fine.

almondega

08-10-2008 02:47:20

General in ConfigurationType is set to "Application"?
yes

Makes sure the Runtime library (Project Settings/Code Generation) is Multi-threaded (Debug) DLL.
yes

NxOgre library: Release (dll)

still the same problem
do u have this problem in your compiler betajaen ?
i'm using VC++ Express 2008