For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Cannot build Qt tutorial

Aris Karagiannidis's picture

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?

Forum supervisor's picture

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

Daniel Neander's picture

Have you tried building any other samples? Is it that particular project?

Aris Karagiannidis's picture

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.

Aris Karagiannidis's picture

Here is the makefile I have built

http://pastebin.com/aAJWtGvR

Forum supervisor's picture

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