Browse Source

Fixed build errors in latest revision.

QGC4.4
Lionel Heng 14 years ago
parent
commit
881c874ec3
  1. 10
      qgroundcontrol.pri
  2. 2
      src/ui/map3D/GCManipulator.cc
  3. 1
      src/ui/map3D/Q3DWidget.cc

10
qgroundcontrol.pri

@ -135,7 +135,7 @@ macx { @@ -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++ { @@ -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 { @@ -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++ { @@ -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++ { @@ -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
}

2
src/ui/map3D/GCManipulator.cc

@ -254,7 +254,7 @@ GCManipulator::calcMovement() @@ -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();

1
src/ui/map3D/Q3DWidget.cc

@ -34,7 +34,6 @@ This file is part of the QGROUNDCONTROL project @@ -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)

Loading…
Cancel
Save