Hi there,
How did you make Dev C++ 4 work in Vista? I tried both 4 and 5 in my Vista, and they don't work out. I will appreciate it greatly!
Hi there,
How did you make Dev C++ 4 work in Vista? I tried both 4 and 5 in my Vista, and they don't work out. I will appreciate it greatly!
This thread was a post moved from I need C++ Compiler for MS Windows Vista.
If you want to use Dev-C++, use version 5 (or rather, 4.9.9.2). If that does not work, try the MinGW port of g++, which is the compiler used by Dev-C++ by default. If that works, you can use it with some other IDE, e.g., Code Blocks, Eclipse or Netbeans. If not, MSVC9 (from Microsoft Visual C++ 2008) is your best bet.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Hi,
Can you define work in more detail?
1) it will not load?
2) when it is loaded, it will not open enviroment?
3) i cannot compile my code?
If it installs fine, make sure when the icon pops up on desktop, right click on it, (um cant remember this bit exactly), but there is a compatable mode, select this and select xp mode. After this step it should run ok.
Hope this helps.
I had a problem compiling on Vista. Turns out saving the code in MyDocuments caused the error. I don't know if this is the problem, but hope it helps a little.
Hi,
Ok here is a long shot, i was using my embedded c compiler when vista first came out and i could not update my txt.c file when i ran or compiled my code. The solution was to go to my folder in my documents, right click on the folder and change the security paramerters on it - i think it could only read and not write to this folder. When i had changed this, it worked fine - vista has more security fetures over xp.
As i said this is a long shot, but since that happened i have changed the security setting of my code folder and all seems ok with dev-c++ as well as my embedded c compiler.
Hope this helps.
tuurbo46
Hi.
I didn't find any post that could help me with my problem, even a simple program like this, i still can't it get to work. I've tried some compilers that can't compile the same code, everyone of them use "their own way of writing c++" i don't understand why that's so, still i tried to compile this one,
i got this as a result.Code:#include <iostream> int main() { std::cout << "Hello world!" << std::endl; return 0; }
File Line Message
main.cpp 1 iostream: No such file or directory
main.cpp 5 error: `cout' is not a member of `std'
main.cpp 5 error: `endl' is not a member of `std'
Could anyone at least tell me what was wrong? (im using windows wista, Code::Blocks v1.0)
and i heard something about libstdc, but dont really get it how to get that to work.
Last edited by 2Newbie; 02-06-2008 at 12:49 PM.
I'm not familiar with codeblocks - but you have somewhere to specify the include files location, currently compiler is not able to find a file iostream
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
Thank you, that tells at least something ^_^
When I installed Dev-C++ 4.9.9.something under Vista, it didn't set the PATH, even though I ran the installer as the administrator. If you were getting errors to the effect that gcc/g++ could not be executed, you're likely having the same problem. To do it manually, do something like this:
- Click start.
- Right-click on Computer, and click properties.
- Choose Advanced settings, or something -- it's a hard-to-see link on the left hand side of the screen. It's the last link in the list, I believe.
- Choose the Environment Variables tab, or something.
- Add ;C:\Dev-C++\Bin to the end of the PATH variable.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
The path is to Dev-C++, (i got that compiler to) but i used CodeBlocks
(If wondering why, i tried to fix the SDL thing, but it doesn't work, can't even compile)
Wait -- you're trying to get SDL programs to compile? That's a bit tougher. I suggest you try reading this: http://lazyfoo.net/SDL_tutorials/index.php
However, there is a DevPak for the SDL that makes installing the SDL under Dev-C++ a cinch. Or so I hear. You might want to have a look at it.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
Well, thanks for that, was on that site, and SDL are working ^_^