logo       

Re: Types are unknown: msg#00171

programming.swig

Subject: Re: Types are unknown

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>
Google Custom Search

News | FAQ | advertise