I have a static library that I am trying to link into a program I am creating. The .lib CONTAINs modules with functions and subroutines inside. When I compile the main program, I get the following compiler error: "Error: Error in opening the Library module file." It seems that the compiler is looking for the .mod files during the link process. I know this because the error went away when I copied the .mod files from the library folder and put them into the main program folder. Do I always have to manually put the .mod files into the compile path or is there just a setting somewhere that will do all this for me? Or does this have something to do with the way I linked the library?
Thanks for any light you can shed on this!