[Rcpp-devel] RInterface.h missing in the windows
Jian Lu
jian.lu3 at gmail.com
Sun Aug 12 20:19:57 CEST 2012
I am using R2.15.1 installed using windows binary file and would like to
compile some RInside examples. I have set up the compiler and linker
directory following the previous posts. Then I used Cygwin 1.7.16 to make
the Makefile.win, there is a compiling error regarding the missing
RInterface.h file. I have tried to copy the RInterface.h file from the R
distributed source code into the INCLUDE folder. But it seems that the
header file works only under unix, not a fit for the windows system.
Following are the compiler errors after replace the RInterface.h.
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x74):
undefined reference to `__imp___iob'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x9c):
undefined reference to `__imp___iob'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xb4):
undefined reference to `__imp___iob'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xcc):
undefined reference to `__imp___iob'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xdc):
undefined reference to `__imp___iob'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x39c):
undefined reference to `___gxx_personality_sj0'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x3bb):
undefined reference to `__Unwind_SjLj_Register'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x419):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x471):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x4cc):
undefined reference to `___gxx_personality_sj0'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x4eb):
undefined reference to `__Unwind_SjLj_Register'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x52c):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x608):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x64c):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x746):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x7f6):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x84c):
undefined reference to `___gxx_personality_sj0'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x86b):
undefined reference to `__Unwind_SjLj_Register'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x8c6):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x9c5):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x9ec):
undefined reference to `___gxx_personality_sj0'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xa0b):
undefined reference to `__Unwind_SjLj_Register'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xa3a):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xb34):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xb5c):
undefined reference to `___gxx_personality_sj0'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xb7b):
undefined reference to `__Unwind_SjLj_Register'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xbc6):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xd1e):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xd6b):
undefined reference to `___chkstk_ms'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xd82):
undefined reference to `___gxx_personality_sj0'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xdb3):
undefined reference to `__Unwind_SjLj_Register'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xf8e):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0xfb0):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x1150):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x1187):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x11be):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x14a4):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x14d5):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x16c0):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x16ef):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x1b64):
undefined reference to `___gxx_personality_sj0'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x1b8c):
undefined reference to `__Unwind_SjLj_Register'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x20a9):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x2183):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x21de):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x22b1):
undefined reference to `__CRT_MT'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x2414):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x245f):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x2583):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x25c3):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x25ff):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x2638):
more undefined references to `__Unwind_SjLj_Resume' follow
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x2670):
undefined reference to `___gxx_personality_sj0'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x2692):
undefined reference to `__Unwind_SjLj_Register'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x26f7):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x2746):
undefined reference to `__Unwind_SjLj_Resume'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x275c):
undefined reference to `___gxx_personality_sj0'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x277b):
undefined reference to `__Unwind_SjLj_Register'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x27e2):
undefined reference to `__Unwind_SjLj_Unregister'
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o):RInside.cpp:(.text+0x2831):
undefined reference to `__Unwind_SjLj_Resume'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
C:/R/R2.15.1/library/RInside/lib/i386/libRInside.a(RInside.o): bad reloc
address 0x0 in section `.data'collect2: ld returned 1 exit status
Any comment is appreciated.
Thanks,
Jian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120812/c01f7b50/attachment.html>
More information about the Rcpp-devel
mailing list