Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mariusm on February 11, 2023, 05:17:19 pm

Title: Fail to build two targets with different compiler
Post by: mariusm on February 11, 2023, 05:17:19 pm
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?

Title: Re: Fail to build two targets with different compiler
Post by: BlueHazzard on February 11, 2023, 10:44:37 pm
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
Title: Re: Fail to build two targets with different compiler
Post by: mariusm on February 12, 2023, 07:54:23 am
Solved.

I had to set object_output differently on each target   ;D