unable to compile FET 5.28.1

Started by Pg, October 11, 2015, 07:15:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pg

I have an iMac with 10.11 el capitan .

I installed the latest update of Xcode 7.0.1 ;

I upgraded to Qt 5.5.0 ;

I tried to install fet 5.28.1 from the terminal but I do not in any way part of the compilation .

so far I have never had any problems .

only it happens to me ?

you have any solution or is incompatible with the new operating system ?

Liviu Lalescu

It should work, but I don't know why you cannot compile it.

Volker Dirr

maybe tell us the error message from the terminal.

Pg

Last login: Sun Oct 11 16:14:14 on ttys000
iMac-di-Piergiorgio-Simoni:~ Pg$ cd fet-5.28.1
iMac-di-Piergiorgio-Simoni:fet-5.28.1 Pg$ qmake -spec macx-g++ fet.pro
-bash: qmake: command not found
iMac-di-Piergiorgio-Simoni:fet-5.28.1 Pg$ make
make: *** No targets specified and no makefile found.  Stop.
iMac-di-Piergiorgio-Simoni:fet-5.28.1 Pg$

Volker Dirr

you haven't installed Qt correct. maybe you only forgot to set the PATH

Pg

excuse but what does it mean ?

what is...set the patch?

I downloaded this :  qt-opensource-mac-x64-clang-5.5.0.dmg

from

http://download.qt.io/official_releases/qt/5.5/5.5.0/

and I installed it

Volker Dirr

I didn't wrote "patch", i wrote "PATH".
I bet you installed and then you opened the terminal.
That doesn't work, because the terminal don't know where you installed Qt. So it won't find Qt and that is why you get an "unknown command" error. You need to set up the PATH in you terminal. Check your ".profil" file. I bet there is no PATH in it.

davvidde

#7
In my case I installed QT under my HomeDir:
/Users/Davide/Qt5.5.0/

So, in terminal, to start compilation I entered the subdir where FET source is expanded from the archive and I wrote:
/Users/Davide/Qt5.5.0/5.5/clang_64/bin/qmake -spec macx-g++ fet.pro

Then:
make

Davide.
Davide.

Volker Dirr

yes, that is also possible. but i recommend to set the PATH into the ./profile
in that case you don't need to write so much (i know. once it is written you can also press "arrow up" key).
it is also easier to start the compiled executable then and also easier if you compile other projects.

Pg

this works! :

/Users/Pg/Qt5.5.0/5.5/clang_64/bin/qmake -spec macx-g++ fet.pro

thank you

Pg