[ODE] Fwd: [ opende-Bugs-1572419 ] ode-config --cflags : wrong path
Daniel K. O.
danielko.listas at gmail.com
Sat Oct 7 21:04:36 MST 2006
Rodrigo Hernandez escreveu:
> Ok, I see your point, however, config.h is not being correctly used in
> ODE, config.h is meant for compile time definitions, and not meant to be
> part of a binary distribution, I guess using ode/ode.h is a good
> workaround for as long as we have this other problem.
GTK+ uses <gtk/gtk.h>. I don't think that it's any wronger than "SDL.h".
ODE already has a lot of headers with too common names:
collision.h, common.h, compatibility.h, contact.h, error.h, export.h,
mass.h, matrix.h, memory.h, misc.h, objects.h, rotation.h, timer.h
They all would need to be renamed (maybe adding a "ode-" preffix).
But I agree with the fact that ODE shouldn't be including its config.h
into the distribution. The magic macros should be moved into an
"odeconfig.h" file, with different naming (adding an "ODE_" preffix to
each), the way GTK+ does (like in lib/glib-2.0/include/glibconfig.h). I
think it would require a special tool to write down this specialized
header to work on all supported build environments.
--
Daniel K. O.
More information about the ODE
mailing list