![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Recently downloaded the free command-line C++ compiler, installation went OK but on compiling my C++ code I get: Error E2194 Could not find file What could be the problem? I've verified the file name and confirmed there were no mistakes...
__________________ Everybody can but not everybody will. | |
| |
| | (permalink) |
| Have you set the path to the correct directory?. | |
| |
| | (permalink) |
| I did. Typing bcc32 on the console displays all the relevant parameters, Make, the compiler, linker and so on... or if you meant the path of the file I also did as well...
__________________ Everybody can but not everybody will. | |
| |
| | (permalink) |
| If you google you get lots of hits, try this reply: Re: [edit+] Editplus Guru please give me an advic: msg#00066 | |
| |
| | (permalink) |
| Does the path to the file you're trying to compile have spaces in it? If so, try compiling in a directory where the path doesn't have any spaces in it. Torben
__________________ Curiosity was framed. Ignorance killed the cat. | |
| |
| | (permalink) |
| Spaces in the path? Hmm... it does. C:\Documents and Settings\Desktop... But why would Borland design a compiler that hates spaces in the path? If this is the problem then I doubt if it's very good design... I'll try it though a little bit doubtful. About the link Nigel, I think my compiler is well set up. Thanks..
__________________ Everybody can but not everybody will. | |
| |
| | (permalink) | |
| Quote:
If you want to try free C++, I would first suggest g++ (under cygwin, if you're stuck using Windows), which is free and quite good. Another one which I've read good things about (but never tried) is call dev-c++. Good luck, Torben
__________________ Curiosity was framed. Ignorance killed the cat. | ||
| |
| | (permalink) | |
| Quote:
It's not a Borland problem, it's a Microsoft one, as they never used a decent file system - Linux or AmigaDOS have no such problems, both been based on UNIX file systems. | ||
| |
| | (permalink) |
| Thanks Nigel and Torben. I solved the problem by adding .txt to the end of my the file_name (I had written it in Notepad). The new problem now is the compiler cannot find stdio.h and similar header files. However I'll try re-downloading the compiler from another site and see whether that solves the problem...
__________________ Everybody can but not everybody will. Last edited by aibelectronics; 20th June 2008 at 03:12 PM. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
Torben
__________________ Curiosity was framed. Ignorance killed the cat. | ||
| |
| | (permalink) |
| Thanks. My compiler's "include" folder doesn't have stdio.h listed, the last listed was chstring.h, all header files beyond this are absent. I mean files like iomanp, time, stdlib are absent. Data Corruption? Maybe it was where I downloaded it from. I'm re-downloading another and since I'm not stuck to borland I'm open to other choices as well. About uploading pix I'll do that if will help though think we're communicating quite nicely :-)
__________________ Everybody can but not everybody will. | |
| |
| | (permalink) |
| Eeek. Notepad? Might I suggest you get a different text editor. Crimson editor is designed with programmers in mind, and it is free. It will make your life much easier. Homepage of Crimson Editor - Free Text Editor, Html Editor, Programmers Editor for Windows | |
| |
| | (permalink) | |
| Quote:
Torben
__________________ Curiosity was framed. Ignorance killed the cat. Last edited by Torben; 22nd June 2008 at 08:16 PM. Reason: Forgot to finish a sentence. | ||
| |
| | (permalink) |
| I've just started learning c and c++ and am using 'code::blocks' ide with wxWidgets. It all fits together very nicely and makes the process quick and simple so I can concentrate on learning the language rather than paths and text editors. It's available for different OS's as well so should keep Linux users happy. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| error message | gugs | General Electronics Chat | 2 | 22nd July 2007 09:41 PM |
| Error message | EXODUS | Micro Controllers | 3 | 1st March 2007 09:00 AM |
| Im getting the following error message for C Using PIC | faomari | Micro Controllers | 14 | 24th August 2006 09:04 AM |
| Error message | Roff | General Electronics Chat | 1 | 16th December 2003 04:15 PM |
| Error message | Roff | General Electronics Chat | 3 | 23rd May 2003 09:18 PM |