|
From: <gau...@pe...> - 2008-06-15 13:06:17
|
Hi, I was using SWIG to generate the .pm file for one c++ module. I have used the following example http://www.swig.org/tutorial.html and created the example.pm module. But when i try to use it in Perl i get the following error. E:\SWIG\swigwin-1.3.35>perl use lib "E:/SWIG/Test"; use example; Can't find 'boot_example' symbol in E:/SWIG/Test/example.dll at E:/SWIG/Test/example.pm line 11 Compilation failed in require at - line 2. BEGIN failed--compilation aborted at - line 2. When i went through the example.pm i noticed the following ... package examplec; bootstrap example; ... A additional character 'c' after the package name. Is this normal? Can anyone help me in solving this issue? Note: I am using SWIG 1.3.35 on windows system and compiling the c++ code using VS6. Thanks & Regards, Gaurav |