[PD] CPPExtern.ccp errors

Andy Welsby noplex at hotmail.com
Wed Nov 19 21:20:25 CET 2003


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 at hotmail.com






////////////////////////////////////////////////////////
//
// GEM - Graphics Environment for Multimedia
//
// mark at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3628 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20031119/9e7afd2a/attachment.bin>


More information about the Pd-list mailing list