Theverat / NormalmapGenerator

A simple program that converts images into normal maps
GNU General Public License v3.0
416 stars 51 forks source link

Compiling for Linux #18

Closed SFrav closed 8 years ago

SFrav commented 8 years ago

Noob question: how do I compile this for debian linux (ubuntu).

Theverat commented 8 years ago

This is how I do it:

For a fast build, make sure you are in "release" mode and that OpenMP works (if there are warnings about ignored OpenMP pragmas, you might need to install some OpenMP-dev packages).

SFrav commented 8 years ago

Thanks!

I get an issue in the ui_mainwindow header. 'Error 2'. This is compiling the current github version of source and Qt creator 3.5.1. I'll try a newer version ...

Theverat commented 8 years ago

The ui_mainwindow.h is auto-generated, try to delete it, re-run qmake and try to build again.

SFrav commented 8 years ago

No, that didn't do the job. After updating QT creator it gives errors on QUrl in mainwindow.cpp.

Theverat commented 8 years ago

What's the exact message? I'm using Qt. 5.6.0 to compile.

SFrav commented 8 years ago

That's it. Installed 5.6.0 and now compiled. Thanks!