Monday, August 13, 2007

Import/export symbols mystery

Wow... we added recently the zlib and zziplib libraries to OGE.

The mingw (3.4.5) debug version of oge builds and runs perfectly.
The difficulty came during link time of the release version of OGE:
  • with zlib.a half the symbols and methods are not exported !
  • with zlib_d.a it links perfectly.
At least I could pinpoint the problem... I must now find why.
I suppose it is caused by preprocessor symbols but a quick look didn't show me something obvious.

At least I can go back on working on the Component/Object system code which has priority.

No comments: