Need help with System environment variables - OCC 6.5.3

Hi,

first of all i want to thank you guys for your great help and posts in this forum. I was able to solve a lot of problems on my own with help of some nice posts.

But now i want to write my one occ application with Visual Studio 2008 running on Win 7 32 Bit Professional Edition. To avoid errors caused by my own i want to debug/launch the qt-samples included in the occ-package.

If i start VS 2008 using the msvc.bat located at ./samples/qt/tutorial/ everything works fine and i can start the sample with in debug or release mode and there are no errors.

But in the future i don't want - better lets say - i don't know how to use the msvc.bat for my own applications. So i decide to launch the VC++ Project file without the msvc.bat. There was no compile or linker error but when the application starts it says "The program can't start because TKernel.dll is missing from your computer. Try reinstalling the program to fix this problem".

For sure i started to search the forum and google to find solutions for this problem. Most of them are like this "You have an error with your System environment variables". In the OCC-Doc i found these hints:

"On Windows

You can define the environment variables with env.bat script located in the OpenCACADE/ros folder.

The additional environment settings necessary for compiling OCCT libraries and samples by Microsoft Visual Studio can be set using script env_build.bat located in the same folder."

First i have to say, that there is no env_build.bat located in ./ros/. Maybe this hint is for old versions and not for 6.5.3. I launched the env.bat files for many times. Sometimes with admin privileges, sometimes without. Sometimes with the windows command prompt or with the one of Visual Studio. But all have the same result: Nothing changed.
There are no variables set by this bat. I checked this with Computer-->Properties-->Advanced system settings-->Environment variables and with using the "set"-command in command prompt.

So i think i have to set all variables manually? Can somebody tell me which variables i have to set? I looked into the env.bat but i don't understand all of the concatenation of variables and commands in it. It would be nice if someone can post his occ-variables as an output of "set" in command prompt.

Thanks in advance!

Best regards,

Hans

Hans's picture

It's a pity that nobody is able to help me.

It seems to be that i was able to set the environment. No "missing dll" error occurs. But there was a new problem "Aspect_GraphicDeviceDefinitionError at memory location [...]". Once again it seems to be a system environment problem, but i don't know how to fix it...

But in the meantime i made a workaround for me. Here is the solution if someone has the same problem with the system environment variables, too:

Copy the mscv.bat located in the sample folders to your own project. And change the relative path in it to absolute ones. Replace the "Tutorial.sln" with the *.sln of your project. In my case it is something like this:

call C:\OpenCASCADE6.5.3\ros\env.bat %1 %2 %3
call %~dp0env.bat
if not ["%CASDEB%"] == [""] call C:\OpenCASCADE6.5.3\ros\msvc.bat %VCVER% win%ARCH% %CASDEB% MY_OWN_PROJECT.sln
if ["%CASDEB%"] == [""] call C:\OpenCASCADE6.5.3\ros\msvc.bat %VCVER% win%ARCH% "" MY_OWN_PROJECT.sln

VS 2008 gets started by the mscv.bat and every of my projects compile and run without problems.

Maybe it is helpful for other guys.

Best regads,

Hans

James D.'s picture

I have the same problem.

At first I cannot find this here:

set CASROOT=V:\OpenCASCADE\ros

set PATH=%CASROOT%\win32\vc8\bin;%CASROOT%\..\3rdparty\win32\tcltk\bin; ;%CASROOT%\..\3rdparty\win32\tbb\bin;%CASROOT%\..\3rdparty\win32\gl2ps\bin;

%CASROOT%\..\3rdparty\win32\ftgl\bin;%CASROOT%\..\3rdparty\win32\ftgl\freeimage;%PATH%

And I read in the documentation this here: "... using script env_build.bat located in the same folder...."
But I can't find the env_build.bat

Hans's picture

env_build.bat is not a part of the occ-packages. It seems to be a relic of the past.

Maybe my "workaround" could be an option for you. You should give it a try.

Otherwise try to copy all the *.dll files of "CASROOT\ros\win32\vc9\bin\ and of the 3rd-party tools into the debug/release folder of your VC-Project.

Forum supervisor's picture

Dear Hans,
Thanks for your message.
Indeed 'env_build.bat' was removed from OCCT public version starting from OCCT6.5.3.
It seems the specified mismatching is a documentation bug. I suggest you to register the issue in Mantis Bugtracker which is available via the Collaborative portal - http://dev.opencascade.org/index.php?q=home/get_involved.
Regards

hero's picture

Dear Hans
what do you mean by copy msvc.bat to your project??? I mean which project???
do you mean I should Edit ( msvc.bat) ???

Copy the mscv.bat located in the sample folders to your own project. And change the relative path in it to absolute ones. Replace the "Tutorial.sln" with the *.sln of your project. In my case it is something like this:

call C:\OpenCASCADE6.5.3\ros\env.bat %1 %2 %3
call %~dp0env.bat
if not ["%CASDEB%"] == [""] call C:\OpenCASCADE6.5.3\ros\msvc.bat %VCVER% win%ARCH% %CASDEB% MY_OWN_PROJECT.sln
if ["%CASDEB%"] == [""] call C:\OpenCASCADE6.5.3\ros\msvc.bat %VCVER% win%ARCH% "" MY_OWN_PROJECT.sln

Hans's picture

I mean: Copy the mscv.bat file intto your Visual Studio Project-Folder. After that edit the content of it like i described.

shmsh's picture

Dear Hans...
Hi ... I have a project on OCC and I'm new , I mean I don't know much of it ,,,,
I have installed OCC on my system ( win 64),,
but now I don't know what to do do with system variables to make it work ,,,,
and I also istalled VC9 on my PC.
any help would be appreciated .......

Regards

shmsh's picture

Dear Hans...
Hi ... I have a project on OCC 6.5.3 and I'm new , I mean I don't know much of it ,,,,
I have installed OCC on my system ( win 64),,
but now I don't know what to do do with system variables to make it work ,,,,
and I also istalled VC9 on my PC.
any help would be appreciated .......

Regards

Hans's picture

What do you mean with "make it work"? What doesn't work? Need some more input :)

shmsh's picture

Dear Hans ...
I mean that I need to start working with OCC along with VC9
after I installed OCC and VC9 ; what is the next step that I'm suppose to do ? any guidance how to set these system Variables and configure the system with OCCT libraries and binary files ?????
Thanks for reply

Regards

shmsh's picture

Dear ;
I have gone through following
http://www.opencascade.org/org/gettingstarted/install/envvar/

but the thing is that how to get the correct settings ???
and how to check that the software is runing correct???
in short form ,,, what is the procedure of doing that ???

Regards

shmsh's picture

Dear Hans ,
sorry for questioning much , but what changes I'm suppose to do in env.bat script and other scripts too??

Thanks

Hans's picture

If you need OCC fpr win64 i can't help you. I use it for win32 on a win64 system and it works fine.

For setting up your Visual Studio:

try post:
#2
or
#4
or try this:

Project Property:
C/C++ --> General --> Additional Include Directories: add "\OCC-DIR\ros\inc"

Linker --> General --> Additional Library Directories: add "\OCC-DIR\ros\win32\vc9\lib"
Linker --> Input --> Additional Dependencies:
TKernel.lib
PTKernel.lib
TKMath.lib
TKService.lib
TKV3d.lib
TKV2d.lib
TKBRep.lib
TKIGES.lib
TKSTL.lib
TKVRML.lib
TKSTEP.lib
TKSTEPAttr.lib
TKSTEP209.lib
TKSTEPBase.lib
TKShapeSchema.lib
TKGeomBase.lib
TKGeomAlgo.lib
TKG3d.lib
TKG2d.lib
TKXSBase.lib
TKPShape.lib
TKShHealing.lib
TKHLR.lib
TKTopAlgo.lib
TKMesh.lib
TKPrim.lib
TKCDF.lib
TKBool.lib

For sure you will not need all of these libs. After your projects runs you can remove all libs you don't need.

If you want to use a win64 compilation you need to build it on your own --> search the forum for a solution :)

Hope it helps :)

shmsh's picture

Dear Hans ....
thanks alot for your help ......
appreciated response dear

Regards

shmsh's picture

Dear Hans...
kindly if I can have a contact with you ...
Phone# or skype account ?
that would be appreciated ..

Regards Dear

Hans's picture

It should be better to discuss your problems in this thread for two reasons:

1. I don't want to share my private contacts like skype
2. It could be useful for other people as well

So, whats your problem? Pleas post some error-messages otherwise i won't be able to help you!

shmsh's picture

Dear Hans
any how thanks a lot for your help
dear Hans .... I have configured my system with OCC and I created my own project , then I created the 3D_Viewer ,,,,,,after that on compilation every thing works fine and Zero error result from compilation

but on debug command i was getting missing dll error,,, then as you suggested to copy them in the project folder and then compile and run my error was removed but I got a new error "Fatal error during graphic initialization"
people in forum suggested to set the "CSF_GraphicShr" system variable properly and I had already done that like this ::
set "CSF_GraphicShr=F:\OpenCASCADE6.5.1\ros\win32\vc8\bin\TKOpenGl.dll"
but again the same error appeared
another suggestion was provided in this forum http://www.opencascade.org/org/forum/thread_21927/?forum=3
which tells to do the following
/////////////////////////////////////////////////////////////////////////////////////////
Change "d:\OpenCASCADE6.5.1\ros\src\OSD\OSD_SharedLibrary.cxx"

Standard_Boolean OSD_SharedLibrary :: DlOpen ( const OSD_LoadMode Mode ) {

// ( myHandle = ( HINSTANCE )LoadLibraryEx ( myName, NULL, LOAD_WITH_ALTERED_SEARCH_PATH) ) == NULL
// replaced by
( myHandle = ( HINSTANCE ) ::LoadLibrary (myName) ) == NULL
Recompile OCC entirely and it will probably work
///////////////////////////////////////////////////////////////////////////////////////
i did this too and then I recompiled OCC but no gain....
the same error appears there on debugging
so what is wrong dear ,,,, any help would be greatly appreciated

by the way this is the output that I get on running my program:
///////////////////////////////////////////////////////////////////////////////////////
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\CAECAD.exe', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\ntdll.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\kernel32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\KernelBase.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKernel.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\advapi32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\msvcrt.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\sechost.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\gdi32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\user32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\lpk.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\usp10.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\ws2_32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\nsi.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\winspool.drv', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_9cf9ca3febeb39d7\msvcp80d.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_9cf9ca3febeb39d7\msvcr80d.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\tbbmalloc_debug.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKMath.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKService.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\FreeImage.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\FreeImagePlus.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKV3d.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKBRep.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKGeomBase.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKG2d.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKG3d.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKV2d.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKGeomAlgo.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKHLR.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKTopAlgo.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKMesh.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\tbb_debug.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\comdlg32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\shlwapi.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_fa62ad231704eab7\comctl32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\shell32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.vc80.debugmfc_1fc8b3b9a1e18e3b_8.0.50727.6195_none_a1d9cc31e8bf690a\mfc80ud.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\oleaut32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\ole32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\imm32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\msctf.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.vc80.mfcloc_1fc8b3b9a1e18e3b_8.0.50727.6195_none_bc20f59b0bdd1acd\mfc80ENU.dll', Binary was not built with debug information.
'CAECAD.exe': Loaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKOpenGl.dll', Symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\opengl32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\glu32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\ddraw.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\dciman32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\setupapi.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\cfgmgr32.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\devobj.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\dwmapi.dll', No symbols loaded.
'CAECAD.exe': Unloaded 'C:\Users\55555555555555555555\Documents\Visual Studio 2005\Projects\CAECAD\x64\Debug\TKOpenGl.dll'
'CAECAD.exe': Unloaded 'C:\Windows\System32\opengl32.dll'
'CAECAD.exe': Unloaded 'C:\Windows\System32\ddraw.dll'
'CAECAD.exe': Unloaded 'C:\Windows\System32\dwmapi.dll'
'CAECAD.exe': Unloaded 'C:\Windows\System32\setupapi.dll'
'CAECAD.exe': Unloaded 'C:\Windows\System32\devobj.dll'
'CAECAD.exe': Unloaded 'C:\Windows\System32\cfgmgr32.dll'
'CAECAD.exe': Unloaded 'C:\Windows\System32\dciman32.dll'
'CAECAD.exe': Unloaded 'C:\Windows\System32\glu32.dll'
First-chance exception at 0x000007fefd2dac3d in CAECAD.exe: Microsoft C++ exception: Aspect_GraphicDeviceDefinitionError at memory location 0x0012fb30..
'CAECAD.exe': Loaded 'C:\Windows\System32\uxtheme.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\dwmapi.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\cryptbase.dll', No symbols loaded.
'CAECAD.exe': Loaded 'C:\Windows\System32\clbcatq.dll', No symbols loaded.
Detected memory leaks!
Dumping objects ->
{324} normal block at 0x0000000004B9CBF0, 47 bytes long.
Data: < The specifie> 02 00 00 00 54 68 65 20 73 70 65 63 69 66 69 65
{248} normal block at 0x0000000004B8EC00, 4092 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
{247} normal block at 0x0000000004B8DBA0, 4092 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
{238} normal block at 0x0000000004B87E60, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{237} normal block at 0x0000000004B840E0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{236} normal block at 0x0000000004B80360, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{235} normal block at 0x0000000004B7C5E0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{234} normal block at 0x0000000004B78860, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{233} normal block at 0x0000000004B74AE0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{232} normal block at 0x0000000004B70D60, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{231} normal block at 0x0000000004B6CFE0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{230} normal block at 0x0000000004B69260, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{229} normal block at 0x0000000004B654E0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{228} normal block at 0x0000000004B61760, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{227} normal block at 0x0000000004B5D9E0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{226} normal block at 0x0000000004B59C60, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{225} normal block at 0x0000000004B59AA0, 336 bytes long.
Data: 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{224} normal block at 0x0000000004B598E0, 336 bytes long.
Data: 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{223} normal block at 0x0000000004B59680, 496 bytes long.
Data: < > E8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{222} normal block at 0x0000000004B59420, 496 bytes long.
Data: < > E8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{221} normal block at 0x0000000004B556A0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{220} normal block at 0x0000000004B51920, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{219} normal block at 0x0000000004B4DBA0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{218} normal block at 0x0000000004B49E20, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{217} normal block at 0x0000000004B460A0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{216} normal block at 0x0000000004B42320, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{215} normal block at 0x0000000004B3E5A0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{214} normal block at 0x0000000004B3A820, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{213} normal block at 0x0000000004B36AA0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{212} normal block at 0x0000000004B32D20, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{211} normal block at 0x0000000004B2EFA0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{210} normal block at 0x0000000004B2B220, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{209} normal block at 0x0000000004B274A0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{208} normal block at 0x0000000004B23720, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{207} normal block at 0x0000000004B23560, 336 bytes long.
Data: 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{206} normal block at 0x0000000004B233A0, 336 bytes long.
Data: 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{205} normal block at 0x0000000004B23140, 496 bytes long.
Data: < > E8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{204} normal block at 0x0000000004B22EE0, 496 bytes long.
Data: < > E8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{203} normal block at 0x0000000004B1F160, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{202} normal block at 0x0000000004B1B3E0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{201} normal block at 0x0000000004B17660, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{200} normal block at 0x0000000004B138E0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{199} normal block at 0x0000000004B0FB60, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{198} normal block at 0x0000000004B0BDE0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{197} normal block at 0x0000000004B08060, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{196} normal block at 0x0000000004B042E0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{195} normal block at 0x0000000004B00560, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{194} normal block at 0x0000000004AFC7E0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{193} normal block at 0x0000000004AF8A60, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{192} normal block at 0x0000000004AF4CE0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{191} normal block at 0x0000000004AF0F60, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{190} normal block at 0x0000000004AF0DA0, 336 bytes long.
Data: 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{189} normal block at 0x0000000004AF0BE0, 336 bytes long.
Data: 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{188} normal block at 0x0000000004AF0980, 496 bytes long.
Data: < > E8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{187} normal block at 0x0000000004AF0720, 496 bytes long.
Data: < > E8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{186} normal block at 0x0000000004AEC9A0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{185} normal block at 0x0000000004AE8C20, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{184} normal block at 0x0000000004AE4EA0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{183} normal block at 0x0000000004AE1120, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{182} normal block at 0x0000000004ADD3A0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{181} normal block at 0x0000000004AD9620, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{180} normal block at 0x0000000004AD58A0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{179} normal block at 0x0000000004AD1B20, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{178} normal block at 0x0000000004ACDDA0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{177} normal block at 0x0000000004ACA020, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{176} normal block at 0x0000000004AC62A0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{175} normal block at 0x0000000004AC2520, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{174} normal block at 0x0000000004ABE7A0, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{173} normal block at 0x0000000004ABAA20, 15632 bytes long.
Data: < = > 08 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{172} normal block at 0x0000000004ABA860, 336 bytes long.
Data: 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{171} normal block at 0x0000000004BCDBC0, 336 bytes long.
Data: 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{170} normal block at 0x0000000004BCD960, 496 bytes long.
Data: < > E8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{169} normal block at 0x0000000004BC9C10, 496 bytes long.
Data: < > E8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{132} normal block at 0x0000000004AB9D60, 544 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
{128} normal block at 0x0000000004AB00B0, 40008 bytes long.
Data: < ( > 00 00 00 00 00 00 00 00 28 1F C8 04 00 00 00 00
{127} normal block at 0x0000000004BC85D0, 248 bytes long.
Data: < > D8 F0 1A 80 01 00 00 00 01 00 00 00 CD CD CD CD
{126} normal block at 0x0000000004BC8550, 16 bytes long.
Data: < > E8 B8 19 80 01 00 00 00 CD CD CD CD CD CD CD CD
Object dump complete.
The program '[4864] CAECAD.exe: Native' has exited with code 1 (0x1).
////////////////////////////////////////////////////////////////////////////////////////////////
kindly I'm in hurry and in need of a solution

Regards

Hans's picture

I had this error, too. One of the Third-Party-DLLs was missing. Try to copy all of them into the folder of your *.exe-file :)

Ali Kay's picture

Dear Hans:

I want to use OCCT to make simple cad application.
I am new to OCCT.i download OCCT and install it.i am using vc10. I do not know what to do?
first I want to run the sample on vc10?

Arivazhagan's picture