Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tk Widgets on Windows

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello.
I am trying to build Tk Widgets using C on Windows. I have gotten my program to compile but two link errors pop up. It says that it could not resolve symbol XCreatePixmap and XFreePixmap. I have tried searching for these functions/procedures in the Tcl directory and came up emptyhanded. Does anyone know if I have to get another library or something like that for it? If you have any suggestions at all, please let me know. Any help will be greatly appreciated. Thank you.
 
XCreatePixmap and XFreePixmap sure sound a lot like X Windows primitives, and Microsoft Windows doesn't use X Windows. If you're compiling using the Windows port of Tcl/Tk, it shouldn't be making any calls to the X library. Did you use these functions in the code you wrote? If so, you need to rewrite your code to use Microsoft Windows drawing primitives, not X Windows. - Ken Jones, President
Avia Training and Consulting
866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top