I'm trying to use the Gluon Plugin on Eclipse IDE on Debian GNU/Linux... The project is configured to build using maven. Yet it doesn't find "cc1" even if it's installed as well as gcc and g++ and build-essential...
The log file says:
[Wed Sep 23 10:34:17 COT 2020][INFO] ==================== COMPILE TASK ====================
[Wed Sep 23 10:34:18 COT 2020][FINE] PB Command for check version: /home/mateo/AppsFiles/graalvm-ce-java11-20.2.0/bin/java -version
[Wed Sep 23 10:34:18 COT 2020][FINE] Start process check version...
[Wed Sep 23 10:34:19 COT 2020][FINE] [SUB] openjdk version "11.0.8" 2020-07-14
[Wed Sep 23 10:34:19 COT 2020][FINE] [SUB] OpenJDK Runtime Environment GraalVM CE 20.2.0 (build 11.0.8+10-jvmci-20.2-b03)
[Wed Sep 23 10:34:19 COT 2020][FINE] [SUB] OpenJDK 64-Bit Server VM GraalVM CE 20.2.0 (build 11.0.8+10-jvmci-20.2-b03, mixed mode, sharing)
[Wed Sep 23 10:34:19 COT 2020][FINE] Result for check version: 0
[Wed Sep 23 10:34:19 COT 2020][INFO] We will now compile your code for x86_64-linux-linux. This may take some time.
[Wed Sep 23 10:34:19 COT 2020][FINE] Extracting native libs to: /home/mateo/Workspace/Java/TestGluon/target/client/x86_64-linux/gvm/lib
[Wed Sep 23 10:34:19 COT 2020][FINE] Looking for resource: /native/linux/launcher.c
[Wed Sep 23 10:34:19 COT 2020][FINE] PB Command for compile-additional-sources: gcc -c -DSUBSTRATE -I/home/mateo/AppsFiles/graalvm-ce-java11-20.2.0/include -I/home/mateo/AppsF$
[Wed Sep 23 10:34:19 COT 2020][FINE] Start process compile-additional-sources...
[Wed Sep 23 10:34:19 COT 2020][FINE] [SUB] gcc: error trying to exec 'cc1': execvp: No such file or directory
[Wed Sep 23 10:34:19 COT 2020][FINE] Result for compile-additional-sources: 1
[Wed Sep 23 10:34:19 COT 2020][SEVERE] Process compile-additional-sources failed with result: 1
Check the log files under /home/mateo/Workspace/Java/TestGluon/target/client/x86_64-linux/gvm/log
And please check https://docs.gluonhq.com/client/ for more information.
[Wed Sep 23 10:34:19 COT 2020][INFO] Logging process [compile-additional-sources] to file: /home/mateo/Workspace/Java/TestGluon/target/client/log/process-compile-additional-so$
[Wed Sep 23 10:34:19 COT 2020][SEVERE] Compiling failed.
Check the log files under /home/mateo/Workspace/Java/TestGluon/target/client/x86_64-linux/gvm/log
And please check https://docs.gluonhq.com/client/ for more information.
The important part is:
[SUB] gcc: error trying to exec 'cc1': execvp: No such file or directory
because it doesn't find cc1... Is there any way to tell Eclipse IDE where is that located at? Thanks.