Closed GoogleCodeExporter closed 8 years ago
Hello,
I have checked the mac environment installation and I think that one of the
following solutions can solve your problem.
First, check that your TDE_ROOT variable is correctly defined. To define this
environment variable read
http://code.google.com/p/tonatiuh/wiki/BuildingTonatiuhOnMac.
If this variable is ok, the problems could be that the marble headers are not
in the
path that we need. To check open a shell and type:
cd /usr/local/include/marble
ls
If the files are not there go to the marble download and build directory and
type
mkdir /usr/local/include/marble
cp src/lib/*.h /usr/local/include/marble
cp src/lib/AbstractLayer/*.h /usr/local/include/marble
cp src/lib/geodata/*.h /usr/local/include/marble
cp src/lib/geodata/data/*.h /usr/local/include/marble
cp src/lib/geodata/handlers/dgml/*.h /usr/local/include/marble
cp src/lib/geodata/handlers/gpx/*.h /usr/local/include/marble
cp src/lib/geodata/handlers/kml/*.h /usr/local/include/marble
cp src/lib/geodata/parser/*.h /usr/local/include/marble
cp src/lib/geodata/scene/*.h /usr/local/include/marble
cp src/lib/gps/*.h /usr/local/include/marble
cp src/lib/Projections/*.h /usr/local/include/marble
cp src/lib/libmarblewidget.* /usr/local/lib
I hope this helped you,
Amaia
Original comment by amaiamut...@gmail.com
on 24 Jul 2009 at 10:43
Hello,
copying all of these files, and also those in src/lib/geodata/data/*.h, and
adding
/usr/local/include/marble
/usr/local/lib
to the "Paths and Symbols" list helped me to go one step closer. Thank you.
However, now I get errors like these when building MapDialog.h:
src/MapDialog.h:79: error: using-declaration for non-member at class scope
src/MapDialog.h:79: error: expected ';' before '*' token
src/MapDialog.h:80: error: using-declaration for non-member at class scope
src/MapDialog.h:80: error: expected ';' before '*' token
src/MapDialog.h:81: error: using-declaration for non-member at class scope
src/MapDialog.h:81: error: expected ';' before '*' token
src/MapDialog.cpp: In constructor 'MapDialog::MapDialog(QWidget*)':
src/MapDialog.cpp:64: error: class 'MapDialog' does not have any field named
'm_marbleWidget'
src/MapDialog.cpp:64: error: class 'MapDialog' does not have any field named
'm_control'
... (a long list of errors follow)
and compilation stops.
The relevant lines at MapDialog.h are:
78: private:
79: Marble::MarbleWidget* m_marbleWidget;
80: Marble::MarbleControlBox* m_control;
81: Marble::MapThemeManager* m_mapThemeManager;
82: QSplitter* m_splitter;
########
Have you considered making available a precompiled binary version, just for
clumsy
users like me?
Thank you very much for your help.
Best regards,
Emilio
Original comment by emmur...@gmail.com
on 24 Jul 2009 at 6:11
Hi Emilio,
I have created a setup for Tonatiuh for Mac and Windows binaries. You can
download
them from downloads site.
Thank you very much for your inputs. If you have more problems with the
Tonatiuh
installation, write them at “Tonatiuh discussion forum”. From now, we like
to
reserve the Issue site for the Tonatiuh bugs. We hope to solve them quickly.
For the wiki errors add a comment to the page.
Thank you,
Amaia
Original comment by amaiamut...@gmail.com
on 31 Jul 2009 at 10:25
Original issue reported on code.google.com by
emmur...@gmail.com
on 15 Jul 2009 at 6:02