Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
Screenshot
I did use <iostream> as recommended in some answers, but it still says iostream is missing.
Console says: "No such files or directory" and "Compiler Unknown".
The missing header iostream is delivery by any compiler package. So, probably, you do not installed it or you configured it badly.
1.you have created the project as c program please select c++ in code blocks
(ref screen shot)
2.Download and install only the file with name
codeblocks mingw-setup.exe.(since mingw complier will be installed automatically).
3.try reinstalling code:blocks
and you need not use std before cout
since you have used the using namespace std; statement
see the screen shot
hope it works!
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have Win7 (x64), installed Microsoft .NET Framework 4.5.2 and Visual C++ Redistributable for Visual Studio 2013 but my MySQL Workbench can not get running. When I try to open it, it doesn't display any error message or anything else. It just doesnt want to start.
I also searched for help and some people recommend to delete folder in C://Users/*****/AppData/Roaming/MySQL/Workbench and I did, but nothing's changed.
Please help, thank you!
I tried to install x32 version and now everything works fine, which is really odd because my Win7 is x64, but problem solved.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I am using eclipse gcc on windows7, with intel core i5 cpu. i tried building the project. however, it end up with an error, saying #error "SSE instruction set not enabled". The location pointed to c:\mingw\x32-4.8.1-posix-dwarf-rev5\mingw32\lib\gcc\i686-w64-mingw32\4.8.1\include\xmmintrin.h
I wonder if anybody can provide some help. Thanks.
the problem was due to the fact that i was using MinGW x32 instead of MinGW x64
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When I enter:
man gcc
I get "No manual entry for gcc". The same thing happens with g++. Why am I getting this and how can I fix it?
I have both gcc and g++ but it just doesn't seem to work when I use it on the Cygwin terminal. I'm on Windows.
You don't have the help files (aka man pages) for gcc or g++ installed in cygwin. You need to re-run the cygwin setup*.exe and select it to be installed. I'm not sure which package it is though.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 9 years ago.
Improve this question
I'm learning opengl using c++.I am using ubuntu and used i586-mingw32msvc-g++ -o output1 openWindow.cpp to build the file it is building without error but when executable file opened it is giving error : An error occurred while loading the archive. Can anyone help me to start with openGL using cpp.
You are using a cross-compiler for Windows, and you are trying to run the binary on Linux (I assume ubantu is a linux distribution).
Just use normal g++ from apt-get install g++.
Here's a GLFW usage example, if you'd like to see some code. GLFW is cross-OS, so it will still work when compiled on windows (by appropriate compiler, obviously). It also has build instructions.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Have you had success installing ANN recently? (http://www.cs.umd.edu/~mount/ANN/)
In my computer and using the latest version available on the website, I seem to be able to install it from running make. But I can't correctly compile a program that uses it. According to the official manual you just have to compile with g++ a.cpp -Iann/include -Lann/lib -lANN but my compiler returns:
fatal error: ANN/ANN.h: No such file or directory
Has anybody been able to install it in Fedora or other linux system? Or do you have any idea of how to get it to work?
Thanks!
I just managed to solve it by changing "ann" by the path to the library root directory in "g++ a.cpp -Iann/include -Lann/lib -lANN".