Comments (4)
the zlib is in my compiler, but it still has errors?
from libxlsxwriter.
You probably need to add the zlib library to your link commands with -lz
or the equivalent in your Cmake file. See the following:
from libxlsxwriter.
You probably need to add the zlib library to your link commands with
-lz
or the equivalent in your Cmake file. See the following:
I have add below line in my cmakelists.txt,but still has this error;
target_link_libraries( ${TARGET} z)
from libxlsxwriter.
You probably need to add the zlib library to your link commands with
-lz
or the equivalent in your Cmake file. See the following:
https://stackoverflow.com/questions/22337896/how-to-fix-undefined-references-to-inflate-deflate-functionsI have add below line in my cmakelists.txt,but still has this error; target_link_libraries( ${TARGET} z)
I have resolve my question。
the problem is :
I install two toolchain , one is for imx6, the other is for imx8m。 they both has zlib ,but diffrent version。
1、when I build libxlsxwriter.a, I add absolute path into cmakelists.txt in line 221:
set(ZLIB_ROOT "/opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/lib")
find_package(ZLIB "1.0" REQUIRED)
list(APPEND LXW_PRIVATE_INCLUDE_DIRS ${ZLIB_INCLUDE_DIRS})
message("zlib version: " ${ZLIB_VERSION})
2、when I build my project , I add below line in my cmakelists.txt:
target_link_libraries( ${TARGET} z)
from libxlsxwriter.
Related Issues (20)
- Add support for header/footer image buffers HOT 1
- Feature request: Add support for quotePrefix HOT 2
- Conditional format is not works as expected when type is LXW_CONDITIONAL_TYPE_TOP or LXW_CONDITIONAL_TYPE_BOTTOM HOT 1
- image_buffer error in version 1.1.5 HOT 12
- Feature Request: Swift Package Manager support HOT 5
- [vcpkg] license HOT 13
- A bug in documentation HOT 6
- Crash when data validation list exceeds 255 char limit with UTF-8 characters HOT 1
- Bug in conditional formats using LXW_CONDITIONAL_TYPE_TEXT with criteria LXW_CONDITIONAL_CRITERIA_TEXT_CONTAINING HOT 3
- Bug: fix duplicate number format issue
- Build fail with CMake 3.26.3 while trying to find zlib HOT 1
- Feature Request: Add zig package HOT 1
- Broken logic in FindMINIZIP.cmake HOT 3
- Is there any way to update format without value, or update value without format? HOT 1
- Potential regression 1.1.4 -> 1.1.5: Test fails on big-endian architecture (Debian s390x) HOT 3
- errors when I compile HOT 1
- cmake errors HOT 3
- New feature: Add signature file for VBA projects HOT 1
- Unit tests won't run when using Microsoft C compiler HOT 6
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 libxlsxwriter.