in my .pro file ....
win32 { LIBS = -lOpenThreads \ -lopengl32 \ -losg \ -losgDB \ -losgGA \ -losgUtil \ -losgText \ -losgViewer \ -losgShadow \ -losgParticle \ -losgAnimation \ ..... 2010/12/7 Cracj Kurt <couple...@mail.ru>: > 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 > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Maxim Gammer _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org