Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: installing Tk for strawberry

by syphilis (Archbishop)
on May 26, 2010 at 23:06 UTC ( [id://841845]=note: print w/replies, xml ) Need Help??


in reply to installing Tk for strawberry

... commctrl.h:15:2: error: #error _WIN32_IE setting conflicts

In commctrl.h that ships with Strawberry, at around line 15, we find:
/* FIXME: This really must be 0x0501 !!! */ #if (_WIN32_IE < 0x0500) #error _WIN32_IE setting conflicts
I think this is a complaint about the version of Internet Explorer that you have. What version are you running ? If it's ancient, then you probably ought to upgrade it .... though it's hard to believe that it could be so ancient as to be pre-5.0 (which is what I think the error is implying).

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: installing Tk for strawberry
by syphilis (Archbishop) on May 26, 2010 at 23:54 UTC
    though it's hard to believe that it could be so ancient as to be pre-5.0 (which is what I think the error is implying)

    Ah ... that's *not* what is being implied. The problem probably is that, in tkWinX.c we have:
    #ifndef _WIN32_IE #define _WIN32_IE 0x0300 #endif #include <commctrl.h>
    Rearranging the order in that file should fix the problem:
    #include <commctrl.h> #ifndef _WIN32_IE #define _WIN32_IE 0x0300 #endif
    In the latest Tk devel version, they've taken a different approach - which should also fix the problem (as was suggested earlier):
    #if !defined( _WIN32_IE) && !defined(__MINGW64_VERSION_MAJOR) #define _WIN32_IE 0x0300 #endif #include <commctrl.h>
    Cheers,
    Rob
      The crap doesn't work. What do you expect from Windows code written by undisciplined kids? Professional software written by professionals for professional environments works rather more often. You get what you pay for!

        The post you replied to is 6 years old. I'm not 100% clear on what you claim "doesn't work" but I just installed Tk via cpanp on Strawberry Perl v5.20.3 and it worked fine:

        >cpanm Tk --> Working on Tk Fetching http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-804.033.tar.gz +... OK Configuring Tk-804.033 ... OK Building and testing Tk-804.033 ... OK Successfully installed Tk-804.033 1 distribution installed

        I've been installing Tk on Strawberry for many years and don't recall ever running into a problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://841845]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-18 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found