Thanks for the help so far!

Eileen, I've taken the steps you describe. I'm not sure if I've actually "installed" SWIG now, because of the following: I'm trying to run an install file of an academic program that allows the use of certain C modules in Python scripts. This installation requires the installation of SWIG. However, the errors that this install is giving me leads me to think SWIG is not properly 'installed' yet.

I realise it's hard to answer my questions without having access to the install file I'm getting stuck with, but is there anything anyone could think of that may still be wrong with my installation of SWIG?

Thanks for the help so far,

Jon



On Mon, Feb 28, 2011 at 11:20 AM, Eileen Wei <ewei@fekete.com> wrote:

Hi Jon,

 

I am a newbie for SWIG too, and I just started to use SWIG on my Win7 64bit machine since last week, and I agree the instructions are not very straight forward J

 

I’d like to share with you what I found out. There is no need to “install” SWIG on Windows, all you need is to extract the .zip file into your local directory, say C:\swigwin-2.0.2. And yes the swig.exe works on 64bit machines (I had that doubts originally but it was working for me so I know J).

 

And here is how I set the environment variables: click start->right click Computer->Properties->Advanced system settings->click on Environment Variables button->Under “System variables”, click “New…” to add the two new python variables.

 

Hope this helps,

Eileen

 

From: Jon Herman [mailto:jfc.herman@gmail.com]
Sent: February-28-11 10:54 AM


To: swig-user@lists.sourceforge.net
Subject: [Swig-user] Windows 7 installation of SWIG

 

Dear all,



I realize this is a bit of a beginner's question, but I'm having trouble installing SWIG on my 64-bit W7 system. Running the executable seemed not to do much, although I believe it is written for a 32-bit system so this might make sense.

I am trying to install SWIG on this machine so I can use C/C++ modules in Python scripts. I have looked at the manual for installing for windows, but unfortunately it simply did not help me at all (this is undoubtedly due to a lack of knowledge/experience on my side. For example, 'setting the environment variables' is something I am not familiar with, so this section of the manual leaves me uncertain of what to do and at which point)...is there any more detailed guide available for installing SWIG on Windows, even if this requires more steps than just running the executable? Or is there perhaps someone kind enough to help me out with this directly?

Thank you for any help you may be able to provide!

Jon