-
bad libraries or what?
when I try to compile a DEV-C++ example or an allegro for DEV-C++ example the compiler says that the linker cant find the functions the program requires, but I have the allegro and the dev-c++ installed perfectly, so... why cant the linker find that functions??
HELPEEEE!!!
-
Are you including the libraries in your project? I do not know how to do it in dev-C++, but you need to do it to have them included in your program.
- Sean
-
Just remember that including the header file does not automatically include the actual library. You have to specify the libraries that you wish to link.
-
For instance: if you are trying to link libwinmm.a, you would go to Compiler->Options, check-mark the box that says "include the following compiler commands" or something, and type:
-lwinmm
for libwsock32.a, you would type:
-lwsock32
...and so on...