Hi,
i have *.pro
Code:
QT += core
QT -= gui
TARGET = untitled
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp
INCLUDEPATH += D:/openscenegraph/OpenSceneGraph/include/
INCLUDEPATH += D:/openscenegraph/OpenSceneGraph/include/osg
INCLUDEPATH += C:/Qt/2010.05/qt/src/opengl
LIBS +=D:/openscenegraph/OpenSceneGraph/lib/osgd.lib
path
D:/openscenegraph/OpenSceneGraph/lib/
is exist.
But have error
Code:
error: undefined reference to `_imp___ZN3osg8GeometryC1Ev
'
Code is very easy
Code:
#include <QtCore/QCoreApplication>
#include <osg/Geode>
#include <osg/Geometry>
#include <iostream>
osg::ref_ptr<osg::Node> createSceneGraph()
{
osg::ref_ptr<osg::Geometry> geom = new osg::Geometry;
}
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
return a.exec();
}
Whats wrong?
Thank you!
Cheers,
Cracj[/code][/quote]
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34574#34574
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org