I am desperately trying to get dev-cpp to work using Vista.
I have typed the following code and put it in a file in a new project
include <conio.h>
include <stdio.h>
int main()
{
printf("Greetings Earthlings\n");
printf("All your base are belong to us\n");
getch();
}
I have followed the advice I could find on Vista and have added info to the paths on where to find certain exe commands etc, but I am STILL getting the following error and cant runt he program (When its in a project)
The toolchain keeps temporary files in the path defined by the TEMP environment variable, and that is set by the system to a folder within your user profile. My guess is that your user profile name contains a space "BABY JANE" for example!? The problem is that the toolchain baulks at paths with spaces.
Change your login's user name to somethiong without spaces, or set an alternative TEMP local variable name. Do this in the Control Panel "System" control dialog under Advanced->Environment variables, set the local user TEMP and TMP variables to c:\windows\temp
Note: your mileage may vary, I am using XP, so the exact procedure in Vista may differ.
Also, do not put your project in "My Documents" - that path will normally have spaces in it even if your user profile name does not.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually my user name is Baby&Fit.. maybe devcpp doesnt like the & symbol either? I changed the user name in Vista to something without spaces but GUESS WHAT..... the FOLDER names dont change and I cant seem to change them manually.. any idea on how to fix THIS VISTA glitch? BTW it still wont compile because I cant change the folders name.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You'll probably have to create a new profile rather than just change the user name. However there is no need. Place your projects somewhere other than within your user folder, and change teh environment variables as suggested and it will likely work.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I seem to recall seeing a report a while back with a special characters, maybe '&' leading to issues.
You can set your temp directory in your system variables if I recall correctly. I only have one computer that has Vista, and it doesn't have Dev on it.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am desperately trying to get dev-cpp to work using Vista.
I have typed the following code and put it in a file in a new project
include <conio.h>
include <stdio.h>
int main()
{
printf("Greetings Earthlings\n");
printf("All your base are belong to us\n");
getch();
}
I have followed the advice I could find on Vista and have added info to the paths on where to find certain exe commands etc, but I am STILL getting the following error and cant runt he program (When its in a project)
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
c:\dev-cpp\bin\make.exe -f "C:\Dev-Cpp\Makefile.win" all
c:\dev-cpp\bin\g++.exe -c main.c -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"
'C:\Users\BABY' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
c:\dev-cpp\bin\make.exe: *** [main.o] Error 1
Execution terminated
Can someone-- anyone please help me? I am so frustrated and have been trying to get this to work for some time now.. Please help>?
Thanks,
Winchester Brown
By the way I am using VISTA with version 4.9.9.2 of DEV CPP
I think I have listed the basic three which peopel would like to help answering problems.
-Wink Brown
'C:\Users\BABY' is not recognized as an internal or external command,
operable program or batch file.
What is the path is your project in? I suspect it has spaces in it.
Wayne
The toolchain keeps temporary files in the path defined by the TEMP environment variable, and that is set by the system to a folder within your user profile. My guess is that your user profile name contains a space "BABY JANE" for example!? The problem is that the toolchain baulks at paths with spaces.
Change your login's user name to somethiong without spaces, or set an alternative TEMP local variable name. Do this in the Control Panel "System" control dialog under Advanced->Environment variables, set the local user TEMP and TMP variables to c:\windows\temp
Note: your mileage may vary, I am using XP, so the exact procedure in Vista may differ.
Also, do not put your project in "My Documents" - that path will normally have spaces in it even if your user profile name does not.
Clifford
Actually my user name is Baby&Fit.. maybe devcpp doesnt like the & symbol either? I changed the user name in Vista to something without spaces but GUESS WHAT..... the FOLDER names dont change and I cant seem to change them manually.. any idea on how to fix THIS VISTA glitch? BTW it still wont compile because I cant change the folders name.
You'll probably have to create a new profile rather than just change the user name. However there is no need. Place your projects somewhere other than within your user folder, and change teh environment variables as suggested and it will likely work.
Clifford
I seem to recall seeing a report a while back with a special characters, maybe '&' leading to issues.
You can set your temp directory in your system variables if I recall correctly. I only have one computer that has Vista, and it doesn't have Dev on it.
Wayne