module machine type 'x64' conflicts with target machine type 'x86' [closed]

asked 2018-12-14 20:36:14 -0600

I"m using VS 2017 community. C++ compiler. I'm on a 64bit Windows 10 Pro laptop.

I'm getting the error "module machine type 'x64' conflicts with target machine type 'x86'".

I've gone into Project/Linker/Advanced and set the machine back and forth from X86 to x64, and I still get the same error when trying to build.

I've already given it the directories for external libraries. This is my only remaining error (well, at least until I fix this one).

Any ideas?

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by LBerger
close date 2018-12-15 02:24:25.911119

Comments

You can set memory model in solution platforms list. Select x64

image description

LBerger gravatar imageLBerger ( 2018-12-15 02:23:04 -0600 )edit