IDE does not recognize my system as window

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IDE does not recognize my system as window

Jump to solution
733 Views
VolcanicCheese
Contributor III

When using this code,

#if (defined _WIN32_ || defined _WIN64 || defined _WINDLL )

The IDE would not recognize my system is Window. I was looking online and I was not able to find answers on it. Thank you!

0 Kudos
1 Solution
729 Views
ErichStyger
Senior Contributor V

Hi @VolcanicCheese 

Well, I think this is not about the IDE, but about the compiler.

Such macros are used to detect if you are building for Windows. But as MCUXpresso is for NXP devices and for ARM Cortex, you are not building for Windows, so these defines are not activated.

If you want to develop applications for running on Windows, you need another compiler/tool.

I hope this helps,

Erich

View solution in original post

2 Replies
730 Views
ErichStyger
Senior Contributor V

Hi @VolcanicCheese 

Well, I think this is not about the IDE, but about the compiler.

Such macros are used to detect if you are building for Windows. But as MCUXpresso is for NXP devices and for ARM Cortex, you are not building for Windows, so these defines are not activated.

If you want to develop applications for running on Windows, you need another compiler/tool.

I hope this helps,

Erich

702 Views
VolcanicCheese
Contributor III

Thank you that make sense.

0 Kudos