« Return to Thread: New user small problem

Re: New user small problem

by Zer033 :: Rate this Message:

Reply to Author | View in Thread


Zer033 wrote:
Christopher Barker wrote:
This looks like you're having trouble with running SWIG itself, not yet
with compiling the results. I think another poster has suggested a fix.

However, when you do get to the compiling stage, I highly recommend that
you use distutils and a setup.py file to compile the extension , it is
by far the easiest way to compile python extensions.

I recently added directions to the SWIG docs. I don't know that they've
made it to the released version, but you can find them in svn here:

http://swig.svn.sourceforge.net/viewvc/*checkout*/swig/trunk/Doc/Manual/Python.html

-Chris


--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Swig-user mailing list
Swig-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
Chris,
I think that is the problem.  What is it I'm supposed to do with the "swigwin-1.3.33" folder in relation to my VS solution.  I can't find any specific steps concerning that.  I did set the python environmental variables though and that seems to be okay.  

Also to the above poster about the Examples/python things working after setting environmental variables that didn't work for me either.  I think it is related to me just not installing or incorporating swig folder properly with my solution.
Oh forgot to mention here is the new errors so I think it does have something to do with how I am trying to incorporate the swig folder with my VS Solution.

Generating Code...
Compiling manifest to resources...
Linking...
LINK : _example.pyd not found or not built by the last incremental link; performing full link
Embedding manifest...
SWIG
(1): Error: Unable to find 'swig.swg'
(3): Error: Unable to find 'python.swg'
Project : error PRJ0019: A tool returned an error code from "SWIG"
Build log was saved at "file://c:\Documents and Settings\Blake Nicholas\Desktop\interfaceDLLexample\interfaceDLLexample\Debug\BuildLog.htm"
interfaceDLLexample - 1 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Thanks for the help so far.

 « Return to Thread: New user small problem