Jump to content
  • Advertisement
Sign in to follow this  
willthrom

PSDK with GCC

This topic is 3976 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I try to compile a app using Windows Plataform SDK 2003 with GCC compiler. When compile with VC++ 6.0 I don´t get any error. Errors_ "C:\Archivos de programa\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h:666: #error Must define a target architecture." If I define "_M_IX86": "C:\Archivos de programa\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h:588: error: expected `(' before '{' token" in code: __inline ULONGLONG NTAPI Int64ShllMod32 ( ULONGLONG Value, DWORD ShiftCount ) { __asm { mov ecx, ShiftCount mov eax, dword ptr [Value] mov edx, dword ptr [Value+4] shld edx, eax, cl shl eax, cl } } at wint.h Any idea or tips to compile PSDK using GCC? Thank you. PD: mingw32-g++.exe compiler :)

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!