User forums > Help

After reinstall codeblocks programs will no longer compile please help.

<< < (2/4) > >>

Jenna:

--- Quote from: carlyn on June 05, 2014, 11:00:39 pm ---obviously english is not you first language so i wont bother trying to explain anything here. Ask your master whats wrong!

--- End quote ---
If you think I misunderstood you (probably because of my little knowledge of the english language) you should explain what you mean.
Or I'm forced to believe ii's meant offending and ban you from the forum.

carlyn:
Well, I apologise, I thought we were both having a go at each other . maybe its because ive been up since 2am or you have ;)  Anyway if wecan move past that I am having a similar problem. This time Ive just tried to use CODEBLOCKS on Mint Linux and it wont build ??

I dont understand the error message, it says no such directory but that is not true. maybe you can understand it...I hope...


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

gcc -Wall -g  -c "/home/doom/Desktop/my 1/main.c" -o obj/Debug/main.o
/home/doom/Desktop/my 1/main.c:1:19: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
                   ^
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 

--- End code ---

carlyn:
Im very new at programming, i have another question.... when you/I select new project there are options which include Fortran and AVR, does this mean that CODEBLOCKS can write code for AVR chips and can you use CODEBLOCKS to write Fortran ?  I know the question is probably silly to even ask ;)

thx ,Mike.

carlyn:
38 reads and still nobody can help ?

Jenna:
Don't be so impatient.
Not everybody who reads a topic is logged in, not everybody can answer or wants to answer.

About the "no such file or directory"-error:
I think if a c-compiler (gcc) is installed the appropriate dev-packages shoud be dependencies and isnatalle automatically.
But I do not use mint, so it might be different. On debian the "stdio.h"-header is in the "libc6-dev"-package.

And yes you can use C::B to write fortran-programs, there exists a fortran-plugin, which might or might not be included in the contrib-plugins, depending on your version and distro.
If you have a cross-compiler you can also develop for avr (and other embedded systems). An avr-compiler is most likely included in mint.
You can not axpect any more sophisticated help from me, because I do not do embedded development (except sps-programming with a codesys-derivate) and the last time I developped in fortran is more than twenty years ago.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version