Menu

#108 compiling problem (at linking) on Windows 7

release 7.0
open
nobody
None
5
2013-10-09
2013-10-09
Márton Kun
No

Hello,

Yesterday I checkouted the latest SVN code of the BLR-CAD, I would like to compile it. I followed the instructions of the README.Windows (used the CMake etc.), I got the .sln file so I tried to bulid the ALL_BUILD project in Visual Studio 2010 (x64), but it crashed with the following messages:
"SdaiCONFIG_CONTROL_DESIGN.obj : error LNK2001: unresolved external symbol "class SDAI_Application_instance NilSTEPentity" (?NilSTEPentity@@3VSDAI_Application_instance@@A)
SdaiCONFIG_CONTROL_DESIGN.init.obj : error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiBOOLEAN" (?t_sdaiBOOLEAN@@3PEBVTypeDescriptor@@EB)
SdaiCONFIG_CONTROL_DESIGN.init.obj : error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiLOGICAL" (?t_sdaiLOGICAL@@3PEBVTypeDescriptor@@EB)
SdaiCONFIG_CONTROL_DESIGN.init.obj : error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiNUMBER" (?t_sdaiNUMBER@@3PEBVTypeDescriptor@@EB)
SdaiCONFIG_CONTROL_DESIGN.init.obj : error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiINTEGER" (?t_sdaiINTEGER@@3PEBVTypeDescriptor@@EB)
SdaiCONFIG_CONTROL_DESIGN.init.obj : error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiSTRING" (?t_sdaiSTRING@@3PEBVTypeDescriptor@@EB)
SdaiCONFIG_CONTROL_DESIGN.init.obj : error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiREAL" (?t_sdaiREAL@@3PEBVTypeDescriptor@@EB)
D:\BRL-CAD_build\src\conv\step\g-step\Debug\list_elements.exe : fatal error LNK1120: 7 unresolved externals"

I checked these points, and found that the definitions of these variables existed in the stepcore project, as well as the ........\Debug\lib\stepcore.lib was added to the dependencies of the list_elements project (the appropriate strings above were also founded in the .lib file), and ........\Debug\bin\stepcore.dll also existed.
I don't know what is the problem, please help me.

Thanks,
Márton Kun

Discussion


Log in to post a comment.