LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compiling a C++ program from source. (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-a-c-program-from-source-612064/)

Kernel Mustard 01-08-2008 02:30 PM

Compiling a C++ program from source.
 
Hello.

I am trying to install the program golb (http://golb.sourceforge.net/) from source.

I have tried the usual "./configure", "make" etc but there are no configuration or make files.

The files have extensions such as ".pro", ".h" and ".cpp". It was written in C++, so do I need to compile it using a C++ compiler?

The files did not come with any readme and I cannot find anything useful on the program's website.

Sorry about my n00bishness :P.

Thanks in advance.

jlgreer1 01-08-2008 03:39 PM

A pre-compiled binary is available for linux: This was near the bottom of the sourceforge page ----

As of golb 2.0.0 it has the following dependencies:

Qt 4
SQLite 2.X and/or SQLite 3.X for Qt 4
TagLib
If you want to use golb under linux with SQLite 2.X it is still possible to use version 1.0.0 of golb, which only has the following dependencies:

SQLite 2.X
TagLib
This project is hosted on the open source development website SourceForge.net.

The following downloads are available:

golb 2.0.0 x86 linux binary - The compiled application for linux.
golb 2.0.0 x86 Windows binary - The compiled application for Windows.
golb 2.0.0 source code - The complete source code.
golb 1.0.0 x86 linux binary - The compiled application for linux.
golb 1.0.0 source code - The complete source code.


The above lines are links to compiled code. (When accessed from SourceForge)

fos

andrems 01-08-2008 03:44 PM

The .pro is a file used by Trolltech's qmake, which is used to create makefiles.

Code:

qmake -o Makefile golb-linux.pro
should generate the Makefile. Then
Code:

make
to compile

Kernel Mustard 01-09-2008 09:40 AM

That's excellent.

Thank you all for your help, it has been invaluable!


All times are GMT -5. The time now is 07:44 AM.