Building OCCT on 64-bit systen while debug configuration is 32 bit.

Hi everyone,
I am using 64-bit operating system I tried to run the OCCT using Visual Studio 2008 Professional.It is working absolutely fine.
I have not edited any of the batch files. It is building all the 66 projects successfully when I debug this for win32, rebuilding is also successful. I am also able to open OCCT and run the samples and tests.
But, If I try to run the msvc.bat after changing custom.bat to 64 bit then it is building only 39 projects and 27 are failing.
My question is whether I should go ahead with that?
Will there be any problem in the future ?

shmsh's picture

Dear Shamsher ,

what about the 3rd-party products ???
have you built them or they are already pre-compiled ???
and what version of OCCT did you use and what it's compatible with of microsoft visual studio ???

waiting for a reply

Shamsher's picture

Hi shmsh,
I am using OCCT 6.7.0 with visual studio 2008.
I just downloaded the OCCT from "http://www.opencascade.org/getocc/download/occarchives/loadocc670/"
and after installing I ran msvc.bat then I tried to build using *64 configuration and I got following build log
1>------ Build started: Project: TKService, Configuration: Debug x64 ------
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'FreeImage.lib'
1>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKService\BuildLog.htm"
1>TKService - 1 error(s), 0 warning(s)
2>------ Build started: Project: TKV3d, Configuration: Debug x64 ------
3>------ Build started: Project: TKDraw, Configuration: Debug x64 ------
3>Linking...
3>LINK : fatal error LNK1181: cannot open input file 'TKService.lib'
3>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKDraw\BuildLog.htm"
3>TKDraw - 1 error(s), 0 warning(s)
4>------ Build started: Project: DRAWEXE, Configuration: Debug x64 ------
2>Linking...
4>Linking...
2>LINK : fatal error LNK1181: cannot open input file 'TKService.lib'
4>LINK : fatal error LNK1181: cannot open input file 'TKDraw.lib'
2>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKV3d\BuildLog.htm"
2>TKV3d - 1 error(s), 0 warning(s)
4>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\DRAWEXE\BuildLog.htm"
4>DRAWEXE - 1 error(s), 0 warning(s)
5>------ Build started: Project: TKCAF, Configuration: Debug x64 ------
6>------ Build started: Project: TKNIS, Configuration: Debug x64 ------
7>------ Build started: Project: TKVoxel, Configuration: Debug x64 ------
6>Linking...
7>Linking...
6>LINK : fatal error LNK1181: cannot open input file 'TKV3d.lib'
7>LINK : fatal error LNK1181: cannot open input file 'TKV3d.lib'
6>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKNIS\BuildLog.htm"
6>TKNIS - 1 error(s), 0 warning(s)
5>Linking...
8>------ Build started: Project: TKTopTest, Configuration: Debug x64 ------
7>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKVoxel\BuildLog.htm"
7>TKVoxel - 1 error(s), 0 warning(s)
5>LINK : fatal error LNK1181: cannot open input file 'TKService.lib'
9>------ Build started: Project: TKOpenGl, Configuration: Debug x64 ------
5>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKCAF\BuildLog.htm"
5>TKCAF - 1 error(s), 0 warning(s)
10>------ Build started: Project: TKVRML, Configuration: Debug x64 ------
9>Linking...
9>LINK : fatal error LNK1181: cannot open input file 'TKService.lib'
9>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKOpenGl\BuildLog.htm"
9>TKOpenGl - 1 error(s), 0 warning(s)
11>------ Build started: Project: TKPCAF, Configuration: Debug x64 ------
8>Linking...
10>Linking...
8>LINK : fatal error LNK1181: cannot open input file 'TKDraw.lib'
10>LINK : fatal error LNK1181: cannot open input file 'TKService.lib'
11>Linking...
8>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKTopTest\BuildLog.htm"
8>TKTopTest - 1 error(s), 0 warning(s)
11>LINK : fatal error LNK1181: cannot open input file 'TKV3d.lib'
12>------ Build started: Project: TKMeshVS, Configuration: Debug x64 ------
10>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKVRML\BuildLog.htm"
10>TKVRML - 1 error(s), 0 warning(s)
13>------ Build started: Project: TKViewerTest, Configuration: Debug x64 ------
11>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKPCAF\BuildLog.htm"
11>TKPCAF - 1 error(s), 0 warning(s)
14>------ Build started: Project: TKXCAF, Configuration: Debug x64 ------
12>Linking...
12>LINK : fatal error LNK1181: cannot open input file 'TKV3d.lib'
12>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKMeshVS\BuildLog.htm"
12>TKMeshVS - 1 error(s), 0 warning(s)
15>------ Build started: Project: TKStdSchema, Configuration: Debug x64 ------
14>Linking...
14>LINK : fatal error LNK1181: cannot open input file 'TKService.lib'
13>Linking...
14>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKXCAF\BuildLog.htm"
14>TKXCAF - 1 error(s), 0 warning(s)
13>LINK : fatal error LNK1181: cannot open input file 'TKNIS.lib'
16>------ Build started: Project: TKXml, Configuration: Debug x64 ------
15>Linking...
13>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKViewerTest\BuildLog.htm"
13>TKViewerTest - 1 error(s), 0 warning(s)
15>LINK : fatal error LNK1181: cannot open input file 'TKCAF.lib'
17>------ Build started: Project: TKBin, Configuration: Debug x64 ------
15>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKStdSchema\BuildLog.htm"
15>TKStdSchema - 1 error(s), 0 warning(s)
16>Linking...
18>------ Build started: Project: TKDCAF, Configuration: Debug x64 ------
16>LINK : fatal error LNK1181: cannot open input file 'TKV3d.lib'
17>Linking...
16>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKXml\BuildLog.htm"
16>TKXml - 1 error(s), 0 warning(s)
17>LINK : fatal error LNK1181: cannot open input file 'TKCAF.lib'
19>------ Build started: Project: TKXSDRAW, Configuration: Debug x64 ------
17>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKBin\BuildLog.htm"
17>TKBin - 1 error(s), 0 warning(s)
20>------ Build started: Project: TKXDESTEP, Configuration: Debug x64 ------
21>------ Build started: Project: TKXDEIGES, Configuration: Debug x64 ------
18>Linking...
21>Linking...
18>LINK : fatal error LNK1181: cannot open input file 'TKDraw.lib'
20>Linking...
19>Linking...
21>LINK : fatal error LNK1181: cannot open input file 'TKXCAF.lib'
20>LINK : fatal error LNK1181: cannot open input file 'TKCAF.lib'
18>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKDCAF\BuildLog.htm"
18>TKDCAF - 1 error(s), 0 warning(s)
19>LINK : fatal error LNK1181: cannot open input file 'TKV3d.lib'
21>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKXDEIGES\BuildLog.htm"
21>TKXDEIGES - 1 error(s), 0 warning(s)
22>------ Build started: Project: TKBinXCAF, Configuration: Debug x64 ------
20>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKXDESTEP\BuildLog.htm"
20>TKXDESTEP - 1 error(s), 0 warning(s)
23>------ Build started: Project: TKXmlXCAF, Configuration: Debug x64 ------
19>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKXSDRAW\BuildLog.htm"
19>TKXSDRAW - 1 error(s), 0 warning(s)
24>------ Build started: Project: TKTObjDRAW, Configuration: Debug x64 ------
25>------ Build started: Project: TKXDEDRAW, Configuration: Debug x64 ------
22>Linking...
24>Linking...
23>Linking...
22>LINK : fatal error LNK1181: cannot open input file 'TKXCAF.lib'
24>LINK : fatal error LNK1181: cannot open input file 'TKDraw.lib'
23>LINK : fatal error LNK1181: cannot open input file 'TKCAF.lib'
22>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKBinXCAF\BuildLog.htm"
22>TKBinXCAF - 1 error(s), 0 warning(s)
24>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKTObjDRAW\BuildLog.htm"
24>TKTObjDRAW - 1 error(s), 0 warning(s)
26>------ Build started: Project: TKXCAFSchema, Configuration: Debug x64 ------
23>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKXmlXCAF\BuildLog.htm"
23>TKXmlXCAF - 1 error(s), 0 warning(s)
27>------ Build started: Project: TKQADraw, Configuration: Debug x64 ------
25>Linking...
26>Linking...
25>LINK : fatal error LNK1181: cannot open input file 'TKXCAF.lib'
25>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKXDEDRAW\BuildLog.htm"
25>TKXDEDRAW - 1 error(s), 0 warning(s)
26>LINK : fatal error LNK1181: cannot open input file 'TKPCAF.lib'
26>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKXCAFSchema\BuildLog.htm"
26>TKXCAFSchema - 1 error(s), 0 warning(s)
27>Linking...
27>LINK : fatal error LNK1181: cannot open input file 'TKNIS.lib'
27>Build log was saved at "file://c:\OpenCASCADE6.7.0\opencascade-6.7.0\win64\vc9\objd\TKQADraw\BuildLog.htm"
27>TKQADraw - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 27 failed, 39 up-to-date, 0 skipped ==========

Thanks