aviralg / moogli

Other
1 stars 1 forks source link

Compile issue with gcc-5 (MacOSX) #10

Closed dilawar closed 9 years ago

dilawar commented 9 years ago

Seems like class Shapes is also exported by osg.

In file included from /Users/dilawar/Work/BhallaLab/moogli/moogli/bin/sip/moogli.sip:392:0:
/Users/dilawar/Work/BhallaLab/moogli/moogli/bin/include/shapes/Frustum.hpp:8:23: error: reference to 'Shape' is ambiguous
 class Frustum: public Shape
                       ^
/Users/dilawar/Work/BhallaLab/moogli/moogli/bin/include/shapes/Frustum.hpp:6:7: note: candidates are: class Shape
 class Shape;
       ^
In file included from /Users/dilawar/Work/BhallaLab/moogli/moogli/bin/include/utility/libraries.hpp:28:0,
                 from /Users/dilawar/Work/BhallaLab/moogli/moogli/bin/include/shapes/Frustum.hpp:4,
                 from /Users/dilawar/Work/BhallaLab/moogli/moogli/bin/sip/moogli.sip:392:
/usr/local/include/osg/Shape:48:18: note:                 class osg::Shape
 class OSG_EXPORT Shape : public Object
dilawar commented 9 years ago

python setup.py build works with same compiler. Strange! Problem is only with Cmake.