Skip to content
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

Compilation failing with error fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' #415

Closed
KeerthiMuvva opened this issue Aug 19, 2020 · 2 comments

Comments

@KeerthiMuvva
Copy link

I am trying to compile libtins for x64.When i did cmake under build folder as mentioned below
cmake ../ -DPCAP_ROOT_DIR=C:/Users/kmuvva/Downloads/WpdPack_4_1_2/WpdPack -DLIBTINS_ENABLE_WPA2=0 -DLIBTINS_BUILD_SHARED=0
I got a sln file.But in that x64 is not there.I tried to add x64 and tried to compile
But its failing with x64\Debug\address_range.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
I tried clean build rebuild but still issue persists

@KeerthiMuvva
Copy link
Author

Tried with Visual Studio 2015 and Visual Studio 2017.FOr both of them observing same issue

@KeerthiMuvva
Copy link
Author

Able to resolve it.In visual studio some of the option was set to x86 changed it to x64.Resolved the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant