... not quite...
So all the header files are found, but it doesn't seem to find my function. In inspection, the INTERFACE argument seems to be appropriate for .h only libraries? Is there a better library argument if I also have .c file?
I have tried to find a CMake log file, however it doesn't seem to be generating one, at least not one that I can find. I don't know if is disabled on the Windows version of the development environment? I get a popup when I get something wrong "CMake could not be reconfigured, See log for details", but cannot find the log file. It doesn't appear to be dumping it the terminal.
ws2812Pixel is name of the function I am attempting to call. This function did work when the test-file was monolithic.
Thanks again for any help.
So all the header files are found, but it doesn't seem to find my function. In inspection, the INTERFACE argument seems to be appropriate for .h only libraries? Is there a better library argument if I also have .c file?
I have tried to find a CMake log file, however it doesn't seem to be generating one, at least not one that I can find. I don't know if is disabled on the Windows version of the development environment? I get a popup when I get something wrong "CMake could not be reconfigured, See log for details", but cannot find the log file. It doesn't appear to be dumping it the terminal.
Code:
C:/Users/arlen/.pico-sdk/toolchain/13_2_Rel1/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: C:/_SRC/SPI_Blink/spi_master/spi_master.c:96:(.text.startup.main+0x6e): undefined reference to `ws2812Pixel'
Thanks again for any help.
Statistics: Posted by arlenn — Wed Nov 13, 2024 7:12 am