I've seen many following references: command to compile c files with .a files
I have a .cpp file I am trying to compile. I have in addition to this the .h file and 2 .a files. 
g++ 1_SDKinfo.cpp -L. -l l* -o a.out -v
g++ 1_SDKinfo.cpp -L ../Lib/mac32_64 -lR3DSDK -lR3dSDKllvm -o a.out -v
I've tried many variants of this, but keep getting errors like
ld: library not found for -llibR3DSDK.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Directory of Files
1_SDKinfo.cpp       R3DSDKDecoder.h     R3DSDKOpenCL.h      REDCuda.dylib       REDR3D.dylib
R3DSDK.h        R3DSDKDefinitions.h R3DSDKRocket.h      REDDecoder.dylib    libR3DSDK.a
R3DSDKCuda.h        R3DSDKMetadata.h    R3DSDKStream.h      REDOpenCL.dylib     libR3DSDKllvm.a
How exactly am I supposed to compile this? edit: mac os
 
    