View Single Post
  #3   (View Single Post)  
Old 9th May 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Whoever wrote the compilation instructions is an ass.

You must tell GCC where it can find A.) any needed libraries that are outside the standard paths, and B.) any needed include files that are outside the standard paths. Unless you wish to invoke the linker or the pre-processor directly, in which case you have to tell them instead of the gcc front end, respectively.

Add -I/usr/local/include -L/usr/local/lib to the compilation command.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote