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
1,519 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
Reply
1 Solution
1,515 Views
ErichStyger
Specialist I

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
1,516 Views
ErichStyger
Specialist I

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

1,488 Views
VolcanicCheese
Contributor III

Thank you that make sense.

0 Kudos
Reply