Hi,

I'm currently writing a library which uses some OpenSG stuff.
The library is static and within the library I create FBO's.
I took my tested code from my small stand-alone application
and pasted it into the library code, so the code itself should
be ok. 
The problem now is, when I use the library I get wild crashes
inside the OSGSystem library. I'm suspicious about the fact
that I'm creating a static windows library. I have successfully
used dll libraries which used OpenSG so far. I'm using VS.NET
2005 and a recent OpenSG dailybuild. Here are my compiler flags
for the library:

_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_LIB;_OSG_HAVE_CONFIGURED_H_;OSG_BUILD_
DLL;_AFXDLL;_UNICODE;UNICODE

Configuration of the library:
Libreria statica (.lib) (static library)
Usa MFC in una DLL condivisa (use mfc in shared dll)

Calling convention: __cdecl (/Gd)

The complete command line is

/Od /I "core/include" /I "multipass/include" /I
"E:\Programmi\boost\boost_1_34_0" /I "e:\Programmi\OpenSG_VC8/include" /D
"_CRT_SECURE_NO_WARNINGS" /D "WIN32" /D "_DEBUG" /D "_LIB" /D
"_OSG_HAVE_CONFIGURED_H_" /D "OSG_BUILD_DLL" /D "_AFXDLL" /D "_UNICODE" /D
"UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /nologo
/c /Wp64 /Zi /TP /errorReport:prompt


Do you have any ideas what might be wrong???

Thank you,

  Toni

--
Ing. Antonio Bleile
Seac02 S.r.l.
via Avogadro 4
10121 Torino Italia
Tel. +39.011.197.006.52
Fax +39.011.197.006.53
E-mail [EMAIL PROTECTED]
Sito www.seac02.it

Questa E-mail è rivolta unicamente alle persone o enti ai quali è
indirizzata. Essa può contenere informazioni la cui riservatezza è tutelata.
Sono vietati la riproduzione e qualsiasi uso di questa e-mail e/o delle
informazioni in essa contenute in mancanza di autorizzazione del
destinatario. 
This e-mail is intended only for the person or entity to which is addressed.
It may contain information that is privileged, proprietary, confidential,
attorney work product or otherwise exempted from disclosure under applicable
law. Copying, dissemination or use of this e-mail or the information herein
by anyone other than the intended recipient is prohibited. 



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to