Menu

#67 #error "_WIN32_WINNT setting conflicts with specified WINVER"

v1.0_(example)
closed
nobody
None
1
2021-01-12
2020-10-19
HKrzak
No

Hi!

I have experienced problems when compiling hwgui with MinGW under 64bit Win10.

The workaround is to modify hwingui.h like as follows:

ifndef WINVER

#define WINVER  0x0500

endif

instead

ifndef WINVER

#define WINVER  0x0502

endif

Is there some better solution to this problem?

Hrvoj Krzak

Related

Bugs: #67

Discussion

  • Wilfried Brunken

    Hello Hrvoj,
    i have no problems, to compile HWGUI with MinGW32 and MinGW64 on Windows 10.
    (#define WINVER 0x0500)
    To help you, please send me the compiler error message.
    I'll check #define WINVER 0x0502 also on Windows 7.

    With regards,
    MNI TNX, 73 es 55 de
    DF7BE, Wilfried

     
    • HKrzak

      HKrzak - 2020-10-21

      Hello Wilfried,

      thanks again for your efforts.

      Here is a print-screen of my desktop, please see command prompt window
      with the error. (when  WINVER is 0x0500).
      Also, the compiler reports some warnings for freeimage due to wrong data
      types in procedure calls.. (maybe not important at all..)

      When WINVER is set to 0x0502, only freeimage warnings remain..

      Best regards,

      Hrvoj Krzak

      On 20.10.2020. 17:28, Wilfried Brunken wrote:

      Hello Hrvoj,
      i have no problems, to compile HWGUI with MinGW32 and MinGW64 on
      Windows 10.
      (#define WINVER 0x0500)
      To help you, please send me the compiler error message.
      I'll check #define WINVER 0x0502 also on Windows 7.

      With regards,
      MNI TNX, 73 es 55 de
      DF7BE, Wilfried


      [bugs:#67] https://sourceforge.net/p/hwgui/bugs/67/ #error
      "_WIN32_WINNT setting conflicts with specified WINVER"

      Status: open
      Group: v1.0_(example)
      Created: Mon Oct 19, 2020 08:46 PM UTC by HKrzak
      Last Updated: Mon Oct 19, 2020 08:46 PM UTC
      Owner: nobody

      Hi!

      I have experienced problems when compiling hwgui with MinGW under
      64bit Win10.

      The workaround is to modify hwingui.h like as follows:

      ifndef WINVER

      define WINVER 0x0500

      endif

      instead

      ifndef WINVER

      define WINVER 0x0502

      endif

      Is there some better solution to this problem?

      Hrvoj Krzak


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/hwgui/bugs/67/
      https://sourceforge.net/p/hwgui/bugs/67/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #67

  • Wilfried Brunken

    Hello Hrvoj,
    are you pleased ?
    Can this this be closed ?

    A happy new year,
    with regards,
    MNI TNX, 73 es 55 de
    DF7BE, Wilfried

     
    • HKrzak

      HKrzak - 2021-01-05

      Hello Wilfried,

      Thanks, all best wishes in 2021!

      Yes, this is not important, maybe this is only problem with my Windows
      instalation.

      Best regards,

      Hrvoj.

      On 4.1.2021. 10:54, Wilfried Brunken wrote:

      Hello Hrvoj,
      are you pleased ?
      Can this this be closed ?

      A happy new year,
      with regards,
      MNI TNX, 73 es 55 de
      DF7BE, Wilfried


      [bugs:#67] https://sourceforge.net/p/hwgui/bugs/67/ #error
      "_WIN32_WINNT setting conflicts with specified WINVER"

      Status: open
      Group: v1.0_(example)
      Created: Mon Oct 19, 2020 08:46 PM UTC by HKrzak
      Last Updated: Tue Oct 20, 2020 03:28 PM UTC
      Owner: nobody

      Hi!

      I have experienced problems when compiling hwgui with MinGW under
      64bit Win10.

      The workaround is to modify hwingui.h like as follows:

      ifndef WINVER

      define WINVER 0x0500

      endif

      instead

      ifndef WINVER

      define WINVER 0x0502

      endif

      Is there some better solution to this problem?

      Hrvoj Krzak


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/hwgui/bugs/67/
      https://sourceforge.net/p/hwgui/bugs/67/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #67

  • Maurizio la Cecilia

    • status: open --> closed
     

Log in to post a comment.