Hi again,

I am still struggling with this unfortunately.

I installed 64 bit MinGW (rubenvb's personal build) and managed to fully
compile boost (static libraries) and my library (shared library), after a
fair amount of pain. I can now even load my library with dyn.load. However,
I can't call my functions ("C symbol name "xxx" not in load table").

I tried to reproduce what "Rcpp" and "inline" do in terms of compiling, and
I even looked into a such generated DLL with getDLLRegisteredRoutines, as I
was worried that my library didn't have any registered routines, but
neither do the "inline" generated DLLs have registered routines.

So I am a bit stuck - I am aware that I diverged from the Rtools build, but
unfortunately I haven't gotten very far with those. Mainly I get stuck on
the missing mingw32-make.exe.

Any ideas how I should move forward? Is my problem different compiler
versions? Does mingw32-make.exe not work with R?

Please note that all my code works just fine on linux, e.g. function
declarations are exported with RcppExport (which is basically just a macro
to Extern "C") and such.

Thanks,
Florian

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to