|  Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors 
 
 
 | [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] building geomview 1.4.1 with g++
 
I thought you might be interseted in the changes I had to do to get
the C++ modules of geomview to compile with g++ 2.4.5
I could send you diffs, but the changes are pretty simple.
1) in Makerules.c++obj
${CPLUSPLUS_OBJS}:
	@echo using rule for .C files
	rm -f $@ ${@:o=C}
	ln ../${@:o=C} .
	${CPLUSPLUS} -I.. ${CPLUSPLUSFLAGS}  -c ${@:o=C}
1a) in Makedefs.global
CPLUSPLUSFLAGS = ${COPTS} ${MORECOPTS} -DMACHTYPE='"${MACHTYPE}"' ${IPATH}
This is because g++ does not understand -float or -prototypes
2) In src/bin/{4dview,ginsu,animate}/O.sgi/Makefile, 
added -lX11_s to LIBS.  I'm not sure if this is just the local
installation of g++ or what.
LIBS= ${ALLOOGLLIBS} -L${GEOM}/lib/${MACHTYPE} -lgeomutil -lforms -lfm_s -lgl_s -lX11_s -lm -lc_s 
David
bremner at cs.mcgill.ca
 | ||
| Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors | |||
| site hosted by | |||