Skip to content

Instantly share code, notes, and snippets.

@sidprice
Created October 6, 2019 15:43
Show Gist options
  • Save sidprice/61a5d9262a7398ade6a7131255678b97 to your computer and use it in GitHub Desktop.
Save sidprice/61a5d9262a7398ade6a7131255678b97 to your computer and use it in GitHub Desktop.
gcc -L -g -obmdebug.exe bmdebug.o bmscan.o bmp-script.o elf-postlink.o guidriver.o minIni.o rs232.o specialfolder.o strlcpy.o decodectf.o parsetsdl.o swotrace.o nuklear.o nuklear_gdip.o noc_file_dialog.o -lm -lgdiplus -lwinusb
guidriver.o: In function `guidriver_init':
C:\DataRoot\Projects\Black-Magic-Probe-Book\source/guidriver.c:101: undefined reference to `__imp_GetStockObject'
swotrace.o: In function `usb_GetDevicePath':
C:\DataRoot\Projects\Black-Magic-Probe-Book\source/swotrace.c:499: undefined reference to `__imp_SetupDiGetClassDevsA'
C:\DataRoot\Projects\Black-Magic-Probe-Book\source/swotrace.c:506: undefined reference to `__imp_SetupDiEnumDeviceInterfaces'
C:\DataRoot\Projects\Black-Magic-Probe-Book\source/swotrace.c:517: undefined reference to `__imp_SetupDiGetDeviceInterfaceDetailA'
C:\DataRoot\Projects\Black-Magic-Probe-Book\source/swotrace.c:527: undefined reference to `__imp_SetupDiGetDeviceInterfaceDetailA'
C:\DataRoot\Projects\Black-Magic-Probe-Book\source/swotrace.c:543: undefined reference to `__imp_SetupDiDestroyDeviceInfoList'
nuklear_gdip.o: In function `nk_gdip_load_image_from_memory':
C:\DataRoot\Projects\Black-Magic-Probe-Book\source/nuklear_gdip.c:610: undefined reference to `__imp_SHCreateMemStream'
noc_file_dialog.o: In function `noc_file_dialog_open':
C:\DataRoot\Projects\Black-Magic-Probe-Book\source/noc_file_dialog.c:129: undefined reference to `__imp_GetSaveFileNameA'
C:\DataRoot\Projects\Black-Magic-Probe-Book\source/noc_file_dialog.c:131: undefined reference to `__imp_GetOpenFileNameA'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment