in reply to Re: Tk::Canvas not working
in thread Tk::Canvas not working
In file included from ../pTk/mTk/xlib/X11/Xlib.h:31, from tkWinPort.h:19, from tkPort.h:32, from tk.h:87, from imgBMP.c:11: ../pTk/mTk/xlib/X11/X.h:182:34: error: expected identifier or '(' befo +re numeric constant 182 | #define ControlMask (1<<2) | ^ gmake[1]: *** [makefile:891: imgBMP.o] Error 1 gmake[1]: Leaving directory 'C:/STRAWB~1/cpan/build/Tk-804.036-2/pTk' gmake: *** [makefile:1638: pTk/libpTk.a] Error 2 SREZIC/Tk-804.036.tar.gz C:\STRAWB~1\c\bin\gmake.exe -- NOT OK Stopping: 'install' failed for 'Tk::Canvas'
This does look familiar. I think that I did have this problem with my original installation of Tk, but do not remember the solution.
UPDATE: Found my old notes. Refer Tk install fails. I had installed Tk with the command cpanm https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/patched_cpan_modules/Tk-804.036_001.tar.gz. Perhaps I should uninstall all of Tk and repeat that command.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Tk::Canvas not working
by syphilis (Archbishop) on Dec 06, 2024 at 00:30 UTC | |
by BillKSmith (Monsignor) on Dec 08, 2024 at 22:00 UTC | |
by syphilis (Archbishop) on Dec 09, 2024 at 00:52 UTC | |
by BillKSmith (Monsignor) on Dec 09, 2024 at 03:42 UTC | |
by harangzsolt33 (Deacon) on Dec 09, 2024 at 03:56 UTC | |
by BillKSmith (Monsignor) on Dec 10, 2024 at 16:18 UTC | |
by BillKSmith (Monsignor) on Dec 13, 2024 at 18:49 UTC | |
by syphilis (Archbishop) on Dec 14, 2024 at 00:19 UTC | |
by BillKSmith (Monsignor) on Jan 10, 2025 at 02:45 UTC |