ConfettiFX / The-Forge

The Forge Cross-Platform Rendering Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
Apache License 2.0
4.71k stars 493 forks source link

codelite build: PIC error. #170

Closed stolk closed 4 years ago

stolk commented 4 years ago

On Ubuntu 18.04.4, using codelite 10.0.0

Building an example:

relocation R_X86_64_32S against symbol `_ZN5eastl23gpDefaultAllocatorForgeE' can not be used when making a PIE object; recompile with -fPIC
stolk commented 4 years ago

This goes away if I manually set the project to use clang, not gcc.

Not sure why codelite defaulted to gcc, at first launch, I pointed it to clang.