I downloaded and installed ver. 4.9.9.2 but Dev-CPP does not create any executable file. I tried to install Dev-CPP on another PC and it works well. The only difference is visible in the compile log window. After every call to c++.exe the result is "shift scorretto" (incorrect shift). Strangely, the message is in Italian - I choose English language when installing. I used both a couple of projects I am working on, and the templates that come with Dev-CPP. I attempted rebuildindg from scratch, re-install Dev-CPP after restarting PC and so on, but it does not work at all. On both PCs I installed Dev-CPP in "G:\Programmi\dev-cpp\" but I can guess that this is not the cause of the problem because the software works fine on the second PC. Even stranger, when calling "make" using the Makefile generated by Dev-CPP within a DOS console, the executable file is generated and the program runs. All I can say is that the other PC has been formatted recently; instead, on the PC where Dev-CPP does not work I previously installed Mingw, Code::Blocks and cygwin. All have been removed but even when left only with Dev-CPP I get the troubles reported above. Of course I run a couple of registry cleaning softwares before attempting any installation.
Any help would be greatly appreciated, thank you very much
A.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Make sure that you have removed any MinGW or Cygwin related paths from your system's PATH environment variable, or add g:/programmi/Dev-Cpp/bin to PATH before other toolchains paths.
Dev-C++ sets its environment temporarily when you perform a build. Unfortunately its appends its path to PATH, when it should prepend it. i.e. it does:
PATH = %PATH%; g:/programmi/Dev-Cpp/bin
rather than
PATH = g:/programmi/Dev-Cpp/bin; %PATH%;
Consequently any GNU toolchains or remnants thereof, or tools with binaries with the same name as GNU tools that exist in PATH before Dev-C++ will interfere with a Dev-C++ build.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ooopss, excuse me please. I admit that I was not too careful in reading the guidelines for posting, I am sorry. All I can say is that I have not a flat connection and I was a bit pressed.
1) Version 4.9.9.2
2) Code: the empty console project (the same happens always, anyway...)
include <cstdlib>
include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
system("PAUSE");
return EXIT_SUCCESS;
}
The final result is a msg box: "project is not compiled". As a side note, I tried to install in the proposed default directory "C:\dev-cpp", and the result was exacty the same, paths apart.
Cheers
A.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everybody
I downloaded and installed ver. 4.9.9.2 but Dev-CPP does not create any executable file. I tried to install Dev-CPP on another PC and it works well. The only difference is visible in the compile log window. After every call to c++.exe the result is "shift scorretto" (incorrect shift). Strangely, the message is in Italian - I choose English language when installing. I used both a couple of projects I am working on, and the templates that come with Dev-CPP. I attempted rebuildindg from scratch, re-install Dev-CPP after restarting PC and so on, but it does not work at all. On both PCs I installed Dev-CPP in "G:\Programmi\dev-cpp\" but I can guess that this is not the cause of the problem because the software works fine on the second PC. Even stranger, when calling "make" using the Makefile generated by Dev-CPP within a DOS console, the executable file is generated and the program runs. All I can say is that the other PC has been formatted recently; instead, on the PC where Dev-CPP does not work I previously installed Mingw, Code::Blocks and cygwin. All have been removed but even when left only with Dev-CPP I get the troubles reported above. Of course I run a couple of registry cleaning softwares before attempting any installation.
Any help would be greatly appreciated, thank you very much
A.
Make sure that you have removed any MinGW or Cygwin related paths from your system's PATH environment variable, or add g:/programmi/Dev-Cpp/bin to PATH before other toolchains paths.
Dev-C++ sets its environment temporarily when you perform a build. Unfortunately its appends its path to PATH, when it should prepend it. i.e. it does:
PATH = %PATH%; g:/programmi/Dev-Cpp/bin
rather than
PATH = g:/programmi/Dev-Cpp/bin; %PATH%;
Consequently any GNU toolchains or remnants thereof, or tools with binaries with the same name as GNU tools that exist in PATH before Dev-C++ will interfere with a Dev-C++ build.
Clifford
Could you post your Basic 3 please?
Wayne
Ooopss, excuse me please. I admit that I was not too careful in reading the guidelines for posting, I am sorry. All I can say is that I have not a flat connection and I was a bit pressed.
1) Version 4.9.9.2
2) Code: the empty console project (the same happens always, anyway...)
include <cstdlib>
include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
system("PAUSE");
return EXIT_SUCCESS;
}
3) Compiler log:
Compiler: Default compiler
Building Makefile: "H:_root\c_bck_Y2\z99_DAS\Zn_01_client-02\Documenti_home\Makefile.win"
Executing make...
make.exe -f "H:_root\c_bck_Y2\z99_DAS\Zn_01_client-02\Documenti_home\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"g:/programmi/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"g:/programmi/Dev-Cpp/include/c++/3.4.2/backward" -I"g:/programmi/Dev-Cpp/include/c++/3.4.2/mingw32" -I"g:/programmi/Dev-Cpp/include/c++/3.4.2" -I"g:/programmi/Dev-Cpp/include"
shift scorretto
g++.exe main.o -o "Project1.exe" -L"g:/programmi/Dev-Cpp/lib"
shift scorretto
Execution terminated
Compilation successful
The final result is a msg box: "project is not compiled". As a side note, I tried to install in the proposed default directory "C:\dev-cpp", and the result was exacty the same, paths apart.
Cheers
A.