MAP file analysis - where's my code size comes from? Understanding MAP File Analysis Uncovering Your Code Size Origins When developing software understanding where your code size comes from can significantly impac 3 min read 09-10-2024 5
Get list of static libraries used in an executable How to Retrieve the List of Static Libraries Used in an Executable When developing software especially in languages like C or C its common to link your program 2 min read 09-10-2024 7
LNK1318: Unexpected PDB error; OK (0) Understanding the LNK 1318 Error An Unexpected PDB Error in Visual Studio The LNK 1318 error is a common issue encountered by developers using Microsoft Visual 3 min read 08-10-2024 4
Qt 5 cmake fails with undefined reference to vtable on hello world with inc & src as subdirs Qt 5 C Make Conquering the Undefined Reference to Vtable in a Hello World with Subdirectories Lets dive into a common C Make issue encountered when building a s 2 min read 07-10-2024 5
How to link an X11 program Linking X11 Programs A Guide for Beginners X11 also known as X Window System is the foundation of graphical user interfaces GUIs on Unix like operating systems 3 min read 07-10-2024 6
How to find out where a program is looking for libraries Unlocking the Secrets of Library Search Paths How to Find Out Where Your Program is Looking for Libraries Have you ever encountered an error message like Librar 2 min read 07-10-2024 4
libtool .la library file wrong path The libtool la Library File Wrong Path Problem A Common Headache and How to Fix It Have you ever encountered the frustrating error libtool libtool file not foun 3 min read 07-10-2024 3
What does "collect2: error: ld returned 1 exit status" mean? collect2 error ld returned 1 exit status Demystifying the Compiler Error Have you ever encountered the dreaded collect2 error ld returned 1 exit status while co 3 min read 07-10-2024 3
Rust's .o file format not recognized by GCC Rusts o Files Why GCC Doesnt Get Along Have you ever tried to compile a C C project that includes Rust code and encountered a cryptic error message from GCC The 2 min read 07-10-2024 5
Visual Studio - Cannot remove specific ".lib" file from Linker's Command Line. How can I edit it? Cant Shake That lib Solving the Stubborn Linker File Issue in Visual Studio Visual Studios powerful build system often comes with its own set of quirks One such 2 min read 07-10-2024 8
How to force conda to link to system libraries? Breaking Down Condas Library Walls Linking to System Libraries Conda the powerful package manager for Python often creates its own isolated environments keeping 2 min read 07-10-2024 10
Why the linker cannot find my local C shared library for use with FFI in Rust? The Great Shared Library Hunt Why Your Rust FFI Cant Find Your C Code You ve built your beautiful C library ready to be used in your Rust project You ve even co 2 min read 06-10-2024 14
Will C++ functions/methods implemented in *.cpp file be NEVER inline expanded? The Myth of Inlining and cpp Files Understanding C Code Optimization Problem A common misconception among C developers is that functions or methods defined with 2 min read 06-10-2024 11
How to fix build that fails with "ARM64 branch out of range" for very large app? ARM 64 Branch Out of Range Conquering Large App Build Errors The Problem You re building a large complex application and suddenly encounter the error ARM 64 bra 2 min read 06-10-2024 11
Prevent gcc from optimization/removal of variables when using -Wl,--gc-sections? Keeping Your Variables Alive Preventing GCC Optimization with Wl gc sections The Problem You re using the GCC linker flag Wl gc sections to remove unused sectio 2 min read 05-10-2024 8
Can't use LLD linker while building LLVM-MLIR Building LLVM MLIR Overcoming the LLD Linker Hurdle Building LLVM MLIR can sometimes be a bumpy ride and one common obstacle is the inability to use the LLD lin 2 min read 05-10-2024 11
GitLab Runner with python setuptools not able to execute build job - kernel32.lib not found kernel32 lib not found Troubleshooting Git Lab Runner Python Build Issues The Problem You re trying to build a Python project using Git Lab Runner and you encou 2 min read 04-10-2024 7
Problem with booting own operating system [32-bits] Troubleshooting Boot Issues with a Custom 32 bit Operating System Booting your own operating system can be an exciting project but it often comes with its own s 3 min read 30-09-2024 8
How to nest a static library in a static library project in Visual Studio How to Nest a Static Library in a Static Library Project in Visual Studio Creating a static library in Visual Studio can be a straightforward task but incorpora 3 min read 27-09-2024 16
Why doesn't TCC generate my custom section? Why Doesn t TCC Generate My Custom Section If you re working with TCC Table of Contents Generator and you notice that it fails to generate your custom section y 2 min read 25-09-2024 16
Whis is this x86_64 AT&T assembly failing, i think foo: is the culprit? Understanding Why Your x86 64 AT and T Assembly Code Might Be Failing When working with x86 64 assembly using the AT and T syntax one can often encounter issues 3 min read 23-09-2024 20
Compiling error with specific linker in Clang on M1 Mac - unknown options -T Compiling Errors with the Clang Linker on M1 Macs Understanding the Unknown Options T Error When working with Clang on M1 Macs many developers have encountered 2 min read 22-09-2024 20
QGLViewer external symbol not resolved when switching to MSVC Resolving the QGL Viewer External Symbol Not Resolved Issue in MSVC When transitioning your project to Microsoft Visual Studio MSVC you might encounter an error 3 min read 22-09-2024 12
Issue Linking, Building and Sharing Libraries in C++ robot.github.io Understanding Linking Building and Sharing Libraries in C When working on software projects especially those that require a large amount of code or share functi 3 min read 22-09-2024 23
Symbol clashes (Error LNK2005 frexp already defined in libmmt.lib(frexp_iface_c99.obj)) with Intel icx compiler inside VS2022 in debug mode Resolving Symbol Clashes LNK 2005 Error with Intel icx Compiler in Visual Studio 2022 When working with the Intel icx compiler inside Visual Studio 2022 develop 2 min read 21-09-2024 17