User forums > Help

First time run trouble on codeblocks 16.01 in linux mint

(1/7) > >>

thadart:
Hello forum people, im a newbie, its my first post and before of all thank you for stopping here and reading me.

I have read the instructions for first posting, and i saw a post involving a trouble similar to mine, that its called "Cant build and run" on Help section. As it is a 2007 post and my OS is different than the one who that post talks about, i decided to create this new post (sorry if i should not have do this)

Well, issue is that i downloaded CodeBlocks 16.01 on linux mint, downloaded the build-essentials , g++-8 and xterm packages and installed all of it. My problem is that when i try to debug and run any project, log says:


--- Code: ----------------- Build: Debug in dungeon (compiler: GNU GCC Compiler)---------------

g++ -Wall -fexceptions -g -Iinclude -I/home/pelu/Escritorio/dungeon/src -c /home/pelu/Escritorio/dungeon/src/GameMap.cpp -o obj/Debug/src/GameMap.o
execvp(./home/pelu/Fundamentos, de, , g++ -Wall -fexceptions -g -Iinclude -I/home/pelu/Escritorio/dungeon/src -c /home/pelu/Escritorio/dungeon/src/GameMap.cpp -o obj/Debug/src/GameMap.o) failed with error 2!
Process terminated with status -1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))

--- End code ---

 :'( :'( :'(

Truly appreciate your time and suggests.
 


 

BlueHazzard:
Hi, welcome to the forum.
1) Please use code tags if you post logs (the # symbol in the new post editor)
2) What are you trying to do?
Debug your application or run your application?

thadart:
Oh sorry about the log format, already changed it.

Im trying to run my application with the "build and run" button. A pop up window displays with the message:


--- Code: ---It seems that this project has not been built yet. Do you want to build it now?
--- End code ---

I press "Yes" and then i get the log message.

Thank you for your time  :)

Miguel Gimenez:
The spaces in "Fundamentos de.." are causing the trouble.

Como la boina, es funda...mental

thadart:
I see this piece of path you mention in the log


--- Code: ---
execvp(./home/pelu[b]/Fundamentos, de, ,[/b] g++-8 -Wall -fexceptions -g  -I/home/pelu/Escritorio/HolaMundo -c /home/pelu/Escritorio/HolaMundo/main.cpp -o /obj/Debug/main.o) failed with error 2!
 

--- End code ---

But i dont understand why that appears, because the actual route where my projects are is:

--- Code: --- /home/pelu/desktop/project_folder
--- End code ---


(Note im trying to run and build the example project here, not even one of my creation)
It's maybe the configured destination folder for the output files? If so, and the void spaces in the path name are the problem, where i can set a new destination folder?
 
Also now i have an extra pop up window, saying:


--- Code: ---Can't create output directory /bin/debug
--- End code ---

Thank you dude :)

Navigation

[0] Message Index

[#] Next page

Go to full version