hi, Im trying to build gem on apple developer tool for OSX but get the following 4 error messages. I've compared the file to PC format and it appears the same. Has anyone else encountered this problem and is there a solution.
And how do I add the extention" -lib GEM" to the command line? It only seems to rename the shortcut.
cheers Andy Welsby noplex@hotmail.com
//////////////////////////////////////////////////////// // // GEM - Graphics Environment for Multimedia // // mark@danks.org // // Implementation file // // Copyright (c) 1997-1999 Mark Danks. // For information on usage and redistribution, and for a DISCLAIMER OF ALL // WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. // /////////////////////////////////////////////////////////
include "CPPExtern.h"
GEM_EXTERN void *operator new(size_t, void *location, void *) {return(location);}
t_object * CPPExtern::m_holder;
///////////////////////////////////////////////////////// // // CPPExtern // ///////////////////////////////////////////////////////// // Constructor // ///////////////////////////////////////////////////////// CPPExtern :: CPPExtern() : x_obj(m_holder) { m_canvas = canvas_getcurrent(); }
///////////////////////////////////////////////////////// // Destructor // ///////////////////////////////////////////////////////// CPPExtern :: ~CPPExtern() { }
GEM_darwin.pbproj/src/Base/CPPExtern.cpp:15: syntax error before string
constant
GEM_darwin.pbproj/src/Base/CPPExtern.cpp:19: syntax error before *' token GEM_darwin.pbproj/src/Base/CPPExtern.cpp:29: syntax error before
::'
token
GEM_darwin.pbproj/src/Base/CPPExtern.cpp:39: syntax error before ::' token GEM_darwin.pbproj/src/Base/CPPExtern.cpp:15: syntax error before string constant GEM_darwin.pbproj/src/Base/CPPExtern.cpp:19: syntax error before
*'
token
GEM_darwin.pbproj/src/Base/CPPExtern.cpp:29: syntax error before ::' token GEM_darwin.pbproj/src/Base/CPPExtern.cpp:39: syntax error before
::'
token