Hi Arjen,

just a short note:

> and g95 installation kicked in). I moved that out of the way (renamed 
> the MSYS
> installation directory) and then found out that the GCC distribution I 
> had installed
> (version 4.2.1) was incomplete: no linker (ld) program.
> 

Since you installed 4.2.1 "by hand", i.e. by downloading single packages 
from the MinGW Site. I think you missed the binutils package which 
provides apart from some other tools, the linker (ld) program.  

 > Then I moved on to PLplot proper. Again the undefined symbols -
 > plsetopt7_ etc.
 > but some fiddling with the FNAME macro (inventing a new LINK_* macro
 > on the way: the proper decoration for the names in the C library is
 >PLDLLEXPIMP name_)
 > helped to build the FORTRAN 77 DLL. (The Fortran 95 bindings failed,
 > as I had not made similar changes there yet.)

Same here, f77 works but not f95. But then with -DBUILD_TEST=ON I get:

[ 68%] Built target f77_examples
mingw32-make -f examples\f77\CMakeFiles\x01f.dir\build.make 
examples/f77/CMakeFiles/x01f.dir/depend
mingw32-make[2]: Entering directory `Z:/DevZone/PLdev/build/test'
C:\DevZone\cmake-2.6.1-win32-x86\bin\cmake.exe -E cmake_depends "MinGW 
Makefiles" Z:\DevZone\PLdev\plplot Z:\DevZone\PLdev\plplot\examples\f77 
Z:\DevZone\PLdev\build\test Z:\DevZone\PLdev\build\test\examples\f77 
Z:\DevZone\PLdev\build\test\examples\f77\CMakeFiles\x01f.dir\DependInfo.cmake 
--color=
mingw32-make[2]: Leaving directory `Z:/DevZone/PLdev/build/test'
mingw32-make -f examples\f77\CMakeFiles\x01f.dir\build.make 
examples/f77/CMakeFiles/x01f.dir/requires
mingw32-make[2]: Entering directory `Z:/DevZone/PLdev/build/test'
mingw32-make[2]: Nothing to be done for 
`examples/f77/CMakeFiles/x01f.dir/requires'.
mingw32-make[2]: Leaving directory `Z:/DevZone/PLdev/build/test'
mingw32-make -f examples\f77\CMakeFiles\x01f.dir\build.make 
examples/f77/CMakeFiles/x01f.dir/build
mingw32-make[2]: Entering directory `Z:/DevZone/PLdev/build/test'
mingw32-make[2]: *** No rule to make target `dll/libplplotf77d.dll.a', 
needed by `examples/f77/x01f.exe'.  Stop.
mingw32-make[2]: Leaving directory `Z:/DevZone/PLdev/build/test'
mingw32-make[1]: *** [examples/f77/CMakeFiles/x01f.dir/all] Error 2
mingw32-make[1]: Leaving directory `Z:/DevZone/PLdev/build/test'
mingw32-make: *** [all] Error 2

So Arjen's changes worked for f77, but there is still some problem with 
the examples compilation. But we are getting there.

Regards,
WErner

-- 
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to