Skip to content

Cannot compile for Arduino Pro Mini #12

@LloydTSmith

Description

@LloydTSmith

I pivoted from my earlier attempt to use a Teensy 4.0 board, and I now have a new design incorporating Arduino Pro Mini. Sample Device Druid code has been confirmed to run on this platform. I created a few dialogs with DruidBuilder and hacked my way through incorporating my own code and tying tracked variables to the code. I am using Arduino IDE 1.8.13 and SerialUI 3.2.2 (downloaded today). Library manager shows SerialUI 3.1, but I downloaded 3.2.2 from your site and unpacked it into the SerialUI-3 folder under libraries. Not sure if that is correct. Here is the full text I get when I try to compile:

libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdCXX\CMakeCXXCompilerId.cpp.o (symbol from plugin): In function main': (.text+0x0): multiple definition of main'
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdC\CMakeCCompilerId.c.o (symbol from plugin):(.text+0x0): first defined here
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdCXX\CMakeCXXCompilerId.cpp.o (symbol from plugin): In function main': (.text+0x0): multiple definition of info_compiler'
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdC\CMakeCCompilerId.c.o (symbol from plugin):(.text+0x0): first defined here
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdCXX\CMakeCXXCompilerId.cpp.o (symbol from plugin): In function main': (.text+0x0): multiple definition of info_platform'
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdC\CMakeCCompilerId.c.o (symbol from plugin):(.text+0x0): first defined here
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdCXX\CMakeCXXCompilerId.cpp.o (symbol from plugin): In function main': (.text+0x0): multiple definition of info_language_dialect_default'
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdC\CMakeCCompilerId.c.o (symbol from plugin):(.text+0x0): first defined here
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdCXX\CMakeCXXCompilerId.cpp.o (symbol from plugin): In function main': (.text+0x0): multiple definition of info_arch'
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdC\CMakeCCompilerId.c.o (symbol from plugin):(.text+0x0): first defined here
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\ShowIncludes\main.c.o (symbol from plugin): In function main': (.text+0x0): multiple definition of main'
libraries\SerialUI-3\out\build\x64-Debug\CMakeFiles\3.16.19112601-MSVC_2\CompilerIdC\CMakeCCompilerId.c.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Pro or Pro Mini.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions