-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CodeQL CLI faild in docker container: Could not auto-detect a suitable build method #1196
Comments
This means looking at the current working directory there was no obvious way to build your code -- a Makefile, CMakeLists.txt or similar. Given the |
Thank you for your valuable comments I am now able to build using script but once it finish the compilation of the code it pops up another error..
I am using the GNU MinGW compiler to compile my code. I also have seen some other post saying that I need to modify my codeql configuration file
. could you please let me know what are the possibilities for this to generate codeQL database. Thanks :) |
@FaiqueAli shall we close this issue and continue on github/codeql#10132 ? |
yes sure.. |
Hi Guys,
I am exploring codeql cli to use in my c++ project.
I am able to generate .sarif file on my local machine but when I execute the same code in a windows docker container to create the codeql database I am getting an error by using the below command..
codeql database create --language=cpp "C:\\xxx\\DB-codeql"
also highlights
I am using cmake -G "MSYS Makefiles" ../ and make to build my project
I found the issue over the internet but could not get any fix.
The text was updated successfully, but these errors were encountered: