User forums > Using Code::Blocks

Fail to build two targets with different compiler

(1/1)

mariusm:
Great IDE, simple but complex, help me a lot  :D

I made a virtual build target and check to contain two targets. This targets use different compilers, one for win 32 bits and other for 64 bits.

When I build this targets individual works, but when I try to build the virtual target, fail with module machine type 'x64' conflicts with target machine type 'X86'

I think it doesn't take into account the individual settings for the compiler and build virtual with one.

Can I fix that?

BlueHazzard:
Please post a build log:
https://wiki.codeblocks.org/index.php/FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

so we can see what is going on
thank you

mariusm:
Solved.

I had to set object_output differently on each target   ;D

Navigation

[0] Message Index

Go to full version