On 2010-12-02 12:27+0100 Arjen Markus wrote:

> Hello,
>
> I installed the GNU Ada compiler today under MinGW/MSYS on Windows
> and tried to build the Ada examples. The bindings seem to build
> fine, but for the examples the file "libplplotadad.dll.a" is missing:
>
> Scanning dependencies of target x01a
> [ 17%] Building Ada object examples/ada/CMakeFiles/x01a.dir/x01a.o
> make[2]: *** No rule to make target `dll/libplplotadad.dll.a', needed by
> `exampl
> es/ada/x01a.exe'.  Stop.
> make[1]: *** [examples/ada/CMakeFiles/x01a.dir/all] Error 2
> make: *** [all] Error 2
>
> I have no idea what this file should contain - an import library?

Our PLplot-specific CMake language support for Ada follows what is
done for other language bindings then adds a lot more Ada-specific
stuff.  Normally, language support for additional languages under
CMake is fairly tricky because it is so poorly documented, but Ada
language support is especially tricky because of the extra
requirements for that language. Thus, you may be running into some
Windows issues with that language support that still need to be
resolved.  For example, it is quite possible that our CMake language
support for Ada is simply ignoring the LIBRARY_OUTPUT_PATH variable
set by

if(BUILD_SHARED_LIBS AND WIN32 AND NOT CYGWIN)
   set(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dll)
endif(BUILD_SHARED_LIBS AND WIN32 AND NOT CYGWIN)

in the top-level CMakeLists.txt file and thus putting
libplplotadad.dll.a in the wrong (bindings/ada) location for the
Windows case.  Or we may have to change the Ada flags in
examples/ada/CMakeLists.txt in order to get the Ada examples to work
in the build tree for Windows platforms.

For now, I suggest you disable Ada support on Windows. Once I get my
wine tests in order again I will try enabling Ada to see if there is
something simple I can do to either solve or work around the Ada issue
you have found on the Windows platform.  However, if no simple
solution presents itself I can make no promises on quick action, and
we may just have to live for some time with the limitation of
disabling Ada for Windows until someone finds the time to investigate
the problem in more detail.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to