Closed TheElementalOfDestruction closed 4 years ago
Thank you for the report. We will try to reproduce it and fix it. We have never really tried building RetDec inside Cygwin (on Windows, we recommend building RetDec without any Unix-like environment with Visual Studio).
This and other tools in the retdec build are missing the link to the two libraries -lshlwapi -lz. I manually winged it for the few affected bins and got it to compile. Unfortunately, I'm not versed enough in cmake to fix this properly, so if someone could point me in the right direction, I'll gladly fix it and push it.
There is also some difficulty with the deps, relating to retdec-libdwarf.dll and retdec-libelf.dll (compiling to bin, but sometimes looking in lib) and the deps for yarac (looking for file yarac, but its called yarac.exe from the start), all of which I was to wing, but need to be addressed properly in the cmake system.
Update: I made some tweaks to the cmake files that make the whole package compile smoothly now and also put in a pull request. Let's see how this fares. I think the crux here is that msys/mingw has behavior that's a mix between Windows typical and Linux behaviors.
Just for future reference, the PR where this is being worked on is #606.
@TheElementalOfCreation Does the issue still persist for you, even after #606 has been merged into master
?
Err, I gave up compiling with Cygwin a while ago, I don't know. Getting a proper build environment back up to test this in would take quite some time as well.
Alright, no problem. Let's close the issue. If anyone else stumbles upon it, please create a new issue.