View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002043 | CMake | CMake | public | 2005-07-13 13:42 | 2005-07-14 12:22 | ||||
Reporter | Luca Picello | ||||||||
Assigned To | Ken Martin | ||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002043: Borland compiler option | ||||||||
Description | First (and last) try of cmake 2.2.0 beta with GDCM using Borland C++ Builder 6. It seems it is missing -tWC option for generation of command line applications. Error: unresolved external 'winmain' referenced from c:\borland\bcc55\lib\c0w32.obj winmain() exists only for windows GUI applications. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0002648) Mathieu Malaterre (developer) 2005-07-13 17:40 |
Bill, I could confirm the bug with bcc 5.5.1 (Luca is using BCB6). Here is output: $ make VERBOSE=1 MAKE Version 5.2 Copyright (c) 1987, 2000 Borland C:\cygwin\home\mathieu\Software\cmake-2.2-beta\bin\cmake.exe -H..\gdcm -B. --check-build-system Makefile.cmake 0 make -f Makefile2 -l -o all MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland MAKE Version 5.2 Copyright (c) 1987, 2000 Borland Linking CXX executable bin\Anonymize.exe bcc32 @MAKE0001.@@@ Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external 'WinMain' referenced from C:\BORLAND\BCC55\LIB\C0W32.OBJ ** error 1 ** deleting bin\Anonymize.exe ** error 1 ** deleting Example\Anonymize.dir\all ** error 1 ** deleting all And CMakeLists.txt is: ... SET(EXAMPLE_SOURCES ... Anonymize # for full gdcm readable files FlatHashTablePrint ... ) FOREACH(name ${EXAMPLE_SOURCES}) ADD_EXECUTABLE(${name} ${name}.cxx) TARGET_LINK_LIBRARIES(${name} gdcm) INSTALL_TARGETS(/bin/ ${name}) ENDFOREACH(name) |
(0002649) Mathieu Malaterre (developer) 2005-07-13 17:41 |
Nightly of gdcm with cmake 2.0.x seems fine: http://public.kitware.com/GDCM/Testing/Sites/CHIRON.kitwarein/GDCM-Win32-bcc5.5/20050713-0100-Nightly/BuildWarning.html [^] Also cannot reproduce the bug with free command line from microsoft. |
(0002650) Bill Hoffman (manager) 2005-07-13 17:46 |
Ken, this looks like a problem with the new makefile generator not getting the correct flags. |
(0002655) Bill Hoffman (manager) 2005-07-14 12:22 |
Fixed in cvs. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |