From: Arjen M. <arj...@wl...> - 2008-10-15 06:39:08
|
Werner Smekal wrote: >Hi all, > > >it's now possible to load shared driver modules during run time on win32 >platforms. > > ... >Together with some other minor changes this made the shared drivers work >for MinGW. Visual C++ misses the dirent.h implementation so I downloaded >a free one from here: http://www.softagalleria.net/dirent.php and >included it in the svn repository. This implementation will only be used >for Visual C++ compilers for now. Now it works for Visual C++ as well, >except for a little crash :) at the exit of the examples. Very likely my >ltdl implementation has some bugs, so this needs to be examined. > >Mind though, that from now on this is the default case on Windows, since >ENABLE_DYN_DRIVERS is set by default (and won't be turned off if ltdl is >not found, since we don't look for ltdl on win32). In order to get >everything compiled you must put the ${CMAKE_BINARY_PATH}\dll directory >in your PATH environment variable. Otherwise get-drv-info won't run and >stops the compilation. Examples were run in the build tree. I'm not sure >if this still works if the we run examples not from within the build >tree since plplot won't find the *.rc files. This needs also to be >investigated. > >I urge everybody to run tests even on non-win32 and win32 platforms, >since I didn't test on Linux or Mac OS X if I broke something. Maybe I >also forgot to commit something. > > Hi Werner, I have run into some (not entirely unexpected) trouble with my changes to support the latest gfortran version under MinGW and the recent visibility changes: gcc/gfortran works, but MSVC/CVF is giving trouble on bare Windows. I am going to solve these issues first - nothing really profound, luckily, and then I will turn my attention to the dynamic drivers. Regards, Arjen |