godotengine / godotengine/godot-cpp

Can't compile for Linux nor MacOS from Windows 10 machine

Open
#465 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

I'm trying to compile a linux library with the following command:
`scons platform=linux target=debug generate_bindings=yes use_llvm=yes bits=64 -j4`
However, every time I try, it complains about clang++ not being recognized.

```
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
clang++ /Fosrc\core\AABB.obj /c src\core\AABB.cpp /TP /nologo -fPIC -std=c++14 -Wwrite-strings -Og -g -m64 /I. /Igodot_headers /Iinclude /Iinclude\gen /Iinclude\core
'clang++' is not recognized as an internal or external command,
operable program or batch file.
clang++ /Fosrc\core\Array.obj /c src\core\Array.cpp /TP /nologo -fPIC -std=c++14 -Wwrite-strings -Og -g -m64 /I. /Igodot_headers /Iinclude /Iinclude\gen /Iinclude\core
clang++ /Fosrc\core\Basis.obj /c src\core\Basis.cpp /TP /nologo -fPIC -std=c++14 -Wwrite-strings -Og -g -m64 /I. /Igodot_headers /Iinclude /Iinclude\gen /Iinclude\core
scons: *** [src\core\AABB.obj] Error 1
clang++ /Fosrc\core\CameraMatrix.obj /c src\core\CameraMatrix.cpp /TP /nologo -fPIC -std=c++14 -Wwrite-strings -Og -g -m64 /I. /Igodot_headers /Iinclude /Iinclude\gen /Iinclude\core
'clang++' is not recognized as an internal or external command,
operable program or batch file.
'clang++' is not recognized as an internal or external command,
operable program or batch file.
'clang++' is not recognized as an internal or external command,
operable program or batch file.
'clang++' is not recognized as an internal
operable program or batch file.
scons: *** [src\core\Basis.obj] Error 1
scons: *** [src\core\Array.obj] Error 1
'clang++' is not recognized as an internal or external command,
operable program or batch file.
scons: *** [src\core\CameraMatrix.obj] Error 1
scons: building terminated because of errors.
```

I **know** I have clang++ properly installed because the clang++ command works in any old terminal!
I'd love some help to figure out why this happens.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.