Code Monkey home page Code Monkey logo

Comments (7)

brechtsanders avatar brechtsanders commented on August 19, 2024

I'm actually building exatly like that, but I set environment to use my build firsts by setting C_INCLUDE_PATH / CPLUS_INCLUDE_PATH / LD_RUN_PATH / LIBRARY_PATH
Are you requesting I make a specific CMake variable for the packages used?

from xlsxio.

webern avatar webern commented on August 19, 2024

I'm suggesting that someone who wants to should be able to change something in the Cmake file from NO to YES (i.e. BUILD_FROM source), and have it 'just work' without any environment variables or external requirements, which means that the expat and minizip sourcecode libs would be checked in to the xlsxio repo.

from xlsxio.

brechtsanders avatar brechtsanders commented on August 19, 2024

I have always thought projects that pull in (or even ship) sources like that are quite dirty. It seams cleaner to me to use stable builds either provided by the distro or built yourself in a seperate location.
For the latter it would make more sence to add a variable like EXPATPATH where expat is searched for by looking into the include and lib folder. Would that suit you?

from xlsxio.

yannou38 avatar yannou38 commented on August 19, 2024

i'd love the former and would be okay with the later. Currently trying to make this and it can't find the minizip i built in a separate location and i had to edit the makefile manually for it to work.

EDIT : if you go with the later make sure to get a path for both expat and minizip. also, the former may not be that bad because as you don't have control over the version of the dependencies that are installed, the build could totally fail. if you have them locally you have control over their version and the build pass.

from xlsxio.

brechtsanders avatar brechtsanders commented on August 19, 2024

Which platform are you on?
If you're on Linux there is a large change your distro will have minizip.
If you're on Windows I can actually send you my packages built with MinGW-w64.
If you're on macOS I would recommend https://www.macports.org/.

from xlsxio.

yannou38 avatar yannou38 commented on August 19, 2024

managed to install it by editing the makefile and adding manually the minizip lib and include locations. distros where i am are very light and don't have much on them. that's why adding the dependencies in your releases can be useful, or at least the custom paths in your makefile.

from xlsxio.

brechtsanders avatar brechtsanders commented on August 19, 2024

added CMake options to specify custom dependancy paths: ZLIB_DIR/MINIZIP_DIR/LIBZIP_DIR/EXPAT_DIR
now updated in subversion, will be included in next release

from xlsxio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.