|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Bloodshed Dev C++ - Trouble in Windows Vista
I'm a beginning computer science student & I'm taking an intro. to C programming course this semester.
I've been using & got comfortable with this IDE but ever since upgrading (downgrading?) to Vista I've been having trouble with it. I've searched for sulutions here and in other message boards but I seem to be having an unusual problem. **My program compiles correctly and I get no error message, but when I try to run the program I get an error message saying "Source file not compiled".** I've done a fresh install of Dev++ several times thinking there may have been something wrong with my installation but to no avail. I'm also having trouble installing Visual Basic ( )Any help would be appreciated. THANKS! |
|
#2
|
|||
|
|||
|
Intersting. I wonder if the new security model in Vista is interfering with your Dev++ installation? I'm only speculating here becuase no one else has jumped in yet to help you. I haven't got Dev++ isntalled on my current workstation and I do not run Vista.
Have you searched around for yourProgram.exe? Hmm.... try to create a new project, write a really simple program, compile and run it. If that works, then you probably have some issues with the project tree layout or something. Perhaps the Dev++ installer is Vista aware and expects things to be in different places? If that doesn't work, then there may be an issue with the Dev++ installer on Vista. Did you launch the installer as Admin? It's been a few months since I last ran tests on Vista, but I seem to recall there's a way to launch a program with elevated administrator rights. Just being logged on as administrator is no longer enough for some things. Check you event logs for any messages from the Dev++ installer.
__________________
It's not always a matter of what you can do with a language, but whether you should. [JwD] |
|
#3
|
|||
|
|||
|
Quote:
Thanks for the reply. I did write a simple Hello, world program just to be sure that my program just isn't compiling properly due to some programming error & that still didn't work. I do save my projects in a folder in My Documents (not in the default C:\Dev-Cpp\). That may be causing the problem. I will try to install again & make sure I'm installing in the proper place & with enough rights. |
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
Quote:
oh. no it doesn't exist anywhere. No executable is actually created. |
|
#6
|
||||
|
||||
|
Do a "rebuild all (ctrl-F11)"
Then choose the "Compile Log" tab at the bottom of the screen, there should be a pane showing all the commands the compiler executed. If you right-click in the text pane, you can copy (and then paste) what actually happened. We might be able to figure something from that. Eg Code:
Compiler: Default compiler Building Makefile: "C:\Documents and Settings\xxx\My Documents\code\forum\Makefile.win" Executing make clean rm -f main.o forum.exe g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" g++.exe main.o -o "forum.exe" -L"C:/Dev-Cpp/lib" Execution terminated Compilation successful
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut. |
|
#8
|
|||
|
|||
|
Let's see here
Code:
Compiler: Default compiler Compiler: Default compiler Executing gcc.exe... gcc.exe "C:\Users\Ginan\Documents\_School Ish\cop3223\Programs\Program 5\retail.c" -o "C:\Users\Admin\Documents\cop3223\Programs\Program 5\retail.exe" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" gcc.exe: installation problem, cannot exec `cc1': No such file or directory Execution terminated Compilation successful |
|
#10
|
||||
|
||||
|
Quote:
[edit] Actually it is not just the GNU tools the Dev-C++ IDE itself has some bugs associated with spaces in project paths. Clifford Last edited by clifford : April 10th, 2007 at 05:54 AM. |
|
#11
|
||||
|
||||
|
You seem to be missing the cc1.exe file (still not sure what that thing really does). Reinstalling Dev-C++ should fix it.
(Love the "Compilation successful" message...) |
|
#12
|
|||
|
|||
|
Quote:
cc1 is the preprocessor. Kurt |
|
#13
|
|||
|
|||
|
cc1 is there. I am having the same issue. I have also re-installed several times. I am willing to bet that no one has it working on Vista yet. I played with the directories and the "cannot find cc1" error went away, now I have several other errors. Before anyone post a reply please install and test with Vista. PS. I did a full removal each time before re-installing.
|
|
#14
|
||||
|
||||
|
Get off Dev-Cpp. I use it to reply to specific examples, but it sucks. It's an orphan. It's not much good, and no one cares, anymore. It was used for practice by aspiring geeks, but they've moved on.
You should move on, too.
__________________< |