472,096 Members | 1,390 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,096 software developers and data experts.

Parse error befor % token

i tried to compile the swig .i file but am having probel with the
error: parse error before % token


1. %module example
2. %{
3. #include <header.h>
4. %}
6. %include "header.h"

i have setup.py file and am running through,
>>python setup.py build_ext
but is showing parse error before % token in example.i in line 1 and
also in 4.
Thank's for any help on this matter in advance
also, is there any live example having multiple .i files in single
interface SWIG file.

Aug 13 '08 #1
0 1108

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

22 posts views Thread by Ram Laxman | last post: by
4 posts views Thread by learning_C++ | last post: by
19 posts views Thread by Johnny Google | last post: by
22 posts views Thread by nick | last post: by
21 posts views Thread by William Stacey [MVP] | last post: by
6 posts views Thread by Richard | last post: by
1 post views Thread by lucasstark | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.