linker error occ 5.1

hi,

when recompiling project TKernel I got following linker error.

unresolved external symbol "void * * theFreeList"
unresolved external symbol "int theFreeListSize"
unresolved external symbol "unsigned int MMgt_Opt"

these errors (and maybe a few others) occurs more than 1000 times.

The project was compiled with VS.Net 2003 with the help of improveCascade.
There were no other compilation errors.

Does anyone know what to do?

thanks

m-aronsson's picture

Hi !

Don't trust the project files included with OCC, most of them does not work because they are not tested, you probably need to included some other library to the linker dependencies to get it to resolve the last external refrerences, don't know which though.

Mikael

Forum supervisor's picture

Hello Josef,

as you might know, Open CASCADE 5.1 is not certified to be built in VS .Net environment (see our Technical Requirements available at http://www.opencascade.com/products/occ/getocc/require/),
therefore you may encounter some problems with other configurations.

However we underline that since version 5.1 all building scripts (including MS VS projects and GNU auto* files) were significantly industrialized and should be as much reliable as our native WOK environment.

Best regards,
Forum Supervisor

istewurscht's picture

hi,

will upcoming versions of OCC support VS.Net. In my opinion this would make sense, because it would be easier to integrate OCC in .NET and the VC7 (and 7.1) compiler provides better optimization than VC6.

thanks

Forum supervisor's picture

Hello Josef,

yes, we have plans to start supporting MS VS .Net development environment in one of the next versions of Open CASCADE. By the way, you may still use the libraries from the distribution if there is no need to recompile them from source.

Best regards,
Forum Supervisor

chamzu's picture

But there are same errors in OCC5.2.2. ^_^