libxlsxwriter

Setting path to shared library inside a makefile for compile

…衆ロ難τιáo~ 提交于 2019-12-24 04:52:10
问题 I want to compile a program using makefile which is linked against the zlib shared libraries which it is different from the one installed on my system. But I don't want them to be permanently added to the library pool of my system. The path of custom zlib is /usr/work/libxlsxwriter-master/zlib-1.2.8 I have tried to use something like: ZLIBDIR=/usr/work/libxlsxwriter-master/zlib-1.2.8 # The static library. $(LIBXLSXWRITER_A) : $(OBJS) export LD_LIBRARY_PATH=$(ZLIBDIR):$(DEPENDENCIES); \ $(Q)$

Running libxlsxwriter on Windows

試著忘記壹切 提交于 2019-12-24 02:15:16
问题 I am trying to use libxlsxwriter , but I can seem to get things to compile or run correctly. I followed the directions for Windows using Mingw-w64 and msys2 available here: http://libxlsxwriter.github.io/getting_started.html. I installed msys2 from their website and updated everything using pacman -Syu . Then I installed zlib with the recommended: # Install the dev tools for libxlsxwriter. pacman -S git gcc make zlib-devel Then I run the code to download and compile libxlswriter : # Clone and