First batch of changes required for MacOS X build. Orignal submission from
Phil Atkin, merged by Robert Osfield.
This commit is contained in:
@@ -13,8 +13,9 @@ TARGET_BIN_FILES = osgtext
|
||||
|
||||
#note, standard library list.
|
||||
LIBS = -losgGLUT -losgText -losgUtil -losgDB -losg $(GLUTLIB) $(GL_LIBS) $(X_LIBS)
|
||||
MACOSXLIBS = -losgGLUT -losgText -losgUtil -losgDB -losg -lfreetype -ldl -lobjc -lstdc++
|
||||
|
||||
C++FLAGS += -I$(OSGHOME)/include -g
|
||||
C++FLAGS += -I$(OSGHOME)/include -I.
|
||||
LDFLAGS += -L$(OSGHOME)/lib -L/usr/freeware/lib32
|
||||
|
||||
include $(OSGHOME)/Make/makerules
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <osgUtil/DriveManipulator>
|
||||
|
||||
#include <osgGLUT/Viewer>
|
||||
#include <GL/glut.h>
|
||||
#include <osgGLUT/glut>
|
||||
|
||||
#include <osgText/Text>
|
||||
#include <vector>
|
||||
@@ -45,8 +45,8 @@ using namespace osgGLUT;
|
||||
#define TEXT_COL_3D osg::Vec4(.99,.3,.2,1)
|
||||
|
||||
|
||||
std::string ttfPath("fonts/dirtydoz.ttf");
|
||||
std::string ttfPath1("fonts/fudd.ttf");
|
||||
std::string ttfPath("fonts/times.ttf");
|
||||
std::string ttfPath1("fonts/arial.ttf");
|
||||
|
||||
int gFontSize=18;
|
||||
int gFontSize1=24;
|
||||
|
||||
Reference in New Issue
Block a user