For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Failed with fatal error LNK1181at the mfc samples

Heinz R.'s picture

Hello,
I do my first steps in OpenCascade and I failed at simple MFC-Samples.

My situation:
- Win XP SP 3
- Visual Studio.NET (version 7.1), tested with own projects
- logged on as an administrator

I loaded the actual win32 version of OpenCascade 6.3.0 down and installed it as an administrator on an partition D:\ :

Then I opened in the Visual Studio the example:
D:\OpenCascade\Samples\Standard\01_Geometry\Geometry.sln

After starting the compililation I get the linker-failure:

fatal error LNK1181: Eingabedatei 'TKVrml.lib' kann nicht geöffnet werden

fatal error LNK1181: inputfile 'TKVrml.lib' can not be opened

I processed the D:\OpenCASCADE6.3.0\ros\env.bat.
I get the same failure.

What is going wrong in such a simple thing ?

Thanks for your help !

Heinz R.'s picture

Hello,

after a little bit of frusted playing I solved that problem:

I changed the name of the folder :

...\OpenCASCADE6.3.0\ros\win32\lib

to (!!!) :

...\OpenCASCADE6.3.0\ros\win32\libd

After that I loaded

...\OpenCASCADE6.3.0\samples\standard\mfc\all.sln

and rebuilded all projects new.

After that every single project works promperly.