Displaying 1 result from an estimated 1 matches for "1_50".
Did you mean:
1050
2012 Nov 27
1
Problems with MinGW and boost on Windows
...ed
Test.cpp file. Basically, I think linking with boost serialization is
causing the plugin to fail.
If I compile Test.cpp with line 43 (Dummy* Read() ...) commented out, I get
the expected output in R:
>
dyn.load("../MinGW/Debug64/Tester.dll",DLLpath="C:/Sys/boost/MinGW64/boost_1_50_0/lib")
Hello World.
> .Call("add",c(1,3))
[1] 4
> is.loaded("add")
[1] TRUE
However, if line 43 is uncommented, the output changes to
>
dyn.load("../MinGW/Debug64/Tester.dll",DLLpath="C:/Sys/boost/MinGW64/boost_1_50_0/lib")
Hello World.
>...