Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project ERROR: $prefix is undefined. Please pass prefix=<path> to qmake #21

Open
lthiet opened this issue Nov 8, 2019 · 1 comment
Open

Comments

@lthiet
Copy link

lthiet commented Nov 8, 2019

Hello,

When I try to qmake then make install

I get this error :

cd src/brdf/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /path/to/brdf.pro ) && make -f Makefile 
Project ERROR: $prefix is undefined. Please pass prefix=<path> to qmake
Makefile:44: recipe for target 'sub-src-brdf-make_first-ordered' failed
make: *** [sub-src-brdf-make_first-ordered] Error 3

I tried doing this from : https://stackoverflow.com/questions/14639459/how-to-change-qmake-prefix-location :

qmake -set prefix /path/to/repo

But I still get the same error, so I don't know what to do... Please help?

@MayushKumar
Copy link

Just do qmake prefix=/path/to/destination/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants