Hi Thomas Thanks for the report.
For your linking error (2), I have also been seeing this issue with MMIO on MinGW-w64, recently, and I'm looking into it. For issue (1), I don't remember having that problem. Is Python support in SWIG now an optional extra in XCode, or are you using swig from Macports? For (3) this is failing because the linker step to create _ascpy.so failed due to issue (1). Have you had any luck on the GTK+, PyGTK side? Getting those to run with native Mac GUI seemed to require JHBuild in the past, but perhaps Macports has fixed that? Cheers JP On 29/01/12 01:19, thomas thurman wrote: > I installed v 0.97 yesterday with related updates based on macports etc. > based on your > 'how to install on mac os x lion' > I am running Xcode 4.2.1, os 10.7.2 > > I ran scons without changes. > > 1---> > with swig but without the swig-python port installed I noticed a swig error. > 2---> > with the swig port and related swig-python installed the following resulted: > > swig -o ascxx/ascpy_wrap.cc -python -c++ -I/opt/local/include/graphviz > ascxx/ascpy.i > g++ -o ascxx/ascpy_wrap.os -c -fPIC -DHAVE_GCCVISIBILITY -I. > -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 > ascxx/ascpy_wrap.cc > g++ -o ascxx/_ascpy.so -ldl -framework CoreFoundation -dynamiclib > ascxx/library.os ascxx/compiler.os ascxx/type.os ascxx/module.os > ascxx/symchar.os ascxx/instance.os ascxx/instanceinterfacedata.os > ascxx/matrix.os ascxx/method.os ascxx/name.os ascxx/reporter.os > ascxx/simulation.os ascxx/set.os ascxx/units.os ascxx/dimensions.os > ascxx/extmethod.os ascxx/variable.os ascxx/registry.os ascxx/relation.os > ascxx/solver.os ascxx/curve.os ascxx/plot.os ascxx/solverhooks.os > ascxx/solverparameters.os ascxx/solverparameter.os > ascxx/solverparameteriterator.os ascxx/solverstatus.os > ascxx/solverreporter.os ascxx/value.os ascxx/incidencematrix.os > ascxx/integrator.os ascxx/integratorreporter.os ascxx/annotation.os > ascxx/ascpy_wrap.os -L. > -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config > -L/opt/local/lib -lblas -lascend -lpython2.7 -lstdc++ -lgvc -lgraph -lcgraph > -lcdt > Undefined symbols for architecture x86_64: > "_mtx_write_region_mmio", referenced from: > Matrix::write(__sFILE*, std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&) constin matrix.os > ld: symbol(s) not found for architecture x86_64 > collect2: ld returned 1 exit status > scons: *** [ascxx/_ascpy.so] Error 1 > scons: building terminated because of errors. > > 3----> > I ran ./test.py TestSolver.testlog10 with results: > …. > Note: python 'dl' module not available on this system, guessing value of > RTLD_* flags > Restarting with... > export LD_LIBRARY_PATH=/Users/tom/ascend/ascxx:/Users/tom/ascend > export PYTHONPATH=/Users/tom/ascend/ascxx:/Users/tom/ascend/pygtk > export ASCENDLIBRARY=/Users/tom/ascend/models:/Users/tom/freesteam/ascend > export > ASCENDSOLVERS=/Users/tom/ascend/solvers/qrslv:/Users/tom/ascend/solvers/cmslv:/Users/tom/ascend/solvers/lrslv:/Users/tom/ascend/solvers/conopt:/Users/tom/ascend/solvers/ida:/Users/tom/ascend/solvers/lsode:/Users/tom/ascend/solvers/ipopt:/Users/tom/ascend/solvers/dopri5 > Note: python 'dl' module not available on this system, guessing value of > RTLD_* flags > Got... > LD_LIBRARY_PATH=/Users/tom/ascend/ascxx:/Users/tom/ascend > PYTHONPATH=/Users/tom/ascend/ascxx:/Users/tom/ascend/pygtk > ASCENDLIBRARY=/Users/tom/ascend/models:/Users/tom/freesteam/ascend > > ASCENDSOLVERS=/Users/tom/ascend/solvers/qrslv:/Users/tom/ascend/solvers/cmslv:/Users/tom/ascend/solvers/lrslv:/Users/tom/ascend/solvers/conopt:/Users/tom/ascend/solvers/ida:/Users/tom/ascend/solvers/lsode:/Users/tom/ascend/solvers/ipopt:/Users/tom/ascend/solvers/dopri5 > Traceback (most recent call last): > File "./test.py", line 1685, in<module> > import ascpy > File "/Users/tom/ascend/ascxx/ascpy.py", line 26, in<module> > _ascpy = swig_import_helper() > File "/Users/tom/ascend/ascxx/ascpy.py", line 18, in swig_import_helper > import _ascpy > ImportError: No module named _ascpy > > Tom Thurman > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Ascend-sim-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ascend-sim-users ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Ascend-sim-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

