Hi, I am learning C++ on my own free time. Currently I am learning about curses.
I did a bit of research and downloaded PDcurses library. The IDE I am using is CodeBlocks and to add libraries it uses a plugin called Lib Finder. This is where my issue lies. The manual says:
"Currently LibFinder can search for wxWidgets 2.6/2.8,
CodeBlocks SDK and GLFW – the list will be extended in future.Note:
To get more details on how to add library support into LibFinder,
read src/plugins/contrib/lib finder/lib finder/readme.txt
in CodeBlocks sources."
I checked this out on the CodeBlocks site but the administration removed the link.
Any help on where to find this file or how to add libraries to CodeBlocks will be appreciated. Thank you very much!
Save it in the base directory of your MinGW installation (usually C:\MinGW\). Execute it to unzip all the appropriate headers, etc. You can delete the exe after that.
It has been a while since I've played with Code::Blocks, but you should be able to add "pdcurses" to the list of libraries to link. (On the command-line, it would be -lpdcurses. Some IDEs require you to list the file directly, which is libpdcurses[.a].)
Thanks Duoas, did it and the library works in code::blocks.
Just one more thing. There is a How-to for ncurses, does this work for pdcurses as well or is ncurses totally different from pdcurses.