I have never been able to build PLplot on OS X with AquaTerm. (AquaTerm is nice 
because it scales everything, including lines, on screen when you resize the 
window, plus you can copy from it and get PDFs to paste, and other reasons.) I 
wonder if this is because Apple does not ship gcc with Ada and I get Ada from 
another place which does not include Objective-C.

Here is the problem:


Scanning dependencies of target aqt
make -f drivers/CMakeFiles/aqt.dir/build.make drivers/CMakeFiles/aqt.dir/build
"/Applications/CMake 2.8-6.app/Contents/bin/cmake" -E cmake_progress_report 
/usr/local/plplot_build_dir/CMakeFiles 
[ 23%] Building C object drivers/CMakeFiles/aqt.dir/aqt.c.o
cd /usr/local/plplot_build_dir/drivers && /usr/local/adacore-gnat-2010/bin/gcc  
-Daqt_EXPORTS -DHAVE_CONFIG_H -fPIC 
-I/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/plplot/include
 
-I/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/plplot/lib/qsastime
 
-I/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/plplot/lib/nistcd
 -I/usr/local/plplot_build_dir -I/usr/local/plplot_build_dir/include    -ObjC 
-DUSINGDLL -o CMakeFiles/aqt.dir/aqt.c.o   -c 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/plplot/drivers/aqt.c
cc1: error: invalid option argument '-ObjC'
make[2]: *** [drivers/CMakeFiles/aqt.dir/aqt.c.o] Error 1
make[1]: *** [drivers/CMakeFiles/aqt.dir/all] Error 2
make: *** [all] Error 2


FWIW, Aquaterm is written in Objective-C. Also, my build script has the line,
CMAKE_C_COMPILER=/usr/bin/gcc 
as well as 
CMAKE_Ada_compiler=/usr/local/adacore-gnat-2010/bin/gcc

Has anyone else built PLplot on OS X with both Ada and AquaTerm enabled?

Jerry
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to