User forums > Using Code::Blocks
problem running PCL project
fastkit:
Hi all,
I installed PCL on my computer with Ubuntu 12.04 LTS. I followed instructions found here: http://pointclouds.org/downloads/linux.html
I wanted to try the first tutorial found here: http://pointclouds.org/documentation/tutorials/writing_pcd.php#writing-pcd
Then I typed this commands on terminal to generate CodeBlocks project:
--- Code: ---cmake -G"CodeBlocks - Unix Makefiles" /home/.../dev/PCL/CMakeLists.txt
--- End code ---
and I got the CodeBlocks project. I compiled it without errors, but when I try to run it says: You can't "run" a commands-only target...
What is the problem with CodeBlocks?
Thank you a lot in advance!!
stahta01:
Post the full re-build log. This means make sure Compiler log is on full (as in link) and do a re-build and post the "build log"
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Tim S.
Jenna:
--- Quote from: fastkit on December 08, 2013, 08:13:01 pm ---Hi all,
I installed PCL on my computer with Ubuntu 12.04 LTS. I followed instructions found here: http://pointclouds.org/downloads/linux.html
I wanted to try the first tutorial found here: http://pointclouds.org/documentation/tutorials/writing_pcd.php#writing-pcd
Then I typed this commands on terminal to generate CodeBlocks project:
--- Code: ---cmake -G"CodeBlocks - Unix Makefiles" /home/.../dev/PCL/CMakeLists.txt
--- End code ---
and I got the CodeBlocks project. I compiled it without errors, but when I try to run it says: You can't "run" a commands-only target...
What is the problem with CodeBlocks?
Thank you a lot in advance!!
--- End quote ---
It's most likely not a problem with Code::Blocks, but with the cmake-generated project-file.
Try to change the type of the project in "Project -> Properties -> Build targets" for the problematic build targets and fix the patha nd name of the executable (if needed).
If this works the cmake conf-file is not correct and generates a command-only-target instead of console or gui or whatever you need.
fastkit:
Sorry, ??? ???
I don't understand what do you mean.
Which log do I have to show? I to get it?
P.S.: Sorry, for long I didn't use this machine!
BlueHazzard:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
Navigation
[0] Message Index
[#] Next page
Go to full version