Hi,
I'm facing an additional small problem with the CMake build system with
respect to the specific image file types. Let me start by saying that
I'm not using the support libs OpenSG provides. After some
instrumentation I got the following output on running cmake (only JPEG
on the compass)
-- Configuring jpeg...
-- Searching on JPEG...
-- ...JPEG found ok
-- ...yes found ok
-- ... and jpeg is found...
-- ...OSG_WITH_JPG is 1
Because I'm unable to load jpeg images I found that the specific code is
guarded by the preprocessor flag OSG_WITH_JPG. This flag is not set in
my msdev project files generated by cmake or in any *.cmake or *.txt
file in the build directory. In case that the code inside of the
OSG_WITH_JPG has to be part of the
libraries (which I suspect) I think there is might be a hole in the
setup. Beside, my jpeg.lib/jpegd.lib are linked to the OSGImageFileIO
library.
Additional note, I also added the call
preloadSharedObject("OSGImageFileIO") before the osgInit(0,NULL) entry
point unfortunately necessary on MS windows (but not a problem).
Best,
Johannes
____________
Virus checked by G DATA AntiVirusKit
Version: AVF 19.520 from 03.09.2009
Virus news: www.antiviruslab.com
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users