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 answers
Related Questions in C
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in GCC
- File refuses to compile std::erase() even if using -std=g++23
- the difference between two style of inline ASM
- Why veneer code generated by gcc for cortex-m0 seems 8-byte aligned?
- How to compile the Linux kernel with -O0 for more detailed debug?
- GMP Windows installation "configure: error: could not find a working compiler"
- Unable to run get .exe file from assembly NASM
- Problem with compiling c++ project that is running python code using Python.h -> undefined reference
- How to use a newer linker and glibc in a Kotlin/Native project?
- "Config.guess failed to determine the host type" when trying build binutils-2.7 with Cygwin
- Trying to compile GCC returns a bunch of errors
- Compiling with gcc fno-common option causes performance degradation
- On cygwin I get errors containing -lintl and -liconv when running gcc
- Constant function pointer optimization
- How to obtain mingw-w64 version 9.3.0 or older for MSYS2?
- How to fix this error in terminal while writing hello world code in VS Code on C?
Related Questions in MINGW-W64
- How do I print _Decimal32, _Decimal64, and _Decimal128 in C? (Also, what is a Printf hook and how do I add one?)
- How do I enable experimental printf functions in MinGW w64?
- How to install CMAKE on MSYS2 or MINGW64? (all servers return 404)
- How to obtain mingw-w64 version 9.3.0 or older for MSYS2?
- libunwind cannot resolve symbol names
- Strawberry Perl using a separate winlibs distro
- Does _memimporter still exist in py2exe?
- How can I move my MSYS2 folder to another folder (both in the D driver) if possible?
- can't find linker script when cross compiling for win32 from linux
- Cannot use Debugger in Codeblocks for AVR-Project
- Troubleshooting MSYS64 Installation Issues
- Mingw console application opens a separate console window even when starting from Windows Console
- Mingw64 and Python 3.12.2 conflict in VS code
- ERROR_MOD_NOT_FOUND and __thread in DLLs
- Not possible to run subset of targets in parallel with Gnu Make 4.3 (MinGW-w64 port)
Related Questions in MSYS2
- How to install CMAKE on MSYS2 or MINGW64? (all servers return 404)
- How to obtain mingw-w64 version 9.3.0 or older for MSYS2?
- Running clang64.exe or mingw64.exe incorrectly sets PATH
- WxWidgets configure: error: C compiler cannot create executables
- Install of MINGW fails when installing from MSYS2
- How can I move my MSYS2 folder to another folder (both in the D driver) if possible?
- Git Bash not exiting while loop, while bash in ubuntu does
- Msys2: Python 2.7 and Python 3.8 side by side, how to load correct site.py
- Troubleshooting MSYS64 Installation Issues
- Using VSCode and CMake, how do I get CMake to recognize Eigen3Config.cmake installed through MSYS2?
- why is there no mysql connector cpp package in msys2?
- Installing Dune with the help of Opam
- Different environment of MSYS2 MINGW64 shell as standalone terminal and in Visual Studio Code
- Installing GIT within MSYS2 on Windows 11
- OCaml with MSYS2 on Windows: Unbound module stdlib
Related Questions in LIBXLSXWRITER
- vcpkg libxlsxwriter fails, something to do with libzip / minizip
- libxlsxwriter library - How to connect to personal project with CMake C++
- How to change the output location of the excel file in Libxlsxwriter library in c++
- Error when trying to export data frame using write_xlsx
- Problem with the libxlsxwriter libary (MSYS2)
- libxlsxwriter multiple formats on a cell
- XSLXWriter Insert multiple images at center of cell in a column
- libxlsxwriter with MinGW
- Use libxlsxwriter without CocoaPods in a macOS project
- Reading Cell Value in Excel using Libxlsxwriter?
- chartcheet on libxlsxwriter
- Libxlsxwriter build error on HP-UX
- How do I print image on their original size in Excel using libxlsxwriter?
- xlsxwriter installation for C on windows
- undefined reference to [...] when building program with libxlsxwriter
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?
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)
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.