Commit 881c874e authored by Lionel Heng's avatar Lionel Heng

Fixed build errors in latest revision.

parent bf83aba1
......@@ -135,7 +135,7 @@ macx {
# osg/osgEarth dynamic casts might fail without this compiler option.
# see http://osgearth.org/wiki/FAQ for details.
#QMAKE_CXXFLAGS += -Wl, -E
#QMAKE_CXXFLAGS += -Wl,-E
}
# GNU/Linux
......@@ -204,7 +204,7 @@ linux-g++ {
# osg/osgEarth dynamic casts might fail without this compiler option.
# see http://osgearth.org/wiki/FAQ for details.
QMAKE_CXXFLAGS += -Wl, -E
QMAKE_CXXFLAGS += -Wl,-E
}
linux-g++-64 {
......@@ -268,7 +268,7 @@ linux-g++-64 {
# osg/osgEarth dynamic casts might fail without this compiler option.
# see http://osgearth.org/wiki/FAQ for details.
QMAKE_CXXFLAGS += -Wl, -E
QMAKE_CXXFLAGS += -Wl,-E
}
# Windows (32bit)
......@@ -339,7 +339,7 @@ win32-g++ {
# osg/osgEarth dynamic casts might fail without this compiler option.
# see http://osgearth.org/wiki/FAQ for details.
QMAKE_CXXFLAGS += -Wl, -E
QMAKE_CXXFLAGS += -Wl,-E
}
# Windows (64bit)
......@@ -377,5 +377,5 @@ win64-g++ {
# osg/osgEarth dynamic casts might fail without this compiler option.
# see http://osgearth.org/wiki/FAQ for details.
QMAKE_CXXFLAGS += -Wl, -E
QMAKE_CXXFLAGS += -Wl,-E
}
......@@ -254,7 +254,7 @@ GCManipulator::calcMovement()
if (buttonMask == GUIEventAdapter::LEFT_MOUSE_BUTTON)
{
// rotate camera
osg::Vec3d axis;
osg::Vec3 axis;
float angle;
float px0 = _ga_t0->getXnormalized();
......
......@@ -34,7 +34,6 @@ This file is part of the QGROUNDCONTROL project
#include <osg/Geometry>
#include <osg/LineWidth>
#include <osg/MatrixTransform>
#include <Carbon/Carbon.h>
Q3DWidget::Q3DWidget(QWidget* parent)
: QGLWidget(parent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment