User forums > Embedded development

Sourcery G++ Lite + C::B

(1/4) > >>

zordlyon:
Hi people, i'm newer on C::B and i cant configure to run one simple Hello World for an ARM7...

I have linked the path's to toolchains...but i can't run the program... the configuration i have is this:



And i have this error:


--- Code: ----------------- Clean: Debug in Hello-world ---------------

Error cleaning "Hello-world - Debug"

-------------- Build: Debug in Hello-world ---------------

Using makefile: Makefile
cs-make.exe: Makefile: No such file or directory
cs-make.exe: *** No rule to make target `Makefile'.  Stop.
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
--- End code ---

If anyone can help me i appreciate...

Thanks...

oBFusCATed:
Have you read this: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F ?
Why do you want to use a makefile?
Why don't you use normal C::B project?
Why aren't you trying to understand the error messages?
Have you tried to build the project from the command line?

zordlyon:

--- Quote from: oBFusCATed on November 01, 2011, 09:03:09 pm ---Have you read this: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F ?
Why do you want to use a makefile?
Why don't you use normal C::B project?
Why aren't you trying to understand the error messages?
Have you tried to build the project from the command line?

--- End quote ---

Yes i have read that, but no solution...

I use a makefile because i need the .hex
I tried to understand the error but could not, so here I put my doubts ...
Is the sample code of Cmucam3, and is working properly, was now trying to compile the CodeBlocks to start developing for this development board.

Thanks..

Alpha:

--- Quote from: zordlyon on November 02, 2011, 12:20:08 am ---I use a makefile because i need the .hex

--- End quote ---
If the .hex file is generated by a command, you could add it as a post-build command.

The page Code::Blocks and Makefiles has some setup information (however, I too would recommend against using makefiles if a project file can suffice).

(Note: I have not worked with embedded development before, so I do not know how applicable what I have said is.)

scarphin:
There is no need to use a makefile to generate .hex file. Just put a postbuild command in the appropriate place.

Navigation

[0] Message Index

[#] Next page

Go to full version