I'm trying to make a program that interacts with MS Excel using libxlsxwriter. I'm using MSYS2 with Mingw-w64 to build my application. Whenever I try to compile my code with the 64-bit version of gcc, everything works flawlessly; however, If I try to compile with the 32-bit version of gcc, it gives me this kind of error for every function I use: C:\msys64\tmp\ccknaH4k.o:main.cpp:(.text+0x16): undefined reference to 'workbook_new'. What could it be?
undefined reference to [...] when building program with libxlsxwriter
928 Views Asked by sgrontflix At
1
There are 1 best solutions below
Related Questions in C
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in GCC
- gcc static library compilation
- Different behavior of async with Visual Studio 2013(Windows8.1) and GCC 4.9(Ubuntu14.10)
- How to add directories to Cygwin gcc default search path
- Usage of #ifndef directive
- Failure to link a program with gcc -static
- Text as parameter in inline assembly (ARM)?
- Alternatives for strrspn and strfind functions(libgen functions in Solaris) in AIX?
- Incorrect format specifier with gcc compiler
- Why should I use a closing bracket in this?
- How can I compile *without* various instruction sets enabled?
- Automatically wrap C/C++ function at compile-time with annotation
- gcc compiled library: can successfully link with, how come it's "undefined symbol" when run the program?
- compiling caffe on Yosemite
- error - /usr/bin/ld: cannot find -lavutil in ubuntu 15.04
- Compatibility of libstdc++.so libgcc_s.so when upgrading GCC 4.1 to GCC 4.8.2
Related Questions in MINGW-W64
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- g++ linker unable to find winsock functions
- C++ MinGW x64 Debugging - value of std::string doesn't display properly
- Python 3.4 ctypes wrap for a mingw-w64 compiled C-based dll
- cURL link error with MinGW-w64 GCC on MSYS2
- How to find PATH variable of installed MinGW GCC compiler?
- Simple thread/mutex test application is crashing
- MinGW-W64 linker skipping incompatible files when searching for third-party static libraries
- type errors in Mingw-x64
- Wrapper for `__m256` Producing Segmentation Fault with Constructor - Windows 64 + MinGW + AVX Issues
- MinGW64 Is Incapable of 32 Byte Stack Alignment (Required for AVX on Windows x64), Easy Work Around or Switch Compilers?
- C++ GCC/MinGW Paths: ssp, ext, tr1; parallel, ext, bits, experimental
- GIT bash on Windows: VIM doesn't find Python3
- libffi installed and recogonized by pkg-config, but not by glib
- MSYS2 specify version of mingw32 or mingw64 gcc
Related Questions in MSYS2
- cURL link error with MinGW-w64 GCC on MSYS2
- GTK3: Mouse vanishes when using drag and drop
- Compiling GIMP from source code
- MSYS2 specify version of mingw32 or mingw64 gcc
- GtkOverlay not passing through input events
- only one instace of gtk applications allowed when compiler under windows msys2?
- Cmake FILE() command prepends other path to provided file path
- How to get native windows path inside msys python?
- CTRL+C does not work in msys2
- How to populate a GtkMenu with some GtkMenuItem and set its parent in Glade?
- How can I set the label of a GtkLinkButton in Glade?
- How to call msys2 find command from PowerShell with correct shell escape characters?
- compiling gtk+3 project with msys on windows
- How to configure cmake for msys2
- msys2, using standard windows console
Related Questions in LIBXLSXWRITER
- Error when trying to export data frame using write_xlsx
- libxlsxwriter multiple formats on a cell
- Problem with the libxlsxwriter libary (MSYS2)
- xlsxwriter expected an indented block
- Use libxlsxwriter without CocoaPods in a macOS project
- How do I print image on their original size in Excel using libxlsxwriter?
- Hyperlink not added to image in using xlsxwriter for c++ on RHEL 5.9
- chartcheet on libxlsxwriter
- libxlsxwriter library - How to connect to personal project with CMake C++
- Libxlsxwriter build error on HP-UX
- Setting path to shared library inside a makefile for compile
- Reading Cell Value in Excel using Libxlsxwriter?
- How to change the output location of the excel file in Libxlsxwriter library in c++
- undefined reference to [...] when building program with libxlsxwriter
- Export to Excel failing in iOS using libxlsxwriter
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The library appears to have been built for 64-bit only, so when you try to link a 32-bit binary with it, the linker is only able to find 64-bit symbols, not 32-bit ones.
To solve this, you'll have to compile or download a 32-bit version of the library.