You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get this working with CLion and PlatformIO. Sadly I do not know a lot about this yet but learning quick. When CLion tries to make a PlatformIO project using the Clang from this build I get the following error. I was hoping perhaps you could point me in the right direction as to a resolution. Thank you.
-- The C compiler identification is Clang 15.0.0
-- The CXX compiler identification is Clang 15.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /nix/store/d8751552vm8chxr61079a05ha0036zhs-esp-clang-esp-idf-v5.1.2/bin/clang
-- Check for working C compiler: /nix/store/d8751552vm8chxr61079a05ha0036zhs-esp-clang-esp-idf-v5.1.2/bin/clang - broken
CMake Error at /var/home/<user>/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/share/cmake-3.27/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"/nix/store/d8751552vm8chxr61079a05ha0036zhs-esp-clang-esp-idf-v5.1.2/bin/clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/tmp/cmake_check_environment/_build13292948200471213125/CMakeFiles/CMakeScratch/TryCompile-qcRleM'
Run Build Command(s): /var/home/<user>/.local/share/JetBrains/Toolbox/apps/clion/bin/ninja/linux/x64/ninja -v cmTC_09736
[1/2] /nix/store/d8751552vm8chxr61079a05ha0036zhs-esp-clang-esp-idf-v5.1.2/bin/clang -fcolor-diagnostics -MD -MT CMakeFiles/cmTC_09736.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_09736.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_09736.dir/testCCompiler.c.o -c /tmp/cmake_check_environment/_build13292948200471213125/CMakeFiles/CMakeScratch/TryCompile-qcRleM/testCCompiler.c
[2/2] : && /var/home/<user>/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E rm -f libcmTC_09736.a && /nix/store/d8751552vm8chxr61079a05ha0036zhs-esp-clang-esp-idf-v5.1.2/bin/llvm-ar qc libcmTC_09736.a CMakeFiles/cmTC_09736.dir/testCCompiler.c.o && /nix/store/d8751552vm8chxr61079a05ha0036zhs-esp-clang-esp-idf-v5.1.2/bin/llvm-ranlib libcmTC_09736.a && :
FAILED: libcmTC_09736.a
: && /var/home/<user>/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake -E rm -f libcmTC_09736.a && /nix/store/d8751552vm8chxr61079a05ha0036zhs-esp-clang-esp-idf-v5.1.2/bin/llvm-ar qc libcmTC_09736.a CMakeFiles/cmTC_09736.dir/testCCompiler.c.o && /nix/store/d8751552vm8chxr61079a05ha0036zhs-esp-clang-esp-idf-v5.1.2/bin/llvm-ranlib libcmTC_09736.a && :
/nix/store/d8751552vm8chxr61079a05ha0036zhs-esp-clang-esp-idf-v5.1.2/bin/llvm-ar-unwrapped: error: expected [relpos] for 'a', 'b', or 'i' modifier
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
Error code: 1
The text was updated successfully, but these errors were encountered:
Sorry for not replying for so long! Unfortunately I don't know much about this specifically either. The tools have been updated at least once since, so maybe that will help?
Hello,
I am trying to get this working with CLion and PlatformIO. Sadly I do not know a lot about this yet but learning quick. When CLion tries to make a PlatformIO project using the Clang from this build I get the following error. I was hoping perhaps you could point me in the right direction as to a resolution. Thank you.
The text was updated successfully, but these errors were encountered: