[PD] CPPExtern.ccp errors
Thomas Grill
t.grill at gmx.net
Wed Nov 19 23:32:38 CET 2003
Hi Andy,
it seems you lost the # of #include in line 15....
best greetings,
Thomas
----- Original Message -----
From: "Andy Welsby" <noplex at hotmail.com>
To: <pd-list at iem.at>
Sent: Wednesday, November 19, 2003 9:20 PM
Subject: [PD] CPPExtern.ccp errors
> 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
>
More information about the Pd-list
mailing list