Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

how can i use occt with visual studio "2010"?

how can i use occt with visual studio "2010"?
merve 2011/07/12 12:17
Should i compile all the code in visual studio 2010?
This seems to me a discouraging activity.
I can see that there are libs and dlls for only vs 2005(vs 8)
I should compile the code from scratch but how?
Please tell me some advise.
Thanks
Forum supervisor 2011/07/12 13:26
Hello, merve.
OCCT install wizard contains libraries compiled with VS 2005.
So if you are going to work with OCCT in VS 2010 you have to build OCCT libraries from scratch.
Moreover you will have to upload, install or build 3rdparty products with VS 2010.
Please refer to "Building modules" and "Compilation of third-party products" chapters of OCCT Overview for more detailed information.
merve 2011/07/12 14:07
thanks
spam killer 2011/07/20 09:42
I am using the VC8 precompiled libraries with VS2010. I wrote a bat file like this:

---snip---
@ECHO OFF

SET SOLUTION=C:\DEVEL\MyProject1\MyProject1.sln

c:
cd C:\Apps\OpenCASCADE651\ros\
call C:\Apps\OpenCASCADE651\ros\env.bat vc8 win32 Release
start "VS2010" devenv.exe "%SOLUTION%"
---snap---

Is this the wrong approach? Seems to be OK for me, works fine.
merve 2011/07/20 09:54
i used not to know i can do something to work on 2010 except compiling the code in 2010.
also i do not know writing bat.
and now i am working on linux.
merve 2011/07/20 09:54
and thanks for reply
 
 
Latest news
  • OCCT Applications
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map