<p>Hi, I wrote FindGTK2.</p>
<p>You might try removing the "gtk/" from line 350? Line 345 where the include path is searched for may also need to be modified...</p>
<p>I don't have a MAC so if anyone has any better ideas, help would be appreciated.<br>
</p>
<p><blockquote type="cite">On Dec 1, 2009 1:27 PM, "Aleksander Demko" <<a href="mailto:ademko@gmail.com">ademko@gmail.com</a>> wrote:<br><br>I can't seem to get FindGTK2 working under a Mac. I've installed the<br>
latest shipping library for mac from <a href="http://gtk.org" target="_blank">gtk.org</a>, and even with a<br>
CMakeLists.txt file that has nothing but "FIND_PACKAGE(GTK2)", I get<br>
the following errors:<br>
<br>
<br>
CMake Error at /Applications/CMake<br>
2.8-0.app/Contents/share/cmake-2.8/Modules/FindGTK2.cmake:93 (file):<br>
file Internal CMake error when trying to open file:<br>
/Library/Frameworks/Gtk.framework/Headers/gtk/gtk/gtkversion.h for reading.<br>
Call Stack (most recent call first):<br>
/Applications/CMake<br>
2.8-0.app/Contents/share/cmake-2.8/Modules/FindGTK2.cmake:467<br>
(_GTK2_GET_VERSION)<br>
CMakeLists.txt:2 (FIND_PACKAGE)<br>
<br>
<br>
-- Some or all of the gtk libraries were not found. (missing:<br>
GTK2_GTK_LIBRARY GTK2_GLIB_LIBRARY GTK2_GDK_LIBRARY)<br>
<br>
There seems to be one extra gtk/ in the above path. I'm new to mac<br>
development, but it seems there are some interesting path<br>
manipulations that are done when searching for header files in<br>
framework directories. I'm just not sure how to go about fixing this.<br>
<br>
Any ideas would be super.<br>
<br>
Thanks!<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></p>