[Bug]: compile_command.json not being generated
What happened?
I am running CodeLite 17.0 on a clean debian bookworm install. clan version = 14
I have 'Generate compile_commands.json file' checked, but there is no compile_commands.json file being produced.
What could I be doing wrong?
Version
17.0.0
Operating system
Linux
Steps to reproduce
No response
Relevant log output
No response
Can you post a screenshot and probably better yet, a reproduction setup?
It should be in build-release/compile_commands.json I even use it in a custom CI (on ubuntu-latest)
My setup is a little unorthodox. I am running codelite on a debian bookworm machine, clean install, nothing custom. I access this from a Windows machine using Xming as the X server and putty as the ssh client. I don't see how my X environment should affect the language server stuff, I used this same setup with an earlier version on debian buster with no problems.
Screen shot showing the language server not being able to find a header from a non-system include path and not identify customer type, ConfigValue in this case.
Everything builds fine, so the compiler is actually being fed the correct include paths etc.
I see no reference to anything producing compile_commands.json in the build output, should I?
If I run the makefiles through bear to product compile_commands.json myself, everything works fine. make clean; for i in *.mk ; do bear --append -- make -j 8 -f $i; done
Anything else I can provide?
Kristian Penno Senior Design Engineer CEOS Pty Ltd @.*** +61 3 9458 4955
From: "Eran Ifrah" @.> To: "eranif/codelite" @.> Cc: "Kristian Penno" @.>, "Author" @.> Sent: Tuesday, 20 August, 2024 6:45:18 PM Subject: Re: [eranif/codelite] [Bug]: compile_command.json not being generated (Issue #3453)
Can you post a screenshot and probably better yet, a reproduction setup?
— Reply to this email directly, [ https://github.com/eranif/codelite/issues/3453#issuecomment-2298311643 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/BKRLN3TT5ERJTMUBXJKFMETZSL6Z5AVCNFSM6AAAAABMZBY4U2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGMYTCNRUGM | unsubscribe ] . You are receiving this because you authored the thread. Message ID: @.***>
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering. [ https://www.mailguard.com.au/mg | https://www.mailguard.com.au/mg ] [ https://console.mailguard.com.au/ras/28tWeme8YJ/5FEeAXHJjD7oLOf6snUHFN/2 | Report this message as spam ]
I have the same problem, but a different setup. Should I file a new Issue or continue this?
Version 17.0.0
Operating system Linux, Ubuntu 24.04
What is a reproduction setup?