Home » Community » Newbie corner » The linker does not find a .lib file
The linker does not find a .lib file [message #49429] |
Fri, 09 February 2018 12:27 |
Giorgio
Messages: 218 Registered: August 2015
|
Experienced Member |
|
|
Hi there,
this is probably a really silly question.
I am writing an application who will communicate with a device through a RS232 port. I am using a library called "serial" downloaded from the web. I have built the library (using Visual Studio, as per instructions, because there is a visual studio project file included in the package) and obtained a file called "serial.lib". I created a directory called "serial" (in the same directory where my application directory is) and copied the headers file in it. Then I included the header file in my UPP project (#include <serial/serial.h>) and put the .lib file in c:\libraries. Then in UPP: Setup->Build methods, in the LIB directories tab, I added C:\libraries. The application compiles successfully, but I get a LNK2019 error from the linker.
Thanks for any help.
Gio
|
|
|
|
|
Goto Forum:
Current Time: Thu Mar 28 19:04:22 CET 2024
Total time taken to generate the page: 0.01578 seconds
|