cannot compile code on opensuse

hey,

i'm trying to use arduino on open suse. Pb is that my IDE won't compil the code ( even if i use an empty project)
here is the warning message:

"Arduino : 1.8.5 (Linux), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

/usr/share/java/Arduino-1.8.5/arduino-builder -dump-prefs -logger=machine -hardware /usr/share/java/Arduino-1.8.5/hardware -built-in-libraries /usr/share/java/Arduino-1.8.5/libraries -libraries /home/emmanuel/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path /tmp/arduino_build_242501 -warnings=all -build-cache /tmp/arduino_cache_666133 -prefs=build.warn_data_percentage=75 -verbose /tmp/untitled223878638.tmp/sketch_apr23a/sketch_apr23a.ino
Parameter 'tools' is mandatory
Usage of /usr/share/java/Arduino-1.8.5/arduino-builder:
-build-cache string
builds of 'core.a' are saved into this folder to be cached and reused
-build-options-file string
Instead of specifying --hardware, --tools etc every time, you can load all such options from a file
-build-path string
build path
-built-in-libraries value
Specify a built-in 'libraries' folder. These are low priority libraries. Can be added multiple times for specifying multiple built-in 'libraries' folders
-compile
compiles the given sketch
-core-api-version string
version of core APIs (used to populate ARDUINO #define) (default "10600")
-debug-level int
Turns on debugging messages. The higher, the chattier (default 5)
-dump-prefs
dumps build properties used when compiling
-fqbn string
fully qualified board name
-hardware value
Specify a 'hardware' folder. Can be added multiple times for specifying multiple 'hardware' folders
-ide-version string
[deprecated] use 'core-api-version' instead (default "10600")
-libraries value
Specify a 'libraries' folder. Can be added multiple times for specifying multiple 'libraries' folders
-logger string
Sets type of logger. Available values are 'human', 'machine' (default "human")
-prefs value
Specify a custom preference. Can be added multiple times for specifying multiple custom preferences
-preprocess
preprocess the given sketch
-quiet
if 'true' doesn't print any warnings or progress or whatever
-tools value
Specify a 'tools' folder. Can be added multiple times for specifying multiple 'tools' folders
-verbose
if 'true' prints lots of stuff
-version
prints version and exits
-vid-pid string
specify to use vid/pid specific build properties, as defined in boards.txt
-warnings string
Sets warnings level. Available values are 'none', 'default', 'more' and 'all'

Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560"

any idea ?

ty for helping

Are you using the official version of the Arduino IDE downloaded from:

Or something from a package manager?

Yes i am. it's just crazy :(. On my windows it's ok i can compil it but on my suse it's impossible.
The card is detected, and well plug.

:confused:

The tools options automatically passed to arduino-builder by the Arduino IDE on my Windows system are:

-tools C:\Program Files (x86)\ArduinoIDE\arduino-1.8.5\tools-builder -tools C:\Program Files (x86)\ArduinoIDE\arduino-1.8.5\hardware\tools\avr -tools C:\Users\per\AppData\Local\Arduino15\packages

Where C:\Program Files (x86)\ArduinoIDE\arduino-1.8.5 is the installation folder of the Arduino IDE. The Linux equivalent of C:\Users\per\AppData\Local\Arduino15 is /home/{username}/.arduino15 (a.k.a. ~/.arduino15). Do the equivalents of the paths in the arduino-builder command exist on your computer?

i'll take a look today and report what i ll find asap . Thank you