Problems with Mininal Setup

Hello,

I'm still strugglng with the project setup in VStudio 7.1. What I'm currently trying to do:

1. Create a new project for a command line application
2. Set the preprocessor directive WNT
3. Add $(CASROOT)\inc and $(CASROOT)\lib to headers and library path

Compile works

4. Add the line "#include " to the main file
5. Compile and I get

OCCTest error LNK2001: Nichtaufgelöstes externes Symbol "public: virtual void __thiscall Standard_Storable::ShallowDump(class std::basic_ostream > &)const " (?ShallowDump@Standard_Storable@@UBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)

OCCTest error LNK2001: Nichtaufgelöstes externes Symbol "public: virtual int __thiscall Standard_Storable::HashCode(int)const " (?HashCode@Standard_Storable@@UBEHH@Z)
...

Pretty desparate, Carsten

Patrik Mueller's picture

Hi Carsten,

have you also added the needed libs to your project?

Greets,

Patrik

Carsten Zerbst's picture

Ooops,

thanks a lot, after several years off Java simple things have been vanished
from memory.

Bye, Carsten