Seeing that rubenvb's MinGW-w64 build uses gcc 4.7 and RTools use gcc 4.6, I have tried again to get rid of all MinGWs and only use RTools (suspecting maybe binary incompatibility). Instead of mingw32-make.exe I am trying to use the make.exe supplied by RTools.
Boost compiles just fine, luckily. With CodeLite and my library, the only issue is that for some reason, it recompiles every file every time. Other than that, I successfully end up with a .dll. Using make.exe and my library with a premake4 generated make file, make.exe fails to create the obj directory, but if I do that manually, manages to compile the individual object files. It does, however, refuse to link afterwards, but that is also fixable by adding a manual -m64 to the linker. In any case, with both CodeLite and make.exe straight I end up with a dll that I again can load with dyn.load - alas, unfortunately, neither exposes any functions in R. I even switched one of the RcppExport's to a extern "C", to no avail. Which means that I am now on the RTools toolchain, and still don't get my functions exported... Any advice appreciated... [[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.