diff --git a/src/Demos/osgcluster/osgcluster.cpp b/src/Demos/osgcluster/osgcluster.cpp index 4c0b5fc6d..99fa40b72 100644 --- a/src/Demos/osgcluster/osgcluster.cpp +++ b/src/Demos/osgcluster/osgcluster.cpp @@ -111,7 +111,7 @@ class MySceneView : public osgUtil::SceneView { _bc.setBuffer(&cp, sizeof( CameraPacket )); _bc.sync(); - cout << "broadcasting death"< mySceneView = new MySceneView(viewerMode,socketNumber,camera_fov,osg::inDegrees(camera_offset)); mySceneView->setSceneData(rootnode); diff --git a/src/Demos/osgtext/Makefile b/src/Demos/osgtext/Makefile index a14ac6a63..809d3f606 100644 --- a/src/Demos/osgtext/Makefile +++ b/src/Demos/osgtext/Makefile @@ -15,7 +15,7 @@ TARGET_BIN_FILES = osgtext LIBS = -losgGLUT -losgText -losgUtil -losgDB -losg $(GLUTLIB) -lGLU -lGL -lm -lXmu -lX11 -lXi C++FLAGS += -I../../../include -g -LDFLAGS += -L../../../lib +LDFLAGS += -L../../../lib -L/usr/freeware/lib32 include ../../../Make/makerules diff --git a/src/Demos/osgtexture/osgtexture.cpp b/src/Demos/osgtexture/osgtexture.cpp index 07008467e..96b90aa53 100644 --- a/src/Demos/osgtexture/osgtexture.cpp +++ b/src/Demos/osgtexture/osgtexture.cpp @@ -14,6 +14,7 @@ #include #include + // // A simple demo demonstrating different texturing modes, // including using of texture extensions. @@ -71,7 +72,7 @@ ImageList getImagesFromFiles(int argc,char **argv) if (imageList.size()==0) { - osg::notify(osg::WARN) << "No image data loaded."< 0) && (_coordList.size() > 0)) { - GeoSet::setPrimLengths(_primLenList.begin()); - GeoSet::setCoords(_coordList.begin()); + osg::GeoSet::setPrimLengths(_primLenList.begin()); + osg::GeoSet::setCoords(_coordList.begin()); if ((_normalList.size() > 0) && (getNormalBinding() != osg::GeoSet::BIND_OFF)) - GeoSet::setNormals(_normalList.begin()); + osg::GeoSet::setNormals(_normalList.begin()); if ((_colorList.size() > 0) && (getColorBinding() != osg::GeoSet::BIND_OFF)) - GeoSet::setColors(_colorList.begin()); + osg::GeoSet::setColors(_colorList.begin()); if ((_tcoordList.size() > 0) && (getTextureBinding() != osg::GeoSet::BIND_OFF)) - GeoSet::setTextureCoords(_tcoordList.begin()); + osg::GeoSet::setTextureCoords(_tcoordList.begin()); return true; } diff --git a/src/osgPlugins/gif/Makefile b/src/osgPlugins/gif/Makefile index 1c141e85f..a154b0f12 100644 --- a/src/osgPlugins/gif/Makefile +++ b/src/osgPlugins/gif/Makefile @@ -10,8 +10,8 @@ TARGET_LOADER_FILES = osgPlugins/osgdb_gif.so LIBS = -lungif -C++FLAGS += -I. -I../../../include -LDFLAGS += -L../../../lib $(FREEBSD_LOCALLIBS) +C++FLAGS += -I. -I../../../include -I/usr/freeware/include +LDFLAGS += -L../../../lib $(FREEBSD_LOCALLIBS) -L/usr/freeware/lib32 include ../../../Make/makerules diff --git a/src/osgPlugins/png/Makefile b/src/osgPlugins/png/Makefile index 1e3c773f9..49fb82519 100644 --- a/src/osgPlugins/png/Makefile +++ b/src/osgPlugins/png/Makefile @@ -9,8 +9,8 @@ LIB = ../../../lib/osgPlugins/osgdb_png.so TARGET_LOADER_FILES = osgPlugins/osgdb_png.so LIBS = -lpng -C++FLAGS += -I../../../include -I/usr/local/include -LDFLAGS += -L../../../lib -L/usr/local/lib +C++FLAGS += -I../../../include -I/usr/local/include -I/usr/freeware/include +LDFLAGS += -L../../../lib -L/usr/local/lib -L/usr/freeware/lib32 include ../../../Make/makerules diff --git a/src/osgText/Makefile b/src/osgText/Makefile index 254d6fe80..cad599b9e 100644 --- a/src/osgText/Makefile +++ b/src/osgText/Makefile @@ -42,8 +42,14 @@ TARGET_INCLUDE_FILES = \ osgText/Text\ osgText/Version -C++FLAGS += -I../../include -I/usr/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -LDFLAGS += -L/usr/local/lib +C++FLAGS += -I../../include \ + -I/usr/include/freetype2 \ + -I/usr/local/include \ + -I/usr/local/include/freetype2 \ + -I/usr/freeware/include\ + -I/usr/freeware/include/freetype2 + +LDFLAGS += -L/usr/local/lib -L/usr/freeware/lib32 include ../../Make/makerules