Building a windows app with Tcl/Tk includes X.h



I'm building a windows app with Tcl and Tk embedded. Visual Studio is
generating the following error:

c:\Tcl\include\X11\X.h(51) : error C2371: 'Font' : redefinition;
different basic types
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include
\comdef.h(305) : see declaration of 'Font'


It seems to me that it shouldn't be trying to include anything from
X11. Is there a #define I should pass to the compiler, or #include
more than just "tk.h" ? I'm using 8.4 with 8.5 overlayed (both from
ActiveState).

Thanks,

Simon Geard
.



Relevant Pages

  • Re: Sound advice
    ... I've narrowed it down to not liking the inclusion of ... C:\Program Files\Microsoft Visual Studio ... redefinition; different basic types ...
    (microsoft.public.dotnet.languages.vc)
  • Re: tcl blend
    ... Has anybody had success trying to build tcl blend on Visual Studio 8? ... The Windows Tcl.exe is executed from the jtclsh.bat file run from the ...
    (comp.lang.tcl)
  • What is going on with the debugger and/or loader?
    ... I've got a windows app that launches a few threads. ... Visual Studio indicates that no code is loaded at that location ... ... If I code a DebugBreakat the entrance of my thread it is hit! ... So I guess the first statement is a lie, BUT just placing a breakpoint at ...
    (microsoft.public.win32.programmer.kernel)
  • What is going on with the debugger and/or loader?
    ... I've got a windows app that launches a few threads. ... Visual Studio indicates that no code is loaded at that location ... ... If I code a DebugBreakat the entrance of my thread it is hit! ... So I guess the first statement is a lie, BUT just placing a breakpoint at ...
    (microsoft.public.vsnet.debugging)
  • Convert Visio windows application GUI diagram to Visual Studio (V
    ... Does anyone know if there is a way to export a mockup GUI for a windows app ... from Visio directly into Visual Studio.. ... Thanks a bunch! ...
    (microsoft.public.visio.developer)