I tried using the provided cmake file and putting the dlls in the build directory. The program now compiles without linking errors but at runtime the program throws missing library errors and exits. See GDB output here: PS C:\Users\cpawlowicz\dev\bosch_workbench\build> cmake --build . [ 50%] Building C object CMakeFiles/DownloadFirmware.dir/DownloadFirmware.c.obj [100%] Linking C executable DownloadFirmware.exe [100%] Built target DownloadFirmware PS C:\Users\cpawlowicz\dev\bosch_workbench\build> gdb .\DownloadFirmware.exe GNU gdb (GDB) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-w64-mingw32". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from .\DownloadFirmware.exe...done. (gdb) run Starting program: C:\Users\cpawlowicz\dev\bosch_workbench\build\DownloadFirmware.exe [New Thread 25352.0x7a4] [New Thread 25352.0x66b4] [New Thread 25352.0xaa0] [New Thread 25352.0x2424] [Thread 25352.0x66b4 exited with code 3221225781] [Thread 25352.0x2424 exited with code 3221225781] During startup program exited with code 0xc0000135. (gdb)
... View more