#5 can't link hello world sample

closed-accepted
nobody
None
5
2014-07-30
2006-05-03
Anonymous
No

I've made an empty proj under Visual Studio 2005 and
add everything helloworld.cpp file need.
Compilation is good, but link made me some unresolved
external. Here is the linker messages :

Error 2 error LNK2019: unresolved external symbol
"public: __thiscall IFXString::IFXString(wchar_t const
*)" (??0IFXString@@QAE@PB_W@Z) referenced in function
"int __cdecl CreateScene(void)"
(?CreateScene@@YAHXZ) HelloWorld.obj

Error 3 error LNK2019: unresolved external symbol
"public: int __thiscall IFXString::Assign(wchar_t const
*)" (?Assign@IFXString@@QAEHPB_W@Z) referenced in
function "public: class IFXString & __thiscall
IFXString::operator=(wchar_t const *)"
(??4IFXString@@QAEAAV0@PB_W@Z) HelloWorld.obj

Error 4 error LNK2019: unresolved external symbol
@IFXDebugAssertBox@24 referenced in function "public:
class IFXString * & __thiscall IFXArray<class IFXString
*>::GetElement(unsigned int)"
(?GetElement@?$IFXArray@PAVIFXString@@@@QAEAAPAVIFXString@@I@Z)
HelloWorld.obj

Best regards
Stephane

Discussion

  • Yossem
    Yossem
    2006-05-04

    Logged In: YES
    user_id=1515623

    I found the answear.
    In the project properties :
    Just have to go to :
    Configuration properties / C/C++ / Language and set Treat
    wchar_t as built in type option to : No (/Zc:wchar_t-)

     
  • Maxim Kolupaev
    Maxim Kolupaev
    2006-05-15

    • status: open --> closed-accepted