Search found 2 matches
- Thu Apr 13, 2023 11:12 am
- Forum: ESP-IDF
- Topic: Error Linking CXX executable when compiling with TinyUSB on a separate file.
- Replies: 2
- Views: 3702
Re: Error Linking CXX executable when compiling with TinyUSB on a separate file.
You have to add the name of every source file (.c and .cpp) you need built/linked to your cmake list @
idf_component_register(SRCS ...
Ive done this. Actually ive discovered with the help of the github repo that i had forgotten to change a setting in the menuconfig that basically tells how ...
- Sun Apr 09, 2023 6:08 pm
- Forum: ESP-IDF
- Topic: Error Linking CXX executable when compiling with TinyUSB on a separate file.
- Replies: 2
- Views: 3702
Error Linking CXX executable when compiling with TinyUSB on a separate file.
Im having issues compiling this code as two separate files even tho the same code compiles when its in one file. Mind you im using C++ instead of C because of the ArduinoJSON Library.
/*
* SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: CC0-1 ...
/*
* SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: CC0-1 ...