Rootcint fails to include


I’m using cint with VS2013 to use the signal-slot mechanism.

I’m having troubles because #include <windows.h> or #include <Windows4Root.h> gives different results in VS or rootcint. In VS i also have types like HANDLE and DWORD that gives compiling errors in cint.

My first idea was to include other dirs in cint but the -I parameter seems not to work.



rootcint cannot work with any of the MS specific Windows types (and there is no way to make it working), you can only include Windows4root.h in source files being compiled, if you have to mix Windows and ROOT types. But this is a tricky exercise anyway…

Cheers, Bertrand.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.