-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
How to build the latest 22.01 #274
Comments
is there any documentation on the build process for the current main branch ? Any pointers would be appreciated. |
after removing the missing icon frm resource.rc, the build of Format7zF fails with the error below: ../../Archive\ZstdHandler.cpp(375): error C2220: the following warning is treated as an error |
I ran into the same issue while building the latest version today. I was able to fix the code and successfully build I'm attaching a zip file that contains the source code patch and the missing icon. Apply the included patch and copy |
@rohitab Will you digg deeper for a proper fix n create a PR after that? |
here is btw a working compile... |
Do you think the approach below is correct for example zstd ?
|
Based on this comment facebook/zstd#1402 (comment)_ by a zstd developer, it appears that zstd does not store the file modification time. In which case, I think that time precision flags are probably not be required. Take a look at 7-Zip-zstd/CPP/7zip/Archive/Bz2Handler.cpp Lines 478 to 484 in d03b30e
Now, if you look at 7-Zip-zstd/CPP/7zip/Archive/GzHandler.cpp Lines 1207 to 1215 in d03b30e
Since zstd does not store the file modification time either, the time flags should be similar to bzip, i.e. the time flags should be set to 0. Please note that I've only have a cursory look at the code, and I'm not an expert on compression formats. So, I may be wrong. @isarrider I thought about it, but since I wasn't 100% sure about the change, I didn't want to submit an incorrect PR. Also, there are some other issues with the build. For example, Alone2 does not build, unless you add additional objects to the makefile. The developer is aware that the latest version doesn't build. See #281 (comment). I assume they will release an update when ready. |
@rohitab I know that the dev is aware, but I thought he doesnt have the time atm to work on it... |
I'm trying to build the latest master branch with AppVeyor. All goes well until:
resource.rc(35) : error RC2135 : file not found: ../../Archive/Icons/apfs.ico
: fatal error U1077: '"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\rc.EXE"' : return code '0x1'
Stop.
Any idea how to inject those icons in the source tree so that they can be found ?
The text was updated successfully, but these errors were encountered: