I have built the OpenCASCADE 6.5.4 but get a "Fatal Error during Graphic Initialization" when I try to run the Geometry example.
I believe the problem is with ftgl, but no idea how to fix it.
With 6.5.3 version I used ftgl_dynamic_MTD.lib and dll but with the ftgl-2.1.3-vc9-32 what I have is ftgl.lib and dll. Do I need to build ftgl_dynamic_MTD for this to work with 6.5.4 as well?
Here is part of the output window I get when I launch the program.
'Geometry.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll'
'Geometry.exe': Loaded 'C:\OpenCASCADE6.5.4\ros\win32\vc9\bin\ftgl.dll', Binary was not built with debug information.
'Geometry.exe': Unloaded 'C:\OpenCASCADE6.5.4\ros\win32\vc9\bin\TKOpenGl.dll'
'Geometry.exe': Unloaded 'C:\OpenCASCADE6.5.4\ros\win32\vc9\bin\ftgl.dll'
'Geometry.exe': Unloaded 'C:\Windows\SysWOW64\opengl32.dll'
The problem is not reproduced. Geometry Sample perfectly works.
You can find exhaustive description of OCCT rebuilding process at the chapter
"Welcome to Open CASCADE Technology/Building Modules" of OCCT html documentation
(see ...doc//overview sub-folder).
Pay your attention to the custom.bat file (where variables CSF_OPT_LIB32& CSF_OPT_BIN32 referring to ftgl component are defined).