DiscussionsIssue archiveOther usage issues

Archived discussion

C# sample app Errors

Other usage issuesFri, 06/28/2013 - 15:072 replies

Browse this forum
QuestionAuthor

Hi,
I am trying to run a Csharp sample "IE" from OpenCASCADE6.6.0 in VS2012 but I have errors like,
OCC, shell - These projects are out of date,
After building them I get:
Error 1 error C1083: Cannot open include file: 'Standard_Boolean.hxx': No such file or directory c:\opencascade6.6.0\ros\samples\csharp\occ\stdafx.h 16 1 OCC
Error 2 error C1083: Cannot open include file: 'Standard_Boolean.hxx': No such file or directory c:\opencascade6.6.0\ros\samples\csharp\occ\stdafx.h 16 1 shell
Error 3 Metadata file 'C:\OpenCASCADE6.6.0\ros\samples\CSharp\OCC\Debug\OCC.dll' could not be found C:\OpenCASCADE6.6.0\ros\samples\CSharp\IE\CSC IE
Error 4 Metadata file 'C:\OpenCASCADE6.6.0\ros\samples\CSharp\shell\Debug\shell.dll' could not be found C:\OpenCASCADE6.6.0\ros\samples\CSharp\IE\CSC IE

Warning 5 The referenced project 'shell' is targeting a higher framework version (4.0) than this project’s current target framework version (2.0). This may lead to build failures if types from assemblies outside this project’s target framework are used by any project in the dependency chain. IE

Warning 6 The referenced project 'OCC' is targeting a higher framework version (4.0) than this project’s current target framework version (2.0). This may lead to build failures if types from assemblies outside this project’s target framework are used by any project in the dependency chain. IE

Any ideas?
thank you in advance

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Dear Jim,
Unfortunately the CSharp sample of OpenCASCADE6.6.0 contains IE.sln for VC9 only.
Please see the corresponding bug description in Mantis BugTracker (http://tracker.dev.opencascade.org/view.php?id=24052) for details.
So, you can use coming soon fix from the branch CR24052 of OCCT GIT available via the Collaborative portal - http://dev.opencascade.org/index.php?q=home/get_involved.
Best regards

02Commenter-2

I tried the same in VS2010 and getting error "Could not load file or assembly'shell, Version 0.0.0.0...". I followed this problem to another question in the forum. Here is the link
http://www.opencascade.org/org/forum/thread_12788/?forum=3

I have build OCCT6.6 using VS2010, and I don't have licence of VC9. Please suggest me how I can solve this error.

-durgesh