swig

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
zapwow
Prole
Posts: 48
Joined: Fri Oct 24, 2008 11:37 pm

swig

Post by zapwow »

I've modified mod_opengl. The .h and .cpp files compiled just fine, and I'm trying to re-create the lua wrapper for it. I used the following command:

swig -lua -c++ mod_opengl.i

... but then I get errors when I try to compile the output. I've never used swig before so I'm assuming I've done something wrong. Does anyone know how to use this properly?

thx ^^
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: swig

Post by rude »

Did I not reply to your PM? I remember writing it ...

Try adding -nodefaultctor.
User avatar
zapwow
Prole
Posts: 48
Joined: Fri Oct 24, 2008 11:37 pm

Re: swig

Post by zapwow »

Hey thanks, that worked.
Somehow I never got that PM :shock:
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 74 guests