esptiny86 / espsynth86

Synth engine for esptiny86
67 stars 11 forks source link

Compile error #9

Open owalkhoff opened 5 years ago

owalkhoff commented 5 years ago

Hi, I'm getting the following compile error (trying the examples espsynth_basic_1 and espsynth_basic_2_neo). Any clue what might be wrong?

comArduino: 1.8.8 (Mac OS X), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

WARNING: Category 'Sound' in library Espsynth86 Synthesizer Library is not valid. Setting to 'Uncategorized' fork/exec /bin/xtensa-lx106-elf-g++: no such file or directory Error compiling for board LOLIN(WEMOS) D1 R2 & mini.

synestizer commented 5 years ago
bildschirmfoto 2019-01-11 um 11 14 30

found it however it does not look like the way owalkoff meant

badgeek commented 5 years ago

lets delete Arduino15 folder then reinstall libraries and board

synestizer commented 5 years ago

ok. I will do it in that order.. also first install board again and then lib?

synestizer commented 5 years ago

it still looks the same... after installing.. I mean the arduino15 folder

badgeek commented 5 years ago

yes

synestizer commented 5 years ago

now i install as you said the official ESP8266 board again which is Arduino AVR boards in the boards by arduino version 1.6.23

owalkhoff commented 5 years ago

@synestizer can you show us a tree view of your packages folder, like in my screenshot

synestizer commented 5 years ago

yes it looks now like this the arduino15 folder

bildschirmfoto 2019-01-11 um 11 32 46
synestizer commented 5 years ago

esp8266 folder is missing..how do I solve this?

synestizer commented 5 years ago

Can I copy your arduino folder @owalkhoff ? or should I move the Esp8266 folder to the arduino15 folder? or should I just find the xtensa stuff and put that in? I have no clue anymore at the moment.

owalkhoff commented 5 years ago

@synestizer I think basically one only needs to install the Espsynth86 package (board and library). I installed the esp8266 (community) package only to see if that makes a difference when I was having compiler issues. Maybe @badgeek can tell us if it is mandatory to also install the esp8266 package or if all the dependencies get installed with Espsynth86 package. And how the Arduino15/packages folder structure should look like.

badgeek commented 5 years ago

wiped out my arduino15 and...

Index error: could not find referenced tool name=esptool version=0.4.13 packager=esp8266
Index error: could not find referenced tool name=xtensa-lx106-elf-gcc version=1.20.0-26-gb404fb9-2 packager=esp8266
Index error: could not find referenced tool name=mkspiffs version=0.2.0 packager=esp8266
Index error: could not find referenced tool name=esptool version=0.4.13 packager=esp8266
Index error: could not find referenced tool name=xtensa-lx106-elf-gcc version=1.20.0-26-gb404fb9-2 packager=esp8266
Index error: could not find referenced tool name=mkspiffs version=0.2.0 packager=esp8266
Index error: could not find referenced tool name=esptool version=0.4.13 packager=esp8266
Index error: could not find referenced tool name=xtensa-lx106-elf-gcc version=1.20.0-26-gb404fb9-2 packager=esp8266
Index error: could not find referenced tool name=mkspiffs version=0.2.0 packager=esp8266
Index error: could not find referenced tool name=esptool version=0.4.13 packager=esp8266
Index error: could not find referenced tool name=xtensa-lx106-elf-gcc version=1.20.0-26-gb404fb9-2 packager=esp8266
Index error: could not find referenced tool name=mkspiffs version=0.2.0 packager=esp8266

so this is an issue on the espboard will fix this soon,

badgeek commented 5 years ago

@owalkhoff @synestizer sorry for this, quick fix: install esp8266 board version 2.4.2, and espboard, and libraries

badgeek commented 5 years ago

@owalkhoff @synestizer this should be fixed in latest board json https://esptiny86.github.io/espboard8266/package_espsynth_index.json

i already tested from fresh install of arduino on osx

badgeek commented 5 years ago

is it okay to close this?

synestizer commented 5 years ago

well, ive tried the last tips, but it still isnt working.. lost contact to this issue, but probably I^m too dummy to make it work.. so close it if you feel it is not helping anybody. K

Am 25.01.19 um 15:18 schrieb Budi Prakosa a.k.a Iyok:

is it okay to close this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/esptiny86/espsynth86/issues/9#issuecomment-457586392, or mute the thread https://github.com/notifications/unsubscribe-auth/AjjKzSeeUiv2CXio3UkvY4t6DsWhQB0Uks5vGxI4gaJpZM4ZyXc1.

badgeek commented 5 years ago

i thought its already working, you can ask marc for help too, there aremistake in my package json and its already fixed now, let me know if you want to try again.

On Fri, Jan 25, 2019 at 9:26 PM synestizer notifications@github.com wrote:

well, ive tried the last tips, but it still isnt working.. lost contact to this issue, but probably I^m too dummy to make it work.. so close it if you feel it is not helping anybody. K

Am 25.01.19 um 15:18 schrieb Budi Prakosa a.k.a Iyok:

is it okay to close this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/esptiny86/espsynth86/issues/9#issuecomment-457586392,

or mute the thread < https://github.com/notifications/unsubscribe-auth/AjjKzSeeUiv2CXio3UkvY4t6DsWhQB0Uks5vGxI4gaJpZM4ZyXc1 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/esptiny86/espsynth86/issues/9#issuecomment-457588933, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD88O8MVJzjdiVy-g70s_zXNDjNtBGUks5vGxQygaJpZM4ZyXc1 .

-- Budi Prakosa e: iyok@deadmediafm.org | budi.prakosa@gmail.com p: +62 811 268 995 w: manticore.deadmediafm.org | lifepatch.org

owalkhoff commented 5 years ago

Thank you @badgeek. It's working fine for me, I reinstalled the library espsynth86-1.0.4-38-g47aef06.zip, and board, the original issue is solved.

Only thing I still get this warning: Category 'Sound' in library Espsynth86 Synthesizer Library is not valid. Setting to 'Uncategorized'

badgeek commented 5 years ago

hmmm i already set espsynth86-1.0.4-38-g47aef06.zip category to 'Uncategorized', so that msg should be disappear now..

owalkhoff commented 5 years ago

I just noticed that somehow the previous version (37) of the library was still in my libraries folder. I removed it so that only the current version (38) is there, and the warning is gone :)

wdautrem commented 2 years ago

I was having the same / similar issue in Windows / Arduino 1.8.13, both board package 2.4.2 and 2.5.0. The platform.txt file does not include a definition for the variable compiler.libraries.ldflags. This causes the Arduino builder to attempt to execute a command with the placeholder {compiler.libraries.ldflags} in it. The compile then fails with the error:

xtensa-lx106-elf-gcc: error: {compiler.libraries.ldflags}: No such file or directory

I added "compiler.libraries.ldflags=" under "compiler.elf2hex.extra_flags=" in the existing platform.txt file and the examples will now compile.