-
Notifications
You must be signed in to change notification settings - Fork 264
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
Issue building binary under Linux #22
Comments
at the same time pe-sieve builds just fine using similar mingw_build.sh script
|
I added the mutex header explicitly to main.cpp - please check it out and let me know if it helps.
I compiled it on Linux. And yes, indeed there are lot of warnings, all about the same thing: |
thanks! very kind of you regarding warning you are right! but also lots of other nasty one -
do you think it would work if use the ultimate goal is to drop down the warnings from current to say 2-3 max 5! lets make it happen? |
Update on adding PS you already had got the include macros for in term_util.h |
I guess you also need to add into https://github.com/hasherezade/hollows_hunter/blob/master/CMakeLists.txt
otherwise some modern winapi won't be recognized, eg: |
Yes, I saw the previous include, and initially thought it should be sufficient, but still gave it a try and added the extra one. I am not sure what the cause because even the error that you've got looks weird - it literally suggest you to add
I cannot reproduce it, on my machine it builds fine - it is Linux Ubuntu (24.04). |
This is a good point, I will add it. |
what is your compiler version? mine is a bit older I guess
|
I've googled some info about std::mutex in mingw under Linux... fix:
eg: (note the * symbol)
|
if you have gcc13 there is a high chance you don't need above change! https://gcc.gnu.org/gcc-13/changes.html ref to WIndows section updates |
I have GCC 13.2.0 - matching what you found. So updating it should be enough, I am gonna leave this part as is. Maybe just a note in README will be sufficient. |
For some reason I"m not able to build hollow-hunter on Ubuntu using mingw toolchain
issue:
some sys info
The text was updated successfully, but these errors were encountered: