Re: [wxVTK] Problems on Mac OS 10.5 and wxWidgets 2.8.7
Brought to you by:
malat
From: Mathieu M. <mat...@gm...> - 2008-08-10 22:20:46
|
On Sat, Aug 9, 2008 at 3:46 PM, Doug McCorkle <mc...@ia...> wrote: >> 3. You are using Cocoa apparently, did you build VTK with cocoa on ? >> > Yes. > > Also, currently we are just compiling in the wxVTK classes into our app. I > tried to build wxVTK on my make through CMake 2.6 but get this error: > > CMake Error at CMakeLists.txt:114 (INSTALL): > install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable > target "wxSplitSample". install targets are not really needed. If the exe builds, I just wanted you to toy with them, to check it is working ok on your system. Anyway this is fixed in CVS HEAD: $ cvs ci -m"ENH: cmake 2.6 wants a bundle dest now" ~/Projects/wxVTK Checking in CMakeLists.txt; /cvsroot/wxvtk/wxVTK/CMakeLists.txt,v <-- CMakeLists.txt new revision: 1.29; previous revision: 1.28 done Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/CMakeLists.txt,v retrieving revision 1.28 diff -u -r1.28 CMakeLists.txt --- CMakeLists.txt 1 Jun 2008 21:12:47 -0000 1.28 +++ CMakeLists.txt 10 Aug 2008 22:18:14 -0000 @@ -114,6 +114,7 @@ INSTALL(TARGETS wxSplitSample wxSample wxImagePlaneWidget wxImageViewer wxMedical3 RUNTIME DESTINATION bin + BUNDLE DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib/static ) -- Mathieu |