On Aug 16, 2012, at 4:30 AM, Andrew Ross wrote:

> 
> P.S. I've also checked the wxwidgets code. The wxwidgets driver does
> not link against libplplotwxwidgetsd and so there should not be a
> problem there. The example using this class explicitly links against
> the wxwidgets libraries as it uses some of the function directly so
> again should be fine.
> 
> Jerry - if you have wxwidgets, please let me know if you encounter any
> problems.
> 
> Regards
> 
> Andrew
> 
I also tried to build 12216 for tcl/tk. DNON_TRANSITIVE=OFF, DENABLE_tcl=ON, 
DENABLE_tk=ON, with the result below. This is the same condition which prompted 
the thread in the beginning, on May 9, 2012. The result is exactly the same 
whether I use the built-in tcl/tk by doing this:

CMAKE_LIBRARY_PATH=/usr/local/adacore-gnat-2011/lib/gcc/x86_64-apple-darwin10.2.0/4.5.3/adalib:\
/usr/lib/libtcl.dylib:\
/usr/lib/libtk.dylib

or (I think) using the MacPorts version by doing only this:

CMAKE_LIBRARY_PATH=/usr/local/adacore-gnat-2011/lib/gcc/x86_64-apple-darwin10.2.0/4.5.3/adalib

(The MacPorts paths are at the front of my PATH variable.)


Linking C shared library libplplottcltkd.dylib
cd /usr/local/plplot_build_dir/bindings/tcl && /opt/local/bin/cmake -E 
cmake_link_script CMakeFiles/plplottcltkd.dir/link.txt --verbose=1
/usr/local/adacore-gnat-2011/bin/gcc   -dynamiclib 
-Wl,-headerpad_max_install_names -single_module -compatibility_version 9.0.0 
-current_version 9.2.0 -o libplplottcltkd.9.2.0.dylib -install_name 
/usr/local/plplot_build_dir/bindings/tcl/libplplottcltkd.9.dylib 
CMakeFiles/plplottcltkd.dir/tclAPI.c.o CMakeFiles/plplottcltkd.dir/tclMain.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/Pltk_Init.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/plframe.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/plr.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/tcpip.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/tkMain.c.o libtclmatrixd.9.2.0.dylib 
../../src/libplplotd.11.0.0.dylib -framework tcl -framework tk 
/usr/lib/libltdl.dylib /usr/lib/libdl.dylib 
../../lib/csa/libcsirocsa.0.0.1.dylib 
../../lib/qsastime/libqsastime.0.0.1.dylib /usr/lib/libm.dylib 
Undefined symbols for architecture x86_64:
  "_XLookupString", referenced from:
      _PlFrameKeyEH in plframe.c.o
  "_XFlush", referenced from:
      _DisplayPlFrame in plframe.c.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [bindings/tcl/libplplottcltkd.9.2.0.dylib] Error 1
make[1]: *** [bindings/tcl/CMakeFiles/plplottcltkd.dir/all] Error 2
make: *** [all] Error 2

Jerry


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to