Hi,
I have successfully installed root 5.27/02 on a win xp machine with Visual C++ 2008 Express Edition. I can launch root and get the familiar splash screen - all good so far.
Now what I want to do is create code that can link against the root libraries. I haven’t used Visual C++ before (am used to command line and makefiles!) and am completely lost trying to figure out how to tell it to pick up the includes and libraries.
Is there a quick start guide anywhere that might help with this?
thanks
Peter
Hi,
I made some small progress and found how to add include directories so I can now compile but still can’t link…any help much appreciated!!
Hi,
ok - I figured out how to link libraries.
I now have a compiled program which runs - but for example if I try to draw a canvas, nothing happens. I can draw a canvas from within the interpreter, but not with a program compiled against root
thanks
Hi,
You probably need to create a TApplication and/or a TRint object and insure that you process the mouse/keyboard events. The simplest way to do so is to avoid creating your own executable and to use root.exe to load your library.
Philippe
Hi Philippe,
of course I forgot the TApplication - sorry!
thanks
Peter