[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 165
  • Last Modified:

compiling a 3rd party library under linux

Hi,

As most of you know I'm trying to get somewhat up to speed with development under linux. I was able to compile and link to some simple example libraries I made myself using g++ just to see how linking works etc.

Now I have a massive 3rd party library I want to link to, but I need to compile it first (you just download the source files from their website and compile it). Under windows, I would use CMake to generate the vc++ project files and compile it. What do we do for linux? I see the source files include a Makefile file that I guess we can use to compile using g++? Where do I start?

Thanks for all your help
0
DJ_AM_Juicebox
Asked:
DJ_AM_Juicebox
  • 2
1 Solution
 
jkrCommented:
Usually, you'd start by cd'ing to that direcotry where the makefile resides and type

$ make config
$ make all
$ make install

which should perform all the necessary steps to configure, build and install the library.
0
 
jkrCommented:
BTW, the sources should also ship with som READMO or HOWTO file, I'd check that out forst.
0
 
Infinity08Commented:
>> BTW, the sources should also ship with som READMO or HOWTO file, I'd check that out forst.

dito ... certain libraries require different steps to be performed. If so, they will be detailed in the text files that come with the source.
0
 
DJ_AM_JuiceboxAuthor Commented:
thanks, seemed to work.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now