All,
I am having a problem generating the Java wrappers for VTK 5.6.0 using CMAKE 2.8.2. The problem is the shared libraries are all prefixed with "lib" (the unix style specification), even though I am using WinXP. the System.loadLibrary("vtkCommonJava") which should be portable between JVM's running on unix and windows machines generates a name of "vtkCommonJava.dll" on windows platforms and no such library is created by the Java wrapper build. the names for both the java wrappers and the required shared libraries are all prefixed with "lib".

I found a bool flag in cmLocalGenerator.h called IgnoreLibPrefix which sounds like it might be the required indicator, and I can see where when the cmGlobalMingWMakefileGenerator.CXX is used it is set to True, but I cannot find any test for the value, nor exactly where the target library name is actually set.

Does anyone have a workaround or correction to correctly generate the windows DLL names in VTK?

thanks in advance,
Jim Peterson
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to