Skip to content

Conversation

@JulianGro
Copy link
Member

This PR aims to make it easier to switch build types in CLion and other IDEs.

  • Updated Linux build configuration to use Ninja Multi-Config.
  • Updated OVERTE_MEMORY_DEBUGGING and OVERTE_THREAD_DEBUGGING. (Though unfortunately neither of them are working for me…)
  • Added CLion and KDevelop documentation in BUILD_IDE.md.
  • Added CLion profiles for the most common configurations.
    CLion_CMake_3

I initially intended to document how to use KDevelop on Windows as well, but unfortunately every version I tried just crashes on startup right now.

OVERTE_MEMORY_DEBUGGING fails to link:

/usr/bin/ld: libraries/gpu/Debug/libgpu.so: undefined reference to `typeinfo for gpu::Renderpass'

I don't really understand what this means, since this doesn't fail without memory debugging.

OVERTE_THREAD_SANITIZER cannot be found?

GNU gdb (GDB; JetBrains IDE bundle; build 209) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
/home/juliangro/.gdbinit:1: Error in sourced command file:
Support for debuginfod is not compiled into GDB.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6e5495a in ___interceptor___cxa_atexit (f=0x7ffff6e4e710 <__tsan::finalize(void*)>, arg=0x0, dso=0x0) at ../../../../src/libsanitizer/tsan/tsan_rtl.h:253
warning: 253	../../../../src/libsanitizer/tsan/tsan_rtl.h: Datei oder Verzeichnis nicht gefunden
The target architecture is set to "auto" (currently "i386:x86-64").

…io-webrtc-audio-processing from source now, instead of using prebuilt Google WebRTC.
…n. Don't throw a warning if CMAKE_BUILD_TYPE is not defined.
Only Dale, 74, and me ever touched this file, so we can change the copyright.
…n already keeps track of these in the system Qt package. If someone chooses to use the source package (which may become default on Qt6), they don't need to install these dependencies anyway.
@RTUnreal
Copy link
Collaborator

RTUnreal commented Jan 11, 2026

I am unsure if it is out-of-scopre for this PR, but would adding generic clangd support also be possible?

here is a good tutorial for adding support for it: https://gist.github.com/Strus/042a92a00070a943053006bf46912ae9

@JulianGro
Copy link
Member Author

To me this is out of scope. The reason I added documentation for CLion and KDevelop specifically, is that CLion allows us to set predefined profiles, KDevelop needs a lot of handholding, and both of them are relatively popular among Overte contributors.

CLion also supports Clangd out-of-the-box; I just cannot tell if it is enabled by default or not (since my settings are synced using my JetBrains account).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants