Hamza
10/29/2018, 12:24 AMheaders = git2.h
linkerOpts.osx = -L/opt/local/lib -L/usr/local/lib -lgit2
linkerOpts.linux = -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu -lgit2
headerFilter = git2/** git2.h
Why is this using .h files? And if I have .a files what reference should I follow to get it working?Hamza
10/29/2018, 1:58 AMheaders = glfw3.h
staticLibraries = libglfw3.a
libraryPaths = /Users/32350/Downloads/GLFW
compilerOpts = /Users/32350/Downloads/GLFW
that path: Downloads/GLFW:Hamza
10/29/2018, 3:12 AMolonho
10/29/2018, 5:43 AMHamza
10/29/2018, 8:09 AMHamza
10/29/2018, 8:11 AMpackage = glfw
headers = GLFW/glfw3.h
compilerOpts=-I/usr/local/include
linkerOpts= -lGLFW -L/usr/local/lib
, but im not sure what that -l and -I, and the -L means.Deactivated User
10/29/2018, 10:28 AM-I
is the folder where .h
files are searched for. The I stands for include.
Similarly the -L
(that stands for library) indicates folders to search for libraries .a
files in unix or .lib
on windows. The -l
lower case is for libraries too, but indicates the library to be loaded found in the specified folders.
When specifying -lGLFW
it will search for a libGLFW.a
file in /usr/local/lib
in your case.
And in your case the the include would be loaded from /usr/local/include/GLFW/glfw3.h
Hamza
10/29/2018, 2:50 PM