User forums > Help

First time run trouble on codeblocks 16.01 in linux mint

<< < (4/7) > >>

oBFusCATed:
Does this file actually exists? Is it executable?
If you cannot run it in terminal you won't be able to run in in C::B.

thadart:
I have a dungeon.exe file on that path. I gave it 777, opened C::B and tryed to run the project and I still get the same "status -1" error on log and "127 (0x7F)" error if i choose not to build.

If I add the extension ".exe" at the end of the path and try to run in terminal, i have this:


--- Code: ---bash: /home/pelu/Escritorio/dungeon/bin/Debug/dungeon.exe: it cant execute binary file: Incorrect executable format

--- End code ---

oBFusCATed:
Can you post the full rebuild log?
It is getting confusing.

The original report was that your linker was failing to link.
If this is the case then it is obvious that you won't have an executable which you can run.

thadart:
I'm sorry if I am not expressing myself very clearly, I still don't understand properly the features of C::B and english it's not my native language, appreciate the comunication struggle.

I've been looking for a place where logs are fully displayed, not only in the bottom tab, but I didnt came to any point. If this place exists, please correct me and i will repost the full log.


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

Cleaned "dungeon - Debug"

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

g++-8 -Wall -fexceptions -g -Iinclude -I/home/pelu/Escritorio/dungeon -c /home/pelu/Escritorio/dungeon/main.cpp -o obj/Debug/main.o
execvp(./home/pelu/Fundamentos, de, , g++-8 -Wall -fexceptions -g -Iinclude -I/home/pelu/Escritorio/dungeon -c /home/pelu/Escritorio/dungeon/main.cpp -o obj/Debug/main.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 ---

 

stahta01:
Wild guess. Run this command in command line outside Code::Blocks.


--- Code: ---g++-8 --version

--- End code ---

What is the result.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version