Hi Nick, Carlos

I've done a fair bit of work on FPROPS recently, so Carlos, it's possible that I've introduced some new bug that wasn't there during your project. Or it could be that SWIG has introduced an error in their latest release.

I looked at what SWIG is doing (search for text string 'thread' using cscope) and I found that SWIG is indeed introducing various stuff that seems to refer to threads. An option looks like it could be to define SWIG_PYTHON_NO_THREADS in the compiler command-line for the SWIG code, ie

gcc -DSWIG_PYTHON_NO_THREADS -o python/fprops_wrap.os -c -g -Wall -fPIC -I. -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 python/fprops_wrap.c

might work.

Cheers
JP


On 30/01/13 04:40, Carlos Mauro Cardenas Fernandez wrote:
Hello

I'd revise this bug .

I didnt use OSX 10.8.2 :/ for the package.

2013/1/29 Nicholas Moe <[email protected] <mailto:[email protected]>>

    Hi John,

    I downloaded the svn trunk of fprops today and gave it a shot with

    ~/fprops $ scons

    and the build failed. I tried it with SWIG 2.0.4 and 2.0.9 with
    the same results each time. Here's some of the output:

    scons: Reading SConscript files ...
    scons: done reading SConscript files.
    scons: Building targets ...

    ...

    swig -o python/fprops_wrap.c -python python/fprops.i
    gcc -o python/fprops_wrap.os -c -g -Wall -fPIC -I.
    
-I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7
    python/fprops_wrap.c
    python/fprops_wrap.c:3407: error: thread-local storage not
    supported for this target
    scons: *** [python/fprops_wrap.os] Error 1
    scons: building terminated because of errors.


    Nick

    
------------------------------------------------------------------------------
    Master Visual Studio, SharePoint, SQL, ASP.NET <http://ASP.NET>,
    C# 2012, HTML5, CSS,
    MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
    current
    with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
    MVPs and experts. ON SALE this month only -- learn more at:
    http://p.sf.net/sfu/learnnow-d2d
    _______________________________________________
    Ascend-sim-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/ascend-sim-users




--


--
Ing. Carlos Mauro Cárdenas Fernández.
CIP Nr 116251.
Casa: 4815857
Claro: 980525716 || Movistar RPM: 999314206
Creo en el Amor de los Seres Humanos
http://unimauro.blogspot.com <http://unimauro.blogspot.com/>.


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d


_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to