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 » Wed Feb 25, 2009 6:43 pm

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: 1051
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: swig

Post by rude » Wed Feb 25, 2009 10:18 pm

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 » Thu Feb 26, 2009 12:21 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests