search for: _rf_protect

Displaying 3 results from an estimated 3 matches for "_rf_protect".

Did you mean: rf_protect
2000 Jun 26
2
Looking for protect()
...st some easy code that I got from section 3.6.4. When I try to compile the file out.c under NT 4, using VC++ 6.0, I get the following error messages: Compiling... out.c Linking... out.obj : error LNK2001: unresolved external symbol _Rf_unprotect out.obj : error LNK2001: unresolved external symbol _Rf_protect out.obj : error LNK2001: unresolved external symbol _Rf_allocMatrix out.obj : error LNK2001: unresolved external symbol _Rf_length I see, for example, that PROTECT(s) is #defined as protect(s) in R.h, #ifndef R_NO_REMAP. If I do nothing, I get the errors above, and if I #idefine R_NO_REMAP, I get...
2003 May 20
1
building a Win32 DLL with R objects?
...obj : error LNK2001: unresolved external symbol _Rf_unprotect main.obj : error LNK2001: unresolved external symbol _REAL main.obj : error LNK2001: unresolved external symbol _LENGTH main.obj : error LNK2001: unresolved external symbol _Rf_warning main.obj : error LNK2001: unresolved external symbol _Rf_protect main.obj : error LNK2001: unresolved external symbol _Rf_coerceVector Debug/rdll_test.dll : fatal error LNK1120: 6 unresolved externals Error executing link.exe. rdll_test.dll - 7 error(s), 6 warning(s) And I can't find the lib file I should be including. Is there one or am I barking up the w...
2002 Nov 13
1
DLLs adding in C++ code
...d binaries. I get the Link time error saying that the R functions can not be found. e.g. error LNK2001: unresolved external symbol "void __stdcall Rf_unprotect(int)" (?Rf_unprotect@@YGXH at Z) error LNK2001: unresolved external symbol _REAL at 4 error LNK2001: unresolved external symbol _Rf_protect at 4 error LNK2001: unresolved external symbol _Rf_allocMatrix at 12 error LNK2001: unresolved external symbol _Rf_length at 4 I suspect this is because of way in which the functions are exported is not standardised between MS and GNU compilers. I suppose that I can recompile all the R code in VC...