View Single Post
Old 27 October 2021, 00:01   #1
Sim085
Registered User
 
Join Date: Apr 2009
Location: N/A
Posts: 962
How can I use third party libraries in my project?

I am trying to use a regex library in my project. I found this regex library from aminet but cannot understand how to include this in my project.

I compile my executable using a make file. I have placed regex.library in my project directory. I then edited my makefile with the -L. and -l flags as follows;

Code:
LIBS = -lamiga -lauto -L. -lregex
However when I try to compile I get an error message saying "Cannot open -lregex. No such file or directory."

I have tried -lregex.library or moving the regex.libraty to the System:Libs but to no avail.

Anyone knows how I can include a third party library to my project?
Sim085 is offline  
 
Page generated in 0.04900 seconds with 11 queries