Re: swig and R - weird syntax error
Pierre-Henri Wuillemin <[email protected]> Mon, 19 Apr 2021 17:41:16 +0200
| Newsgroups | gmane.comp.programming.swig |
|---|---|
| Message-ID | <[email protected]> |
Hello again, I forgot to create a minimal example to producethis error. Doing this, I ended up with : %module example %include "std_vector.i" (in the other hand, including std_string does not produce any error) Le 19/04/2021 à 11:53, Pierre-Henri Wuillemin a écrit : > > Hi, > > I'm using swig for a python wrapper which works great (thanks to > swig!) and I'm trying to generate an R wrapper as well. I'm just > getting started but on my first compile test, I get a strange error: > > Swig compile ragrum.i for r > [...]\apps\swig\current\Lib\r\std_common.i(72): error : Syntax > error in input(1) > > > I did not find any reference to such an error, which seems even > weirder to me... So I think it's a bad installation/use on my side? > > Thanks for your advice and help! > > > - SWIG Version 4.0.2 > Compiled with i686-w64-mingw32-g++ [i686-w64-mingw32] > Configured options: +pcre > > - Microsoft (R) Build Engine version 16.5.0+d4cbfca49 pour .NET Framework > > - R version 4.0.5 (2021-03-31) -- "Shake and Throw" > > -- > Associate Professor - Maître de conférences > Office 403/26-00 | BC 169 | 4, place Jussieu | 75252 Paris Cedex 05 > gpg :http://webia.lip6.fr/~phw/phw.asc > phone : +33 1 44 27 71 48 | fax : +33 1 44 27 88 89 > > > _______________________________________________ > Swig-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/swig-user -- Associate Professor - Maître de conférences Office 403/26-00 | BC 169 | 4, place Jussieu | 75252 Paris Cedex 05 gpg : http://webia.lip6.fr/~phw/phw.asc phone : +33 1 44 27 71 48 | fax : +33 1 44 27 88 89 _______________________________________________ Swig-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/swig-user