Make: Nothing to be done for 'first'
-
How to solve this problem? I compile it successfully, but the result not come out, don't know how to deal with it...
16:30:21: Starting: "/usr/bin/make"
make: Nothing to be done for `first'.
16:30:21: The process "/usr/bin/make" exited normally.
16:30:21: Elapsed time: 00:00. -
Many thanks for your reply, sir. Sorry for my poor english, i am not a native speaker, there is no error come out after I click Run, a window should come out and allow me to enter some command , but it does't appear. what should i do......
[quote author="andreyc" date="1407771909"]Usually it means that there were not any changes in the files between the builds.What do you mean "the result not come out, don’t know how to deal with it…" ?[/quote]
-
Really thank u sir! yes, i use qtcreator under mac, the message of "Compile Output" is here, lots of warning..so I delete them, just post the final information.
@
16:51:30: Running steps for project SimpleNGL...
16:51:30: Configuration unchanged, skipping qmake step.
16:51:30: Starting: "/usr/bin/make"
......
g++ -Wl,-rpath,/opt/qtsdk/5.1.0/gcc_64 -Wl,-rpath,/opt/qtsdk/5.1.0/gcc_64/lib -o SimpleNGL args.o argsgraph.o graph.o main.o maxflow.o -L/opt/qtsdk//5.1.0/gcc_64/lib -lQt5Gui -lQt5Core -lGL -lpthread
{ test -n "" && DESTDIR="" || DESTDIR=.; } && test $(gdb --version | sed -e 's,[^0-9]+([0-9]).([0-9]).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'SimpleNGL' && test -f SimpleNGL.gdb-index && objcopy --add-section '.gdb_index=SimpleNGL.gdb-index' --set-section-flags '.gdb_index=readonly' 'SimpleNGL' 'SimpleNGL' && rm -f SimpleNGL.gdb-index || true
16:51:34: The process "/usr/bin/make" exited normally.
16:51:34: Elapsed time: 00:04.
@[quote author="andreyc" date="1407773870"]You are welcome.
Try to rebuild a project.
Do you use QtCreator ?
What messages do you see in "Compile Output"?
You can switch to "Compile Output" using Alt-4 (if you did not change default shortcuts).[/quote][andreyc EDIT] Added @ around log messages
-
Thanks for your reply again, really thank u vert much, there is some message about the code itself, I mean some option about what the code will do, not error message, I work under a red hat system now, is it available to send u the code and let u have a look? in the "Application output", the final line said: ........exited with code 0
[quote author="andreyc" date="1407777650"]It says that you successfully built the project and show have SimpleNGL executable in a build directory.
Do you see any error messages in "Application Output"(Alt-3) panel when you try to run it?[/quote] -
Thanks u again, sir! here is a link , u can click the download tag on the top right side. Thanks for spending your time to give this help!!
http://pan.baidu.com/s/1c01pXWO
[quote author="andreyc" date="1407778604"]You can create a simple example that does not work the same way as your project and post it here.
Or put an archive somewhere and post a link here.[/quote] -
Thanks for your reply again, sir! I try to run it in Terminal, same like the situation in qtcreator..... no idea to fix it.....
[quote author="andreyc" date="1407786605"]This is not Qt application. it is XWindow application.
I don't have all necessary libraries to build it.
Maybe if you run SimpleNG from command line you will see some logging and error messages.[/quote] -
Tanks for your reply again sir! really thanks! In the terminal. I use "make clean" first, and then use q make, and make.(some warning like yesterday) Then use ./XXX, it runs, the message is same like before, in the "application output". Sorry for my rubbish skill, just a fish .
After make, the message is :
g++ -Wl,-O1 -Wl,-rpath,/opt/qtsdk/5.1.0/gcc_64 -Wl,-rpath,/opt/qtsdk/5.1.0/gcc_64/lib -o SimpleNGL args.o argsgraph.o graph.o main.o maxflow.o -L/opt/qtsdk//5.1.0/gcc_64/lib -lQt5Gui -lQt5Core -lGL -lpthread
after ./XXX, no response.
All seems the same like yesterday.
[quote author="andreyc" date="1407849898"]Could you post here how did you run it and what did you get. Just copy-past from a terminal.[/quote] -
[quote author="alex111" date="1407850907"]after ./XXX, no response.
All seems the same like yesterday. [/quote]Looks like you have application problem and need to debug it.
Or maybe some required libraries are not installed.
Try to run it under debugger. -
Thanks again and again, Sir! I use debug option(F5), there is no message come out in the debugger window, it means sth wrong?
[quote author="andreyc" date="1407851135"][quote author="alex111" date="1407850907"]after ./XXX, no response.
All seems the same like yesterday. [/quote]Looks like you have application problem and need to debug it.
Or maybe some required libraries are not installed.
Try to run it under debugger.
[/quote] -
hello alex. I am getting the same problem that is "make: Nothing to be done for 'first'". did you solve it finally? some persons advised to run in debug mode. it doesn't run in debug mode. only thing happens is run and after that showing this same message again and again. I tried using different version of QT but same error shows up.
-
@biswasp said in Make: Nothing to be done for 'first':
"make: Nothing to be done for 'first'"
This isn't a problem. As already said in this thread it means that the project is already built and up to date. If you app doesn't start then you have another problem. Build your app in Debug mode and then try to start it with debugger pressing F5. Maybe it simply crashes or some DLLs are missing.