Hello,
When I was building and testing my Rcpp based package on Windows XP, everything
was fine and worked, so far...
Then I moved to Windows 7 (all on a virtual PC on a recent Mac), tried to
compile the package here as well. When doing the "Rcmd check Packagename", it
goes pretty far, only fa
Hi Dirk,
> in the end the
> | (very simple!! :-)) ) working version of Makevars.win is like that:
>
> | PKG_LIBS = Plastic.lib $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e
> "Rcpp:::LdFlags()")
>
> Perfect!! No transformation needed for Plastic.lib, ie no export table
> business and
quot;)
with Plastic.lib, which resides directly in src, being the library I wanted to
link against.
It works, I can invoke the first simple functions from within R, I can
enumerate the connected devices, clear the list and give back build-numbers and
the like.
(But I fear the next ques
Hello Dirk,
Am 25.04.2011 um 04:54 schrieb Dirk Eddelbuettel:
>
> You need to include headers for R too, e.g.
>
> #include
> #include
>
> and maybe
>
> #include
I did that, so, the "final" C document looks like:
> | > #include "plastic.h" // adapt to what Plastic needs
> #inclu
Hi Dirk,
thank you for your answer.
I tried to write a very simple, pure package (without Rcpp), with the C-File
named "ROnlyTest", where I put the code like suggested by you.
The Makevars.win contains now only: (*)
PKG_CPPFLAGS=-I.
PKG_LIBS=Plastic.lib
Unfortunetely, I can not compile (fail a
gt; Hi Bernhard,
>
> Thanks for posting here!
>
>> On 24 April 2011 at 18:29, Bernhard Pollner wrote:
>> | Hello,
>> |
>> | I am in the process, i.e. I just began to write a Rcpp-based package for a
>> | Windows environment. The purpose of that package wi
kage?
Thank you very much,
with best greetings from Austria,
Bernhard Pollner
___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel