#154 DOM 2.4 fails to build on Linux

open
Andy Lorino
General (42)
5
2013-07-13
2012-11-24
Downwash
No

Downloaded the DOM 2.4 source, set up all dependencies, built project 'minizip' included with the DOM, then tried to build the DOM. It fails with the following errors:

src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp:457:65: error: ‘zipOpen64’ was not declared in this scope
src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp:484:232: error: ‘zipOpenNewFileInZip3_64’ was not declared in this scope

System: Ubuntu 12.10, 64-bit.

Discussion

  • John Nagle
    John Nagle
    2013-07-13

    Confirming this problem. Downloaded Dom 2.4 source on Ubuntu 12.04 LTS, and got exactly the same compile errors.

    Collada has its own copies of the "minizip" library. There are two versions, "minizip" (circa 2005) and "minizip-1.1" (circa 2010) in "external-libs". "minizip-1.1" has the missing symbols for newer-format ZIP files, while "minizip" does not.

    The make output shows compiles with "-Iexternal-libs/minizip/include", so the build procedure picked the obsolete version for some reason.

    I've taken a quick look at the makefiles, but haven't found the problem. It's clearly a build problem.