-
Notifications
You must be signed in to change notification settings - Fork 977
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
Can't Seem To Make x64? #5
Comments
This is literally all I ever do to build it:
|
I may be stupid then, I'll try this when I wake up in the morning |
OK never-mind my curiosity got the better of me. Still getting same error, could it be I am using the community Visual Studio and you're using Enterprise? |
Possibly but I wouldn't think so for this basic compiling and linking. Possibly a different SDK version. Did you try from a clean, unzipped copy of the Detours source? I've had issue when building the x64 libraries in the same directory I've used for x86. You can also do 'nmake clean'. One side note: if it's getting as far as linking the example binaries, the core library files are already built -- and that's really what most people need. |
Yes, I downloaded it fresh when you commented on my laptop which has Win10 1803 on it, C++ tools and all, I don't know what's going on, I'll try it at work and see if we have access to Enterprise licences and try again. |
Installed Enterprise, same issue. I might install XP support it could be something stupid like that knowing how MS sometimes works ;), if not I'll report back even more confused. For reference what do you have installed for VS? |
I just have the '.NET desktop development' and 'Desktop development with C++' workloads installed. |
Then I'm out of ideas, I've got the same but doesn't work for me. |
The same problem: setting DETOURS_TARGET_PROCESSOR=x64 just puts binaries in x64 folder but the .lib file seems to be created by x86 compiler. |
VS2017 comes with several command shell prompts. The default one Each VC++ compiler binary only supports one target, so you have to make sure that you are invoking the right one. This is different than clang, for example, which is built as a cross-compiler that supports multiple target architectures. The error message from the pastebin log shows that the wrong compiler is being invoked:
At the end of path |
Oh I feel stupid, I didn't even see that in the error message. That solved it. Thank you! |
Hey Peeps,
I have VS2017 installed latest updates with the C++ tools installed.
I might be missing dependencies however when I open up the Developer Command Prompt and make the project it compiles fine for x86. I did try make all and it certainly tries but when it gets to x64 it seems to error out on:
iping_d.obj : error LNK2001: unresolved external symbol _iping_ProxyFileInfo
Would I be able to get any advice on this why it pops up when making for x64 and not x86 or am I being so stupid I'm not seeing what is wrong.
The text was updated successfully, but these errors were encountered: