exp2cxx

47 views
Skip to first unread message

liu

unread,
Dec 5, 2016, 9:32:58 AM12/5/16
to STEPcode - Developers Mailing List
Hi all.
    I use exp2cxx and example.stp(in the folder of test/misc) to generate the cxx files and it works, then I want to use these files to generate library for reading p21 files. Howerver, I got link errors like:


Error 53 error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiINTEGER" (?t_sdaiINTEGER@@3PBVTypeDescriptor@@B) F:\work\my\STEP\stepcode-v8\my\test\test\test\SdaiEXAMPLE_SCHEMA_unity_entities.obj
Error 50 error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiREAL" (?t_sdaiREAL@@3PBVTypeDescriptor@@B) F:\work\my\STEP\stepcode-v8\my\test\test\test\SdaiEXAMPLE_SCHEMA.init.obj
Error 51 error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiREAL" (?t_sdaiREAL@@3PBVTypeDescriptor@@B) F:\work\my\STEP\stepcode-v8\my\test\test\test\SdaiEXAMPLE_SCHEMA_unity_entities.obj
Error 52 error LNK2001: unresolved external symbol "class TypeDescriptor const * const t_sdaiSTRING" (?t_sdaiSTRING@@3PBVTypeDescriptor@@B) F:\work\my\STEP\stepcode-v8\my\test\test\test\SdaiEXAMPLE_SCHEMA.init.obj


I have include the header files and the STEPCode libraries and I use v0.8 and vs2012.
Thank you for your help.

liu

unread,
Dec 6, 2016, 12:27:15 AM12/6/16
to STEPcode - Developers Mailing List
The problem is that I don't add the preprocessor.
Reply all
Reply to author
Forward
0 new messages