Cannot find -liostream

Hello. My codeblocks hasn't worked since I turned on the PC today.The compiler literally can't find the iostream library and I don't know why. I gave it the right extension: .cpp when using c++ language.
This is the build log that showed up after rebuild:
1
2
3
4
5
6
7
8
9
10
11
12

Cleaned "ehusosoenflsfmsdk - Debug"

-------------- Build: Debug in ehusosoenflsfmsdk (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -Wall -fexceptions -g -std=c++0x  -c C:\Users\Andreutza\Desktop\ehusosoenflsfmsdk\main.cpp -o obj\Debug\main.o
mingw32-g++.exe  -o bin\Debug\ehusosoenflsfmsdk.exe obj\Debug\main.o   -liostream
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -liostream
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 

I use GNU GCC compiler , my current codeblocks version is 16.01. The thing is that I had a couple of moments ago the 10.05 version of codeblocks and I was given the same error. But i uninstalled it and I installed the current version, but it keeps returning that error. I installed the codeblocks from here: http://www.codeblocks.org/downloads/26#windows , choosing the forth option from the Windows XP/Vista etc section. I have windows 8.1 by the way. What could be the cause? Thank you very much!

EDIT: SOLVED BY ME, I'M A GENIUS
Last edited on
What is liostream?
Topic archived. No new replies allowed.