|
Re: Types are unknown: msg#00171programming.swig
Carl-Nickias Kienle <ckienle@xxxxxxxxxxxxxxxxxxxxxxxxxxx> writes: > There are no errors when I am compiling my generateg wrapper, but when I > want to use some of those types in the script language, > the guile-interpreter said, that the types are unknown. > In an strange kind a way the types are not known to guile! You should provide more details. What did you try exactly, and what did Guile say. In the original posting, you wrote: > I can solve this problem, by inserting "#define Real64 double..."(in > the *.i or in the *wrap.cpp), but I hope there is a more elegant > solution of this problem. You can put the following lines into the .i file, so that in the generated wrapper file the types are declared. %{ #include "OSGBaseTypes.h" %} Does this help? -- Matthias Koeppe -- http://www.math.uni-magdeburg.de/~mkoeppe _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Types are unknown: 00171, Carl-Nickias Kienle |
|---|---|
| Next by Date: | SWIG C# and plain C: 00171, Mike Aubury |
| Previous by Thread: | Re: Types are unknowni: 00171, Carl-Nickias Kienle |
| Next by Thread: | Re: Types are unknown: 00171, Carl-Nickias Kienle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |