Am I missing something (Noob question!!!!)?

Gibson486

Lifer
Aug 9, 2000
18,378
2
0
So, yeah, I never installed an IDE before. I always went to the computer lab and used the lab computers to run visual studio to do code. Everything has always been set up for me. Well, I am trying to install an IDE and it keeps telling me to install a compiler. Isn't this supposed to be built in? I downloaded Netbeans and Visual C++ express. If I need to download the compiler, which do use? At this point, I just want to run simple stuff in C.
 

Gibson486

Lifer
Aug 9, 2000
18,378
2
0
Well, i finally got Visual to work, but when I compile, it keeps telling that

"1>cl : Command line error D8045: cannot compile C file '..\..\..\..\..\Downloads\New folder\findboot.c' with the /clr option"

What am I missing? I have not done this on my own for ages. I looked it up and keeps referencing .NET.
 

Gibson486

Lifer
Aug 9, 2000
18,378
2
0
If I get a C++ compiler, does that also work for and encompass C?

I see GCC. For some reason, it looks very familiar. However, I only see tar files. Does this only run on Linux or Unix?
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Well, i finally got Visual to work, but when I compile, it keeps telling that

"1>cl : Command line error D8045: cannot compile C file '..\..\..\..\..\Downloads\New folder\findboot.c' with the /clr option"

What am I missing? I have not done this on my own for ages. I looked it up and keeps referencing .NET.

New MS compilers expect a .NET resource to be available from the OS.

This may be what you are missing.
By piecemealing; you may have missed key support files
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
If I get a C++ compiler, does that also work for and encompass C?

I see GCC. For some reason, it looks very familiar. However, I only see tar files. Does this only run on Linux or Unix?

C++ compilers should be able to handle any C code thrown at it.
 

Gibson486

Lifer
Aug 9, 2000
18,378
2
0
OK, so I installed MinGW, but now when I try to compile, it says there is no make path. When I installed MinGW, I just installed everything. What do i have to do to get to recognize the make path?
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
C++ compilers should be able to handle any C code thrown at it.

not necessarily with CLR support on though.

OP: I would stick with Visual C++ Express. it is the easiest option by far. just make sure when you create a project, don't create a .Net-based project but a Win32 Console project.
 
Last edited:

Gibson486

Lifer
Aug 9, 2000
18,378
2
0
I wasted half the day trying to get Neatbeans to work....hahahaha...oh well...it will not get passed the make part. I then installed code blocks, it worked right away. I will give Visual another shot. Thanks for the tip on project creation.
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
Well, i finally got Visual to work, but when I compile, it keeps telling that

"1>cl : Command line error D8045: cannot compile C file '..\..\..\..\..\Downloads\New folder\findboot.c' with the /clr option"

What am I missing? I have not done this on my own for ages. I looked it up and keeps referencing .NET.

If I recall correctly you can't compile C with the Visual Studio integrated compiler.

http://msdn.microsoft.com/en-us/library/bb384838.aspx