[ODE] Re: DLL?

Patrick Barnes mrtrick at gmail.com
Sat Feb 12 13:19:05 MST 2005


This doesn't seem to work - it creates a DLL, but exports nothing -
the .dll file is only 3kb!

I tried fiddling with the odedll.cc file, trying to include the right
files, but it wouldn't compile.

On Thu, 10 Feb 2005 16:54:34 +0300, Serguey Zefirov <thesz at mail.ru> wrote:
> > Has someone made a makefile.cygwin-dll ?
> 
> I use a mingw installation.
> 
> I did add ode-dll target into Makefile:
> ---------------------
> all: ode-lib ode-dll drawstuff-lib ode-test drawstuff-test
>         @echo SUCCESS
> ode-lib: configure $(ODE_LIB)
> ode-dll: ode-lib odedll.cc
>         dllwrap -o ode.dll --export-all-symbols --driver-name g++ odedll.cc $(ODE_OBJECTS)
>         strip ode.dll
> ---------------------
> and created odedll.cc in Makefile directory:
> ---------------------
> int main(void) {
>         return 0;
> }
> ---------------------
> 
> And after make I got ode.dll in Makefile directory. It is not perfect as
> it exports everything, but it does contain dCollide, dWorldCreate and
> other valuable exports.
> 
> I hadn't tested it on anything so you're on your own here.
> 
> I hope this helps or at least provide some starting point.
> 
> 


-- 
MrTrick
-------------------------------------------------------------------------------------
Catapultum habeo. Nisi pecuniam omnem mihi dabis, ad
caput tuum saxum immane mittam
-------------------------------------------------------------------------------------


More information about the ODE mailing list