Hi,

I have cmake version 2.4.7 and get this result running "cmake .":

-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
WARNING: This project requires version 2.6 of CMake.  You are running  
version 2.4.7.

flags_in = -framework QuickTime -framework IOKit -framework Carbon - 
framework Cocoa -framework System  -lIDL-2
Cannot find library corresponding to linker option -lIDL-2
original link flags delivered by pkg-config = -framework QuickTime - 
framework IOKit -framework Carbon -framework Cocoa -framework System  - 
lIDL-2
CMake Error: FATAL ERROR in cmake_link_flags macro
-- Configuring done

I've not much more time to debug the code now, but I'll look later  
into it. Maybe you have some ideas from the information I provided.

Regards,
Werner


>
>
> I have made a small test project (as of revision 8467) for the
> cmake_link_flags macro which can be obtained as follows:
>
> svn checkout
> https://plplot.svn.sourceforge.net/svnroot/plplot/branches/test_cmake/test_cmake_link_flags
> test_cmake_link_flags
>
> On Linux, here are the current results of running cmake on
> test_cmake_link_flags.
>
> [...]
> flags_in = -framework QuickTime -framework IOKit -framework Carbon
> -framework Cocoa -framework System  -lIDL-2
> flags_out =
> -framework;QuickTime;-framework;IOKit;-framework;Carbon;- 
> framework;Cocoa;-framework;System;/usr/lib/libIDL-2.so
> flags_in = -pthread   -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6
> -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6
> -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
> flags_out =
> -pthread;/usr/lib/libwx_gtk2u_xrc-2.6.so;/usr/lib/ 
> libwx_gtk2u_qa-2.6.so;/usr/lib/libwx_gtk2u_html-2.6.so;/usr/lib/ 
> libwx_gtk2u_adv-2.6.so;/usr/lib/libwx_gtk2u_core-2.6.so;/usr/lib/ 
> libwx_baseu_xml-2.6.so;/usr/lib/libwx_baseu_net-2.6.so;/usr/lib/ 
> libwx_baseu-2.6.so
> [...]
>
> For the first string I used your string with substitution of
> a valid library on Linux which had a name in similar style
> to the Mac's -lwx_macud-2.8 just in case the hyphen in the name was  
> causing
> problems, but that turned out to be no problem.  For the second  
> string I
> used the actual results of "wx-config --libs" on my Linux platform.
>
> For both strings, everything seems to be working fine on Linux so the
> problem you have found appears to be platform-dependent.  Thus,it is  
> going
> to take some debugging effort from you on your Mac OS X platform to  
> figure
> out the cause of the problem. I will help as much as I can from the
> sidelines.
>
> Once you can get to your Mac platform next week, I will be most  
> interested
> in whether the results returned from "wx-config --libs" differ any  
> from the
> wxWidgets_LIBRARIES variable returned from find_package(wxWidgets  
> QUIET).
> (The (1) and (2) results requested in my previous post).
> When doing the comparison of the two strings I would be especially  
> careful
> of any special characters that might be embedded in either string.
>
> I will also be interested in the results for the above simple test  
> using
> your "wx-config --libs" results string as input (and also the string  
> result
> from wxWidgets_LIBRARIES if that varies in any way from the other).
>
> N.B. you must edit the CMakeLists.txt file in the simple test to  
> change the
> strings you are testing.
>
> 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
> __________________________

--
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


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to