Comments (7)
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.
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.
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.
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.
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.
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.
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)
- cannot open shared object file HOT 2
- binaries win32 are 64bit... HOT 1
- A SEGV DEADLYSIGNALflow leading to crash in main_sheet_get_relid_expat_callback_element_start lib/xlsxio_read.c:813 HOT 3
- xlsxio-0.2.32-binary-win64 cannot be used in x64 projects HOT 1
- [feature request] Add feature to set font
- The release version for win64 is actually win32 dll. HOT 5
- create xlsx file mac os numbers can't open HOT 3
- Memory leak in xlsxio_read.c
- xlsxioread_sheetlist_next returns wrong cyrillic name HOT 1
- EXPAT_INCLUDE_DIRS should be EXPAT_INCLUDE_DIR
- [CVE-2023-34795] Free of uninitialized pointer in xlsxioread_sheetlist_close() HOT 1
- Typos discovered by codespell HOT 1
- Infinite loop in xlsxio_read.c
- A way to write multiple strings to the cell HOT 1
- xlsxioread_open_memory @ xlsxio-0.2.34-binary-win64.zip, crash when freedata is not zero HOT 5
- It tries to find `minizip` when it should find `minizip-ng` HOT 2
- xlsxio_xlsx2csv not working on Chorus PRO XLSX files HOT 6
- After using xlsxioread_sheet_open, cannot use xlsxioread_sheetlist_next to get the next sheet HOT 4
- xlsxioread_sheet_open does not seem to be honoring the flags sent. I have tried all of them, but it is not skipping blank cells oe extra cells HOT 1
- prebuilt dll 32bits can not use
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xlsxio.