[try Beta version]
Not logged in

 
How to set up pdcurses on code blocks?

Apr 10, 2011 at 10:51pm
I've been trying to get pdcurses working in code blocks, unsuccessfully, for days now, and the website that supposedly has the easy installer (pdcurses.slashon.com) won't load. My current situation is that when I run the simple Hello World program, this error comes up: "undefined reference to 'stdscr'". Any help would be greatly appreciated.
Apr 12, 2011 at 12:36pm
Hello,I wanno to help you.Can you describe your problem in detail? What's pdcurses?
Apr 13, 2011 at 2:22am
pdcurses is a library that lets you display ascii characters on a grid with different character and background colours. Dwarf Fortress (google it) is an example of how you can use it for visuals.
My current problem is that I simply do not know how to properly set up a library properly, and every guide I have followed for similar problems has not worked.
Apr 13, 2011 at 1:52pm
It looks like you are not linking to the library.
Go to your project Build Options > Linker Settings > Add
And specify the path of the library binary file.
Last edited on Apr 13, 2011 at 1:53pm
Apr 14, 2011 at 11:32pm
That was one of the first things I did. It didn't work.
Apr 20, 2011 at 3:42am
Does anyone know some things I could try that might help?
Topic archived. No new replies allowed.