Codeblocks doesn't work on windows 8 or 8.1

Hi guys,
I really need your help. I just purchased a new laptop, it has windwos 8 operating system, and I am trying to practice my c++ code, but it gives me error and doesn't output. Please help...
Here is what I get when I run simple "Hello world" program.

||=== Build: Debug in codeblocks_testing (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lsndfile|
ld.exe||cannot find -lglew|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 2 second(s)) ===|

Thanks in advance,
Try codeblocks-13.12mingw-setup.exe
from
http://www.codeblocks.org/downloads/26
Well, it looks like the libraries 'sndfile' and 'glew' are either missing or not in the path.
It doesn't look like they are part of GCC. So you need to add them to your project.
But at the same time, you shouldn't need either 'glew' or 'sndfile' for a simple "Hello World" example. I'd say start a fresh, new project OP. Make sure it's organized into it's own folder so that you don't have any remnants of any other projects getting in the way.

I run Code::Blocks on Windows 8. It can be a pain at times and I have it set to running in compatability mode because of I forget which libraries but it certainly does work. After you get comfortable with the basics, consider moving it over to MingW64; it's well worth any initial frustration setting it up causes.
Topic archived. No new replies allowed.