Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: x64 compilation failed, but x86 compilation succeeded. (Read 6344 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

x64 compilation failed, but x86 compilation succeeded.

The compilation for x64 failed, but it succeeded for x86. When compiling SDK-2023-09-23 using x86, the foo_sample.dll can be generated correctly. However, the compilation for the same code failed when using x64, and attempts to resolve the errors were unsuccessful. Could you please advise on any specific preparations that need to be made?


Re: x64 compilation failed, but x86 compilation succeeded.

Reply #2
Using this sln, I can compile x64 now. Thank you.

Re: x64 compilation failed, but x86 compilation succeeded.

Reply #3
Thanks for the fix.
So the "pfc" project has incorrect build profile names, and output directories for Debug and Release on x64.

Strangely I changed the configuration name to just "Debug" from the solution Configuration Properties, but it resulted in "fatal error LNK1169: one or more multiply defined symbols found".

So it seems the solution specifically expects the pfc to have configuration as "Debug FB2K" / "Release FB2K" though not sure this is defined, and why it's different from other projects, with just plain "Debug" / "Release"...