Hiroyasu Yasuda <[EMAIL PROTECTED]> writes: > On 2007/10/18, at 21:15, Jim Dishaw wrote: > >> Hiroyasu YASUDA <[EMAIL PROTECTED]> writes: >> >> That message indicates that the fortran library was not built. What >> files are located in the bindings/f77 subdirectory (look where you >> compiled the code)? > > Acoording to ls command, there are files in /f77: > > CMakeFiles > Makefile > cmake_install.cmake > configurable.f > libplplotf77cd-9.1.1.dll > libplplotf77cd.dll.a > libplplotf77d-9.1.1.dll > sfstubs.f > > >>> Please let me know how to compile with all driver module and build >>> example. >>> >> >> Are you using the GNU compilers (gcc, g77, gfortran) or do you have >> any >> other compilers installed on your computer? > > Yes, I'm using with g77. However the Windwos Xp is installed also > intel fortran. > > Also I worry about that the build of plplot under my cygwin is > whether success or failure, because when running make, make shows > that Can not open driver module for each driver. Actually make run > again after showing that message, make procedure is progress. > > Regards, > Hiroyasu
The problem is that CMake sees the Intel Visual Fortran installation and sets the compiler flag "/DIVF" and that causes the GNU compiler to fail. The end result is that the bindings for Fortran 77 and 95 do not get built correctly. Because the Fortran bindings are built late in the process, you get a mostly build PLplot library and, therefore, the non-Fortran examples build correctly. The simple fix is to modify the cmake/modules/fortran.cmak file to prevent the TARGET_FORTRAN variable from being set. Delete the lines starting with # Determine which Fortran compiler we have to endif(CMAKE_Fortran_COMPILER MATCHES ".*/F90.*" AND WIN32) Ultimately we need to put some additional logic to handle the case where there are multiple compilers on the system. -jd ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel