toolbandfan

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: How to Add New Libraries #9025
    toolbandfan
    Participant

    I wanted to update that I got everything working. I started a new project and everything works now. I’m pretty sure the problem was that I totally forgot how to write a class implementation. Doh!

    in reply to: How to Add New Libraries #9022
    toolbandfan
    Participant

    Okay so based off this thread: https://sysprogs.com/w/forums/topic/no-rule-to-make-target/ I tried putting my library in the project folder and I tried putting it in the VisualGDB shared folder that has the STM files. I also started looking at the make files. I checked the VisualGDB settings and it looks like the correct path is shown in the make file and GDB settings. Not sure what is going here. Although my file is a .cpp file but it looks like make is trying to compile it as a C file? Could that be the problem?

    • This reply was modified 7 years, 8 months ago by toolbandfan.
    in reply to: How to Add New Libraries #9000
    toolbandfan
    Participant

    After the libraries are added with the “import recursively”, is there something else that needs to be done to get everything to compile? I am getting this error while trying to compile a simple gpio library I made:

    make: *** No rule to make target ../../../libraries/gpio/gpio.c', needed byDebug/gpio.o’.  Stop.

    • This reply was modified 7 years, 8 months ago by toolbandfan.
    • This reply was modified 7 years, 8 months ago by toolbandfan.
Viewing 3 posts - 1 through 3 (of 3 total)