is there a way to change the Linkorder of the objects?
I guess that issue comes from that.
(use version 5.4R6 build 3190 – should doesn’t matter)
compiling runs.
the Linking Result is: undefined reference to…
1>main.cpp
1>Linking ../VisualGDB/Debug/EmBMWF4_XS01...
1>VisualGDB/Debug/init_spi.o: In function `initSpi()':
1>C:\tim\WorkspaceVS2017\EmBMWF4_XS01\lib\init_spi.cpp(55): error : undefined reference to `HAL_SPI_Init'
1>VisualGDB/Debug/mtssp_driver_spi.o: In function `MtsspDriverSpi::write(unsigned char, unsigned char const*, int)':
1>C:\tim\WorkspaceVS2017\EmBMWF4_XS01\lib\mtinterface\mtssp_driver_spi.cpp(59): error : undefined reference to `HAL_SPI_Transmit'
1>C:\tim\WorkspaceVS2017\EmBMWF4_XS01\lib\mtinterface\mtssp_driver_spi.cpp(60): error : undefined reference to `HAL_SPI_Transmit'
1>collect2.exe : error : ld returned 1 exit status
1>Die Erstellung des Projekts "EmBMWF4_XS01.vcxproj" ist abgeschlossen -- FEHLER.
========== Erstellen: 0 erfolgreich, 1 fehlerhaft, 0 aktuell, 0 übersprungen ==========
-
This topic was modified 5 years, 5 months ago by support. Reason: formatting