Build fails when copying dll
After fetching the latest updates from MuseScore Master (9eb907c), the build fails with this message:
3>Error copying file "C:/Qt/5.9.6/msvc2017_64/bin/libeay32.dll" to "D:/Projects/MuseScore/msvc.build_x64/../msvc.install_x64/bin/libeay32.dll".
Anyone have an idea what is wrong.
Up until 1b1912d, (PR 4247) merged 4 days ago, I have had not problems.
Comments
Ahh...I had exaclty the same problem, and mentioned in chat. And copying it from the extracted dependencies.7z into "C:/Qt/5.9.7/msvc2017_64/bin/" did the trick. I also had to copy "sslay32.dll" and rename it to "libsslay32.dll" for the build to work. I've made a comment in the windows build instructions (https://musescore.org/en/node/272167) for this workaround. So whoever resovles this issue might want to delete that comment.
#metoo
Result of the fix for #279023: "Save online" doesn't work I guess, even if that worked back then
Edit: fix in the works!
I've fixed this bug I believe (https://github.com/musescore/MuseScore/pull/4328) and that has been merged into master.
In reply to I've fixed this bug I… by ericfontainejazz
Fix doesn't work for me. I now get:
Error copying file "dll_ssl1-NOTFOUND" to "D:/Projects/MuseScore/msvc.build_x64/../msvc.install_x64/bin/dll_ssl1-NOTFOUND".
Where should that source file reside?
In reply to Fix doesn't work for me. I… by neGjodsbol
Same/similar for me. You need to clean up (
mscv_built.bat clean
) and start again (mscv_built.bat relwithdebinfo
) . There may be easier ways, if you find one, tell us here ;-)In reply to same for me. You need to… by Jojo-Schmitz
Tried that. Does not work. See errors in build_errors.txt
build_errors.txt
I tried to also run the INSTALL. It fails with the message:
CMake Error at mscore/cmake_install.cmake:36 (file):
2> file INSTALL cannot find "D:/Projects/MuseScore/mscore/dll_ssl1-NOTFOUND".
Obviously since that file is certainly not in mscore.
Any other suggestions?
In reply to Tried that. Does not work… by neGjodsbol
No, those errors were what I saw too, the clean up fixed it finally
In reply to Tried that. Does not work… by neGjodsbol
I'm extremely confident that my merged PR has fixed this issue. But you might have to quit Visual Studio, then manually delete both the msvc buld and install directories (as well as any other configuration)so you know you have a truely fresh slate, make sure you update to latest master, and then restart the entire build process (from starting visual studio and opening the musescore folder as described in https://musescore.org/en/handbook/developers-handbook/compilation/compi…) .
In reply to I'm extremely confident that… by ericfontainejazz
I have tried these steps, including restart inbetween, but I still have problems.
When the build has failed, I cal locate the file .../mvsc_build_x64/mscore/cmake_install.cmake which I have attached.
cmake_install-cmake.txt
It includes the statement "D:/Projects/MuseScore/mscore/dll_ssl1-NOTFOUND".
When I build from a branch that has not been updated to latest master, that statement is not in the file, so somewhere along the way, there has been a change to the installscripts, that causes this problem.
BTW; The MuseScore3.exe is genrated, and seems to run ok if i copy it to mvsc_install_x64/bin
In reply to I have tried these steps,… by neGjodsbol
@neG... I have a feeling that you previously manually moved the two dlls in question outside of the dependencies directory...because that is where they should be. If you don't know where those dlls are, please delete your current D:/Projects/MuseScore/dependencies directory and re-download dependencies.7z and extract it again to your D:/Projects/MuseScore/ directory (which will recreate the dependencies directory), and then I think that will fix the problem...
In reply to @neG... I have a feeling… by ericfontainejazz
I am not aware that I have moved or deleted any .dll's, but seeems I have. Refreshing /dependencies solved the problem.
@eric... thanks a lot for the help.
In reply to I am not aware that I have… by neGjodsbol
Glad it is working :)
Your problem might have been that you were using an out of date version of dependencies.7z ...the new one you just downloaded has those two additional dlls.