Parse error befor % token

A

Anish Chapagain

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

example.i

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

i have setup.py file and am running through,
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.

cheer's
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,255
Members
46,853
Latest member
GeorgiaSta

Latest Threads

Top