certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-dev] could not compile .cc error


From: Cindy Yang
Subject: [certi-dev] could not compile .cc error
Date: Wed, 25 Apr 2012 09:05:07 +0800

Hello
When I compile CERTI-3.4.0-source with VC6, the error of "error
LNK2001: unresolved external symbol _mainCRTStartup
'" occurs. It seems that the *.ccfiles in the source are not
recognized as C++ files and then not compiled. I do install CMake,
flex, bison and other tools as it says in CERTI installation
documentation. I do not know which compiler is responsible for it, or
how to configure it.
Can anyone help me? Thanks a lot.
The error messages are:


--------------------Configuration: HLA - Win32 Debug--------------------
Building Custom Rule C:/pro/CERTI-3.4.0-Source/libHLA/CMakeLists.txt
-- No build type selected, default to Debug
-- Configuring CERTI version 3.4.0
-- Some X11 header were not found: Billard Test Application will not have GUI.
-- Looking for lex...
-- Looking for lex... - found lex is C:/unix/usr/local/wbin/flex.exe
-- Looking for yacc...
-- Looking for yacc... - found yacc is C:/unix/usr/local/wbin/bison.exe
-- libRTI variant: HLA 1.3 NG
-- libRTI variant: HLA 1516
-- RPM tools not available on Win32 systems
-- *** CERTI for WIN32 has been successfully configured ********
-- Configuring done
-- Generating done
-- Build files have been written to: C:/pro
Compiling...
sha1.c
C:\pro\CERTI-3.4.0-Source\libHLA\sha1.c(135) : warning C4244: '=' :
conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible
loss of data
C:\pro\CERTI-3.4.0-Source\libHLA\sha1.c(377) : warning C4244: '=' :
conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible
loss of data
C:\pro\CERTI-3.4.0-Source\libHLA\sha1.c(378) : warning C4244: '=' :
conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible
loss of data
C:\pro\CERTI-3.4.0-Source\libHLA\sha1.c(379) : warning C4244: '=' :
conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible
loss of data
C:\pro\CERTI-3.4.0-Source\libHLA\sha1.c(380) : warning C4244: '=' :
conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible
loss of data
C:\pro\CERTI-3.4.0-Source\libHLA\sha1.c(381) : warning C4244: '=' :
conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible
loss of data
C:\pro\CERTI-3.4.0-Source\libHLA\sha1.c(382) : warning C4244: '=' :
conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible
loss of data
C:\pro\CERTI-3.4.0-Source\libHLA\sha1.c(383) : warning C4244: '=' :
conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible
loss of data
C:\pro\CERTI-3.4.0-Source\libHLA\sha1.c(384) : warning C4244: '=' :
conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible
loss of data
Linking...
   Creating library C:\pro\Debug/HLAd.lib and object C:\pro\Debug/HLAd.exp
--------------------Configuration: MessageBufferTests - Win32
Debug--------------------
Linking...
LINK : warning LNK4001: no object files specified; libraries used
LINK : error LNK2001: unresolved external symbol _mainCRTStartup
C:\pro\Debug/MessageBufferTests.exe : fatal error LNK1120: 1
unresolved externals
Error executing link.exe.

ALL_BUILD - 2 error(s), 10 warning(s)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]