MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0007917 | CMake | CMake | public | 2008-11-02 16:10 | 2011-05-02 14:46 | |||||
| Reporter | Hartmut Seichter | |||||||||
| Assigned To | Miguel Figueroa | |||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||
| Status | closed | Resolution | fixed | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | CMake-2-6 | |||||||||
| Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | |||||||
| Summary | 0007917: CMake 2.6.2 generating Xcode project with wxWidgets depency does not work | |||||||||
| Description | Attached a very basic (wxWidget Minimal) example which shows the following behaviour on CMake 2.6.2: - using the Xcode generator and target set to i386;ppc (aka Universal) the project can't be linked: the linker bails out with the error in 1) - using the Makefile generator and same settings (target set to Universal "i386;ppc") all works fine 1) Error when using Xcode cd /Users/seichter/Development/wxTemplate/build /Developer/usr/bin/g++-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/seichter/Development/wxTemplate/build/Debug -L/usr/local/lib/Debug -L/Developer/SDKs/MacOSX10.5.sdk/usr/local/lib -F/Users/seichter/Development/wxTemplate/build/Debug -filelist /Users/seichter/Development/wxTemplate/build/wxTemplate.build/Debug/wxTemplate.build/Objects-normal/i386/wxTemplate.LinkFileList -mmacosx-version-min=10.5 -Wl,-search_paths_first -headerpad_max_install_names -L/usr/local/lib -arch ppc -arch i386 -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL -lwx_base_carbonu-2.8 -lwx_macu_core-2.8 -lwx_macu_adv-2.8 -lwx_macu_gl-2.8 -o /Users/seichter/Development/wxTemplate/build/wxTemplate.build/Debug/wxTemplate.build/Objects-normal/i386/wxTemplate ld warning: in /Users/seichter/Development/wxTemplate/build/wxTemplate.build/Debug/wxTemplate.build/Objects-normal/i386/Main.o, file is not of required architecture Undefined symbols for architecture ppc: "_main", referenced from: start in crt1.10.5.o ld: symbol(s) not found for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/hM/hM6dJIrUFPyrPc0lx9wjmU+++TI/-Tmp-//ccpnLsSz.out (No such file or directory) "_main", referenced from: start in crt1.10.5.o ld: symbol(s) not found for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/hM/hM6dJIrUFPyrPc0lx9wjmU+++TI/-Tmp-//ccpnLsSz.out (No such file or directory) cd /Users/seichter/Development/wxTemplate/build /Developer/usr/bin/g++-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/seichter/Development/wxTemplate/build/Debug -L/usr/local/lib/Debug -L/Developer/SDKs/MacOSX10.5.sdk/usr/local/lib -F/Users/seichter/Development/wxTemplate/build/Debug -filelist /Users/seichter/Development/wxTemplate/build/wxTemplate.build/Debug/wxTemplate.build/Objects-normal/ppc/wxTemplate.LinkFileList -mmacosx-version-min=10.5 -Wl,-search_paths_first -headerpad_max_install_names -L/usr/local/lib -arch ppc -arch i386 -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL -lwx_base_carbonu-2.8 -lwx_macu_core-2.8 -lwx_macu_adv-2.8 -lwx_macu_gl-2.8 -o /Users/seichter/Development/wxTemplate/build/wxTemplate.build/Debug/wxTemplate.build/Objects-normal/ppc/wxTemplate ld warning: in /Users/seichter/Development/wxTemplate/build/wxTemplate.build/Debug/wxTemplate.build/Objects-normal/ppc/Main.o, file is not of required architecture Undefined symbols for architecture i386: "_main", referenced from: start in crt1.10.5.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/hM/hM6dJIrUFPyrPc0lx9wjmU+++TI/-Tmp-//cc9BqhwW.out (No such file or directory) "_main", referenced from: start in crt1.10.5.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/hM/hM6dJIrUFPyrPc0lx9wjmU+++TI/-Tmp-//cc9BqhwW.out (No such file or directory) Build failed (2 errors) | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | - Xcode Version 3.1.1 - CMake 2.6.2 wxWidgets 2.8.9 compiled as unicode, cocoa, shared and installed in /usr/local/* AFAIR this issue didn't exist with CMake 2.6.1 | |||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | https://public.kitware.com/Bug/file/1820/wxTemplate.zip https://public.kitware.com/Bug/file/3646/wxTemplate_updated.zip | |||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2008-11-02 16:10 | Hartmut Seichter | New Issue | ||||||||
| 2008-11-02 16:10 | Hartmut Seichter | File Added: wxTemplate.zip | ||||||||
| 2008-12-29 06:17 | Hartmut Seichter | Note Added: 0014448 | ||||||||
| 2009-01-02 23:46 | Miguel Figueroa | Status | new => assigned | |||||||
| 2009-01-02 23:46 | Miguel Figueroa | Assigned To | => Miguel Figueroa | |||||||
| 2009-01-02 23:53 | Miguel Figueroa | Relationship added | duplicate of 0008272 | |||||||
| 2009-01-03 00:06 | Miguel Figueroa | Note Added: 0014463 | ||||||||
| 2009-01-04 02:42 | Hartmut Seichter | Note Added: 0014464 | ||||||||
| 2009-01-04 04:57 | Miguel Figueroa | Note Added: 0014465 | ||||||||
| 2009-01-04 04:58 | Miguel Figueroa | Assigned To | Miguel Figueroa => | |||||||
| 2009-01-06 05:06 | Hartmut Seichter | Note Added: 0014468 | ||||||||
| 2009-01-06 13:23 | Miguel Figueroa | Note Added: 0014469 | ||||||||
| 2009-01-06 13:23 | Miguel Figueroa | Assigned To | => Miguel Figueroa | |||||||
| 2009-04-07 10:16 | Miguel Figueroa | Note Added: 0015951 | ||||||||
| 2009-04-07 10:16 | Miguel Figueroa | Status | assigned => feedback | |||||||
| 2009-04-20 01:20 | Hartmut Seichter | Note Added: 0016074 | ||||||||
| 2009-05-14 00:02 | Hartmut Seichter | Note Edited: 0016074 | ||||||||
| 2011-01-18 11:03 | David Cole | Note Added: 0024856 | ||||||||
| 2011-01-20 11:51 | Hartmut Seichter | Note Added: 0024960 | ||||||||
| 2011-01-20 11:51 | Hartmut Seichter | Status | feedback => assigned | |||||||
| 2011-01-20 12:06 | Hartmut Seichter | File Added: wxTemplate_updated.zip | ||||||||
| 2011-01-20 16:27 | Hartmut Seichter | Note Deleted: 0024960 | ||||||||
| 2011-01-20 16:30 | Hartmut Seichter | Note Added: 0024971 | ||||||||
| 2011-01-20 16:32 | David Cole | Note Added: 0024973 | ||||||||
| 2011-01-20 16:32 | David Cole | Status | assigned => resolved | |||||||
| 2011-01-20 16:32 | David Cole | Fixed in Version | => CMake 2.8.4 | |||||||
| 2011-01-20 16:32 | David Cole | Resolution | open => fixed | |||||||
| 2011-01-20 16:32 | David Cole | Target Version | => CMake 2.8.4 | |||||||
| 2011-01-20 16:32 | David Cole | Additional Information Updated | bug_revision_view_page.php?rev_id=145#r145 | |||||||
| 2011-05-02 14:46 | David Cole | Note Added: 0026371 | ||||||||
| 2011-05-02 14:46 | David Cole | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||