The attached code is compiled properly. The error happens at the linking
stage.
It seems that R shared library is not built by configure/make.
2007/10/14, Dirk Eddelbuettel <[EMAIL PROTECTED]>:
>
>
> On 14 October 2007 at 05:58, Wang Chengbin wrote:
> | I am trying to use the R API to call optim
On 14 October 2007 at 05:58, Wang Chengbin wrote:
| I am trying to use the R API to call optim functions (nmmin, vmmin, lbfgsb,
| etc.) through a C program but I couldn't find the shared library to link
| under the R-2.6.0 build which is compiled under Linux (REL5).
You can't just call an _R_ fun
I am trying to use the R API to call optim functions (nmmin, vmmin, lbfgsb,
etc.) through a C program but I couldn't find the shared library to link
under the R-2.6.0 build which is compiled under Linux (REL5).
main.cpp:35: undefined reference to `Rf_initEmbeddedR(int, char**)'
main.cpp:41: undefi
3 matches
Mail list logo