I am trying to compile 04_AISBasic on Microsoft Visual C++ 7.1 (.NET 2003) and it will not work.
The first problem I had was that nearly 50 symbols were missing. Since OCC is by far the biggest application I've ever seen, I had absolutely no idea which libraries to include. So I loaded all the libraries into a hex editor and used to the "search" function to look through the symbol tables to find the missing ones (I don't have a fancy tool for reading export tables. Can someone recommend one?)
However, there are 3 symbols still missing:
1.) unresolved external symbol "__declspec(dllimport) public: virtual __thiscall OCC_3dDoc::~OCC_3dDoc(void)" (__imp_??1OCC_3dDoc@@UAE@XZ) referenced in function __unwindfunclet$??0CAISBasicDoc@@QAE@XZ$0
2.) unresolved external symbol "__declspec(dllimport) public: __thiscall OCC_3dDoc::OCC_3dDoc(void)" (__imp_??0OCC_3dDoc@@QAE@XZ) referenced in function "public: __thiscall CAISBasicDoc::CAISBasicDoc(void)" (??0CAISBasicDoc@@QAE@XZ)
3.) unresolved external symbol "__declspec(dllimport) public: static struct CRuntimeClass * __stdcall OCC_3dChildFrame::GetThisClass(void)" (__imp_?GetThisClass@OCC_3dChildFrame@@SGPAUCRuntimeClass@@XZ) referenced in function "public: virtual int __thiscall CAISBasicApp::InitInstance(void)" (?InitInstance@CAISBasicApp@@UAEHXZ)
Now interestingly, most of symbols in the OCC_3dDoc namespace are found in mfcsample.lib and including it made most of the OCC_3dDo errors go away! Except for these three. So I guess they're not in there? I've basically checked every single library file there is and it won't satisfy the linker.