?? newbie questions about compiler
-
- CodeLite Curious
- Posts: 1
- Joined: Mon Jun 08, 2015 11:42 am
- Genuine User: Yes
- IDE Question: CCC
- Contact:
?? newbie questions about compiler
I am a newbie. I know how to write a C program to print "Hello World" . I am that 'new'
b]
QUESTIONS[/b]
1. Can you give me an Internet address where I might find a simple explanation of what is an IDE (such as < codelite IDE> ) ?
2. Most importantly: do I need a compiler to use < codelite IDE > to print "Hello World" ?
If I do need a compiler where would I find a one for my Windows XP computer?
3. Is there an example of ALL the steps required to write a "Hello World" C program. I can't get < codelite IDE > to produce a print out !
please give 3 answers.
Thanks
martymarty
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ?? newbie questions about compiler
http://lmgtfy.com/?q=what+is+an+IDEmartymarty wrote:1. Can you give me an Internet address where I might find a simple explanation of what is an IDE (such as < codelite IDE> ) ?
Yes, an IDE is not a compilermartymarty wrote:2. Most importantly: do I need a compiler to use < codelite IDE > to print "Hello World" ?
If I do need a compiler where would I find a one for my Windows XP computer?
http://codelite.org/AddNewCompiler/AddNewCompilermartymarty wrote:3. Is there an example of ALL the steps required to write a "Hello World" C program. I can't get < codelite IDE > to produce a print out !
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 14
- Joined: Tue Jun 02, 2015 6:58 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ?? newbie questions about compiler
I am having a few troubles of my own with programming. If you don't mind me asking, what compiler did you use to print out "Hello World"?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ?? newbie questions about compiler
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 14
- Joined: Tue Jun 02, 2015 6:58 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ?? newbie questions about compiler
I clicked on the link to download clang version 3.5, and installed it under my c drive. Then I opened CodeLite 7, told it to automatically detect installed compilers, and it detected my clang installation. Then I opened up my project, changed its compiler to clang, and tried to build the project. But all it does is hang there. I can do other stuff with my laptop, but CodeLite doesn't display anything.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ?? newbie questions about compiler
That link offers to install MinGW564 or 32... how did you end up installing the one compiler that does not work well on Windows ?
Please install MinGW64
Eran
Please install MinGW64
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 14
- Joined: Tue Jun 02, 2015 6:58 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ?? newbie questions about compiler
Oh sorry. Got a little mixed up.
Anyway, I clicked on the link to download the 64 bit version of TDM GCC 4.9.2, and installed it under my c drive. It created a folder called TDM-GCC-64. Then I opened CodeLite, and had to manually add the compiler. CodeLite gave it a weird name, MinGW ( gcc.exe (tdm64-1) 4.9.2 ), but I decided to leave it that way. So I created a new C++ workspace, and a simple g++ executable project. But it will still hang and not build.
Anyway, I clicked on the link to download the 64 bit version of TDM GCC 4.9.2, and installed it under my c drive. It created a folder called TDM-GCC-64. Then I opened CodeLite, and had to manually add the compiler. CodeLite gave it a weird name, MinGW ( gcc.exe (tdm64-1) 4.9.2 ), but I decided to leave it that way. So I created a new C++ workspace, and a simple g++ executable project. But it will still hang and not build.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ?? newbie questions about compiler
Do you have any firewalls / anti virus software installed? It might be that it is blocking the execution of the compiler
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 14
- Joined: Tue Jun 02, 2015 6:58 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ?? newbie questions about compiler
Thank you for your help so far.
Yes, I do have a firewall and antivirus software; however, I disabled them and CodeLite still won't build. If execute without building in CodeLite, then it will show a display of something like returned with 0.
Also, I can compile and execute in cmd. Doing this will display the desired output, in this case "Hello World!".
willlearn
Yes, I do have a firewall and antivirus software; however, I disabled them and CodeLite still won't build. If execute without building in CodeLite, then it will show a display of something like returned with 0.
Also, I can compile and execute in cmd. Doing this will display the desired output, in this case "Hello World!".
willlearn
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ?? newbie questions about compiler
Please post the content of your build log, and your 'Trace' tab
Eran
Eran
Make sure you have read the HOW TO POST thread