Talk:Compilation on Linux

From Stellarium Wiki
(Difference between revisions)
Jump to: navigation, search
 
(Undo revision 11525 by Ccm001 (talk) Removed spam)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Compiling on Ubuntu==
+
==Subversion development version 1545 Boost error?==
  
With a normal install of Ubuntu 5.10, I also needed to install automake and the freetype library to compile Stellarium.
+
I'm running into problems with the latest SVN code (1545). When doing "make", I get this error.  It's something to do with the Boost library, but I can't resolve it.
 +
stelmodule.h: In member function ‘ValueType StelModule::getProperty(const std::string&)’:
 +
stelmodule.h:106: error: no matching function for call to ‘StelModule::propertyAccessor::get() const’
 +
 
 +
I've done
 +
./configure --with-boost=./configure --with-boost=/usr/local/include/boost/
 +
but on "make" I still run into the same error.
 +
Fabien has added a macro to seek the boost library on configure, but the error remains.
 +
 
 +
== mkinstalldirs ==
 +
 
 +
A file of "mkinstalldirs" is included in 0.8.2 tar ball. I think that it only have to be copied for svn version. And in Ubnutu 6.10, directory which exist "mkinstalldirs" is <code>/usr/share/automake-1.9/</code>.--[[User:Sigma|Sigma]] 02:46, 7 February 2007 (PST)
 +
 
 +
===Barry's GL file problems on Ubuntu===
 +
#gl.h and glext.h need to be present in /usr/include/GL. On one install this was missing, and for some reason the package which provides them - mesa-common-dev - mysteriously didn't.  In this case, fetching the source with "apt-get source mesa-common-dev" and manually copying the files worked. A bug in the original mesa driver files gave some display problems. down loading the mesalib-6.5.2.tar from www.mesa3d.org, recompiling and installing the libraries also removed the problem.
 +
#If trouble is experienced in installing the libboost-thread-dev and libboost-filesystem-dev, they are held in the universe repository. Enable this repository in the Synaptic package manager - settings menu-repositories.

Latest revision as of 13:08, 19 August 2011

[edit] Subversion development version 1545 Boost error?

I'm running into problems with the latest SVN code (1545). When doing "make", I get this error. It's something to do with the Boost library, but I can't resolve it.

stelmodule.h: In member function ‘ValueType StelModule::getProperty(const std::string&)’:
stelmodule.h:106: error: no matching function for call to ‘StelModule::propertyAccessor::get() const’

I've done

./configure --with-boost=./configure --with-boost=/usr/local/include/boost/

but on "make" I still run into the same error. Fabien has added a macro to seek the boost library on configure, but the error remains.

[edit] mkinstalldirs

A file of "mkinstalldirs" is included in 0.8.2 tar ball. I think that it only have to be copied for svn version. And in Ubnutu 6.10, directory which exist "mkinstalldirs" is /usr/share/automake-1.9/.--Sigma 02:46, 7 February 2007 (PST)

[edit] Barry's GL file problems on Ubuntu

  1. gl.h and glext.h need to be present in /usr/include/GL. On one install this was missing, and for some reason the package which provides them - mesa-common-dev - mysteriously didn't. In this case, fetching the source with "apt-get source mesa-common-dev" and manually copying the files worked. A bug in the original mesa driver files gave some display problems. down loading the mesalib-6.5.2.tar from www.mesa3d.org, recompiling and installing the libraries also removed the problem.
  2. If trouble is experienced in installing the libboost-thread-dev and libboost-filesystem-dev, they are held in the universe repository. Enable this repository in the Synaptic package manager - settings menu-repositories.
Personal tools
Namespaces
Variants
Actions
in this wiki
other languages
Toolbox