News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

module machine type 'x64' conflicts with target machine type 'X86'

Started by hcetiner, September 04, 2009, 02:37:25 PM

Previous topic - Next topic

hcetiner

wxbase28.lib(event.obj)||fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'|
||=== Build finished: 1 errors, 0 warnings ===|

I am sure that I recompiled wxwidgets libraries using msvc via x64 architecture.
and now trying to get a simple helloworld window application under codeblocks.

so what is the exact settings global compiler settings for MSVC to compile x64?
I think codeblocks using wrong cl.exe,nmake.exe ...etc for msvc ?
regards

hcetiner

sample code have no problem.
libs are compiled successfully.
because same project can be compiling wey well under MSVS IDE.
but
in codeblocks
module machine type 'x64' conflicts with target machine type 'X86'

simply I am testing of Codeblocks nowadays.

hours lost.I think I did all combinaions of settings. but no luck
(its easy under msvc ide.everythiing compiles and generates a very prettiy nice for x64 executable)

what makes it so hard to configure ?
I think it should also have ready to use wizards and compiler settings for x64 msvc architecture.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]