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

On Ubuntu 14.04 can't assemble QtCreator via simple make #1

Closed
krupitskas opened this issue Aug 10, 2016 · 9 comments
Closed

On Ubuntu 14.04 can't assemble QtCreator via simple make #1

krupitskas opened this issue Aug 10, 2016 · 9 comments

Comments

@krupitskas
Copy link

krupitskas commented Aug 10, 2016

Linking CXX static library RELEASE/libqmljs.a  
[100%] Built target qmljs  
[ 80%] No install step for 'QtCreator'  
[ 90%] Completed 'QtCreator'  
[ 90%] Built target QtCreator  
Scanning dependencies of target qmlfmt  
make[2]: *** No rule to make target `QtCreator-prefix/src/QtCreator-build/Release/libcplusplus.a', needed by `qmlfmt'.  Stop.  
make[2]: *** Waiting for unfinished jobs....  
[100%] Building CXX object CMakeFiles/qmlfmt.dir/qmlfmt.cpp.o  
make[1]: *** [CMakeFiles/qmlfmt.dir/all] Error 2  
make: *** [all] Error 2  
FAIL: 2  

Seems like problem in CMake, which not defined rule, right?

@jesperhh
Copy link
Owner

Seems like it was just a simple case issue with the build configuration type (Release vs RELEASE), it should work now!

@krupitskas
Copy link
Author

Ah okay, will try and answer. thanks :)

@krupitskas
Copy link
Author

Still not working)

90%] Completed 'QtCreator'
[ 90%] Built target QtCreator
Scanning dependencies of target qmlfmt
make[2]: *** No rule to make target `QtCreator-prefix/src/QtCreator-build/RELEASE/libcplusplus.a', needed by `qmlfmt'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[100%] Building CXX object CMakeFiles/qmlfmt.dir/qmlfmt.cpp.o
make[1]: *** [CMakeFiles/qmlfmt.dir/all] Error 2
make: *** [all] Error 2
FAIL: 2

@jesperhh
Copy link
Owner

Have you tried to completely delete the build directory and start over?

  • Jesper

On Aug 11, 2016 12:05 PM, "Nikita" notifications@github.com wrote:

Still not working)

90%] Completed 'QtCreator'
[ 90%] Built target QtCreator
Scanning dependencies of target qmlfmt
make[2]: *** No rule to make target QtCreator-prefix/src/QtCreator-build/RELEASE/libcplusplus.a', needed byqmlfmt'. Stop.make[2]: *** Waiting for unfinished jobs....[100%] Building CXX object CMakeFiles/qmlfmt.dir/qmlfmt.cpp.omake[1]: *** [CMakeFiles/qmlfmt.dir/all] Error 2make: *** [all] Error 2FAIL: 2


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEyLkeyCPTYcFWG5TX9qXjlPEAKucLavks5qevPxgaJpZM4Jg9ei
.

@krupitskas
Copy link
Author

I just removed full downloaded dir and downloaded this again. also build dir was removed.
Have you tested by yourself?
Also I cmake'ing like this cmake .. -DCMAKE_PREFIX_PATH=/opt/qt5.5.1

@jesperhh
Copy link
Owner

Weird, I tested it yesterday, but I tested using the included qt version
in 14.04, not 5.5. I will look at it again in the evening!

  • Jesper

On Aug 11, 2016 12:18, "Nikita" notifications@github.com wrote:

I just removed full downloaded dir and downloaded this again. also build
dir was removed.
Have you tested by yourself?
Also I cmake'ing like this cmake .. -DCMAKE_PREFIX_PATH=/opt/qt5.5.1


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEyLkRxCax1oDSj8E1HADcTNowkk82hvks5qevbsgaJpZM4Jg9ei
.

@krupitskas
Copy link
Author

Thanks.
But can you describe a little bit your configuration? What is yours CMAKE_PREFIX_PATH? Or it must peek it by self?

@jesperhh
Copy link
Owner

I run it without any special configuration, just
cmake ../qmlfmt
Make

  • Jesper

On Aug 11, 2016 12:22, "Nikita" notifications@github.com wrote:

Thanks.
But can you describe a little bit your configuration? What is yours
CMAKE_PREFIX_PATH? Or it must peek it by self?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEyLkYBR-d0fFcuUeiP_EQwNunEnb9Xkks5qevfMgaJpZM4Jg9ei
.

@krupitskas
Copy link
Author

I make it worked, will make small pull request :D

thuyndieu pushed a commit to thuyndieu/qmlfmt that referenced this issue Oct 24, 2019
thuyndieu pushed a commit to thuyndieu/qmlfmt that referenced this issue Oct 24, 2019
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