[R] Building Rgui.exe with Visual Studio

Neil Osborne r_stuff_online at hotmail.com
Mon Apr 29 01:35:28 CEST 2002


Hi,

I have downloaded and modified the source for rgui - because I wanted to add 
a few more custom menus to the GUI. I have almost got it completed, but have 
spent the last four hours trying to resolve the following issues (no pun 
intended !)



Linking...
R.lib(R.dll) : error LNK2005: _WatchCursor already defined in cursors.obj
R.lib(R.dll) : error LNK2005: _ArrowCursor already defined in cursors.obj
R.lib(R.dll) : error LNK2005: _R_Interactive already defined in main.obj


I have tried just about everything I can think of (including the obvious 
commenting out the declspec dllimport statements in cursors.c) - to no 
avail. Actually that works but it's a desperate hack and causes the app to 
crash later on!

I've run out of ideas and I would appreciate a new set of eyes looking at 
this to see what I'm obviously doing wrong.


PS: I am compiling with MSDev Studio 6, OS  is Win2k


Regards


Redhat Hacker

_________________________________________________________________


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list