Closed moosa-aslam closed 4 years ago
The CMake files are fine (also AppVeyor uses them and builds the project without any problems: https://ci.appveyor.com/project/hasherezade/hollows-hunter/build/job/f9s45l81glo93jdi). There is some mistake on your side.
First of all, I can see that you downloaded just a master, which is not the complete source. You should have clone it along with the submodules.
Please follow this small guide:
git clone --recursive https://github.com/hasherezade/hollows_hunter.git
In the complete sources, the directory pe-sieve
have is not empty.
When I choose Visual Studio 2015, which is not installed on my machine, I get exactly the same error.
Once you chosen the wrong thing, you must first delete the cache to be able to correct your mistake.
File -> Delete Cache
After deleting the cache, choose again the valid one. Once you will have the correct environment set, I ensure you that it will work.
Followed your guide
1) Configured and generated project.
2) Project folder looks like this
3) Project Errors
ok, so the first problem is resolved and project got generated.
With the second thing - you seem to be having outdated version of the Windows SDK, where the definitions of delay load imports are missing... I saw such case before, and there are some workarounds. But I need to be sure. What exactly is your OS and the visual Studio version? Can you possibly switch to the newer?
ok, so the first problem is resolved and project got generated.
With the second thing - you seem to be having outdated version of the Windows SDK, where the definitions of delay load imports are missing... I saw such case before, and there are some workarounds. But I need to be sure. What exactly is your OS and the visual Studio version? Can you possibly switch to the newer?
Windows 7 64 Bit Visual Studio 2010
yes I can visual studio 2012 should do the work ?
You can try, but it may not be enough. You may also try to install Visual Studio 2017 or above. In case if you don't have a system on which you can install a higher version of Visual Studio you can use Windows 10 downloaded from here.
After compiling on Visual Studio 2012
1- Cmake (generated using VS 2012 generator)
2- Visual Studio 2012
As far as I can see, it is the same issue as before, with missing definition of delayload imports. Can you try with the second solution that I proposed?
I made adjustments to support the old SDKs. Try to update the project along with its submodules:
git pull --recurse-submodules
git submodule update --remote --recursive
or, delete the project and download it again:
git clone --recursive https://github.com/hasherezade/hollows_hunter.git
and repeat all the steps that I mentioned in the small guide. Let me know if it helped.
Unable to compile Hollow's hunter.