Damion Shelton wrote:
> 
> Hi all,
> 
> Some time back John started using Simgear in OpenGC to form the basis for
> our local nav database. Although this works fine under Cygwin and Linux,
> until recently I had problems with it under Windows. The problem turned out
> to be the following:
> 
> The two libraries that OpenGC links with, besides Simgear, are FTGL and
> Freetype 2.06. Under Windows, both of these are set to build with the /MD
> (multithreaded DLL) compiler option. Simgear is set to build with the /ML
> (single-threaded) libraries. Linking with both of these simultaneously was
> causing more than a few linker errors (OpenGC was set up to link using /MD
> as well). Without Simgear, everything worked fine.
> 
> By rebuilding FTGL and OpenGC with the /ML library flag, everything seems
> happy. Although there are no immediate plans to support multithreading in
> OpenGC, it would be more convenient to Windows users if they did not have to
> modify the build process in order to allow compatibility with Simgear.
> 
> Any Windows/Simgear gurus out there have any suggestions?

Its trivial to recompile SimGear multithreaded (/MT).  I can make this
the default since it is the also the default for plib and metakit.  Note
that SimGear cannot be compiled as a DLL.

Bernie

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to