Fri, 05/16/2014 - 01:23
Forums:
Hello, I have been trying to build the Qt tutorial but I cannot. The vc11 .sln file is not working at all in visual studio(I have created the Tutorial.vcxproj using qmake).
As an alternative I am hacking my own makefile. But when I try to compile, I get the following
error:
C:\OpenCASCADE6.7.1\opencascade-6.7.1\inc\Standard_Macro.hxx(36) : fatal error C1004: unexpected end-of-file found
make: *** [Main.o] Error 2
Any ideas on what could be wrong?
Fri, 05/16/2014 - 13:14
Dear Aris,
Probably it is a bug. Therefore I would suggested 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.
Best regards
FSR
Fri, 05/16/2014 - 16:40
Have you tried building any other samples? Is it that particular project?
Fri, 05/16/2014 - 19:16
Hello this is not particular project yet. I am trying to get used to the open cascade codebase in general. So the first thing to do would be to compile the samples and then write a very small code just to draw a line or two.
I also cannot build other sample projects.
Fri, 05/16/2014 - 21:22
Here is the makefile I have built
http://pastebin.com/aAJWtGvR
Tue, 05/20/2014 - 18:31
Dear Aris,
1.As a first step you should generate project file using
'generation-vc-projects.bat' file from the root of Tutorial.
2.After that start 'msvc.bat' specifying all necessary parameters (the same as for analogical procedure to build OCCT).
3.Build Tutorial and start it.
I checked it. The built Tutorial.exe successfully can be launched.
Note. Don't forget that with vc11 you should use QT5xx, which supports win32-msvc2012 specification (I tested it with qt5.2.1).
Best regards
FSR