I tried to compile the hello world program included with the original, but it does not want to compile.
I have Windows XP
and the latest version of Dev-C++
Can you please help me?
This is what I get:
Compiler: Default compiler
Building Makefile: "E:\Dev-Cpp\Examples\Hello\Makefile.win"
Executing make...
make.exe -f "E:\Dev-Cpp\Examples\Hello\Makefile.win" all
g++.exe -c Hello.cpp -o Hello.o -I"E:/Dev-Cpp/include/c++/3.3.1" -I"E:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"E:/Dev-Cpp/include/c++/3.3.1/backward" -I"E:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"E:/Dev-Cpp/include" -fno-access-control -fdollar-in-identifiers
And please, do NOT repost. Anonymous posts take several minutes to appear. Please be patient. Duplicate posts take up storage space tha slows the forum down.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am really sorry about the re-post. My bad.
I do not know why it is turned on like that. I just downloadd the entire bloodshed program (with compiler) three days ago, so it is new. 4.9.9.1.
How do I turn off these options? That is, how can I make it work??
I am tottally new to this environment.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recommend, at least to start, that you try doing a clean uninstall (see the directions in the thread titled "The Forum FAQ - Please Read First" - fully delete Dev, then download 4.9.9.1 and install. Start by testing with a simple, non-project version of "Hello World" and see how that works
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have Cygwin on virtually all of my machines, and have not seen a conflict....but, everyone's setup can vary. It is entirely possible that you are doing something more sophisticated than I and having something weird happening on the path front.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried an uninstall and re-install before, but it didn't work, but both times I put them on the E:\ drive. The only thing I did different this time is that I put it in the C:\ drive and did a full install. It seems to work fine now.
Thanks Dr. Wayne.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to compile the hello world program included with the original, but it does not want to compile.
I have Windows XP
and the latest version of Dev-C++
Can you please help me?
This is what I get:
Compiler: Default compiler
Building Makefile: "E:\Dev-Cpp\Examples\Hello\Makefile.win"
Executing make...
make.exe -f "E:\Dev-Cpp\Examples\Hello\Makefile.win" all
g++.exe -c Hello.cpp -o Hello.o -I"E:/Dev-Cpp/include/c++/3.3.1" -I"E:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"E:/Dev-Cpp/include/c++/3.3.1/backward" -I"E:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"E:/Dev-Cpp/include" -fno-access-control -fdollar-in-identifiers
process_begin: CreateProcess((null), C:/cygwin/bin /sh.exe -c "g++.exe -c Hello.cpp -o Hello.o -I\"E:/Dev-Cpp/include/c++/3.3.1\" -I\"E:/Dev-Cpp/include/c++/3.3.1/mingw32\" -I\"E:/Dev-Cpp/include/c++/3.3.1/backward\" -I\"E:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include\" -I\"E:/Dev-Cpp/include\" -fno-access-control -fdollar-in-identifiers", ...) failed.
make (e=5): Access is denied.
make.exe: *** [Hello.o] Error 5
Execution terminated
Thanks SO much
Why do you have strange compile options like
-fno-access-control -fdollar-in-identifiers
turned on?
What is this?:
process_begin: CreateProcess((null), C:/cygwin/bin /sh.exe
Are you trying to wire to your cygwin compiler?
And please, "newest" is not useful information, as I have had folks tell me a compiler 50 versions old was "newest" - always give version number.
Wayne
And please, do NOT repost. Anonymous posts take several minutes to appear. Please be patient. Duplicate posts take up storage space tha slows the forum down.
Wayne
I am really sorry about the re-post. My bad.
I do not know why it is turned on like that. I just downloadd the entire bloodshed program (with compiler) three days ago, so it is new. 4.9.9.1.
How do I turn off these options? That is, how can I make it work??
I am tottally new to this environment.
Do you have Cygwin?
I recommend, at least to start, that you try doing a clean uninstall (see the directions in the thread titled "The Forum FAQ - Please Read First" - fully delete Dev, then download 4.9.9.1 and install. Start by testing with a simple, non-project version of "Hello World" and see how that works
Wayne
I will try to do that. And yes I do have Cygwin, will this conflict?
Thank you for your time.
I have Cygwin on virtually all of my machines, and have not seen a conflict....but, everyone's setup can vary. It is entirely possible that you are doing something more sophisticated than I and having something weird happening on the path front.
Wayne
Or the environment variable front.
Wayne
Thanks Wayne!
I tried an uninstall and re-install before, but it didn't work, but both times I put them on the E:\ drive. The only thing I did different this time is that I put it in the C:\ drive and did a full install. It seems to work fine now.
Thanks Dr. Wayne.
You did the hard work! Good job!
Wayne