From: John R Cary <cary@co...> - 2012-05-28 19:59:18
On 5/28/12 11:33 AM, John R Cary wrote:
> After some effort, I did manage to get the trunk of FreeCAD building at
> $ svnversion .
> The modification is the attached patch, which I would welcome getting
> into the repo.
> The problem I face was described in the thread,
> where there is the statement,
> "So, the best way is to add the path to PyQt4 to sys.path"
> But then where is that done?
> Thanks....John Cary
BTW, I should have mentioned that I had to set
Okay, a bit more searching, and I now have this solution:
sudo ln -s /contrib/lib/python2.6/site-packages/PyQt4 .
sudo ln -s /contrib/lib/python2.6/site-packages/sip* .
cp _coin.dylib _coin.so
for i in *.dylib; do j=`basename $i .dylib`; cp $i $j.so; done
and now FreeCAD starts up.
So it looks like the cmake build system needs some tuning for OSX?
I may have time to generate a patch.
Thanks for the pyqt linking solution... I'll add it to our wiki.
If indeed you can generate a patch with what you did, it would be cool!
On 28 May 2012 16:59, John R Cary wrote:
> BTW, I should have mentioned that I had to set
> Okay, a bit more searching, and I now have this solution:
> cd /Library/Python/2.6/site-packages
> sudo ln -s /contrib/lib/python2.6/site-packages/PyQt4 .
> sudo ln -s /contrib/lib/python2.6/site-packages/sip* .
> cd /volatile/FreeCAD-r5443-ser/bin/pivy
> cp _coin.dylib _coin.so
> cd /volatile/FreeCAD-r5443-ser/lib
> for i in *.dylib; do j=`basename $i .dylib`; cp $i $j.so; done
> and now FreeCAD starts up.
> So it looks like the cmake build system needs some tuning for OSX?
> I may have time to generate a patch.
> John Cary