IDE does not recognize my system as window

cancel
Showing results for 
Search instead for 
Did you mean: 

IDE does not recognize my system as window

Jump to solution
125 Views
VolcanicCheese
Contributor II

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
121 Views
ErichS
Senior Contributor III

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
122 Views
ErichS
Senior Contributor III

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

94 Views
VolcanicCheese
Contributor II

Thank you that make sense.

0 Kudos