Welcome to Dream.In.Code
Become a C++ Expert!

Join 149,916 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,109 people online right now. Registration is fast and FREE... Join Now!




darn compiler

 
Reply to this topicStart new topic

darn compiler

revenge2
4 Jan, 2008 - 04:14 AM
Post #1

New D.I.C Head
*

Joined: 25 Dec, 2007
Posts: 25


My Contributions
Hey, bin having issues with my devC++, so i uninstalled and tried using code::blocks, but neither of them worked. The problem with devC++ (im running vista home) was that when compiling single source files it completed without any problems but when i tried to run the compiled source it said "file not compiled!"

So eventually i found away around this, and this was to create a project file each time i wanted to compile something, so i would have to make project to just compile a few line of code.


Anyway today i download minGW and installed it, and now the devC++ doesnt work "completely" (not even when compiling a project (i skrewdit up even more crazy.gif)

what do i do? crazy.gif Please any help would be appreciated, or any steps to getting everything working.
I dont need much, i just need something that will compile my code for learning.

-thanks rev2 biggrin.gif
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Darn Compiler
4 Jan, 2008 - 05:26 AM
Post #2

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,351



Thanked: 51 times
Dream Kudos: 25
My Contributions
When you are using an IDE like DevC++, you have to understand that they are built to use projects, like Visual Studio. that's the way they package code. If you wish to compile and run single files without putting them in a project, I suggest you simplify your compiler choice - perhaps a command line implementation like Cygwin's g++/gcc compiler.

DevC++ uses the mingw port of the gcc complier already - by downloading and installing another version of that compiler, it is possible that some wires have been crossed. Without elaboration as to what 'not working "completely" ' means, it's difficult to suggest other alternatives except to uninstall both, and reinstall one or the other.
User is online!Profile CardPM
+Quote Post

revenge2
RE: Darn Compiler
4 Jan, 2008 - 05:52 AM
Post #3

New D.I.C Head
*

Joined: 25 Dec, 2007
Posts: 25


My Contributions
ahh rite biggrin.gif .....sorry im new to the business and i got no clue what minGW or Gcc are exactly, but i believe i may have found my fault. I have a visual c++ 2008 sdk/tools for win32/.NET framework, installed...so i guess i should uninstall that as well, with the minGW,

and see what happens from there blink.gif.
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Darn Compiler
4 Jan, 2008 - 06:00 AM
Post #4

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,351



Thanked: 51 times
Dream Kudos: 25
My Contributions
VC++ should be OK...it used a different compiler completely.
User is online!Profile CardPM
+Quote Post

revenge2
RE: Darn Compiler
4 Jan, 2008 - 06:06 AM
Post #5

New D.I.C Head
*

Joined: 25 Dec, 2007
Posts: 25


My Contributions
Success!!!, cheers, it works now!;) btw, how would i get this program to work?
http://www.fifsoft.com/relo/
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Darn Compiler
4 Jan, 2008 - 06:11 AM
Post #6

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,351



Thanked: 51 times
Dream Kudos: 25
My Contributions
What's the problem with it?
User is online!Profile CardPM
+Quote Post

revenge2
RE: Darn Compiler
4 Jan, 2008 - 06:16 AM
Post #7

New D.I.C Head
*

Joined: 25 Dec, 2007
Posts: 25


My Contributions
cant compile using that, has default minGW (which works now)...... are they any lightweight IDE's like this?
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Darn Compiler
4 Jan, 2008 - 06:19 AM
Post #8

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,351



Thanked: 51 times
Dream Kudos: 25
My Contributions
When you say you can't compile, are you getting errors? what are they? i've not used that particular software, so may have to ask some basic questions here...
User is online!Profile CardPM
+Quote Post

revenge2
RE: Darn Compiler
4 Jan, 2008 - 06:22 AM
Post #9

New D.I.C Head
*

Joined: 25 Dec, 2007
Posts: 25


My Contributions
No errors, just says could not initialize compiler...
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Darn Compiler
4 Jan, 2008 - 06:27 AM
Post #10

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,351



Thanked: 51 times
Dream Kudos: 25
My Contributions
Hmmm...unfortunately, that's a bit outside the realm of C++ itself, and into specific software. You may wish to ask on the forums dedicated to this product on sourceforge:

http://sourceforge.net/forum/?group_id=56346

http://sourceforge.net/projects/fidel/

User is online!Profile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 1/8/09 02:30PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month