User forums > Using Code::Blocks
how to properly set up a library?
ouch:
You could just forget making a library, and just add the source and header files associated with the functions you want directly into your project.
just right click on your project and add files, or add files recursively if you want to add a bunch. then compile your project.
blueeyedlion:
"(probably try -lmylib.lib)"
Try this how?
oBFusCATed:
Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F (and enable the full log)
-lmylib.lib is added in two places:
1. linker settings -> link libraries (don't use -l)
2. linker settings -> other linker options (this is not recommended)
blueeyedlion:
oh. method 1 was described in one of the earlier posts. I did it and it still wouldn't work.
blueeyedlion:
Is there any different compiler that would make using pdcurses easier?
Also I would like to remind you that I am using windows 7.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version