Re: VPython 6.02 with buttons, sliders, and new event handling capabilities

"[email protected]" <[email protected]> Wed, 13 Feb 2013 19:08:08 +0900
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
--===============2345656964301524330==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_98231F11-375E-485F-9268-688E2AA9574E"


--Apple-Mail=_98231F11-375E-485F-9268-688E2AA9574E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hello everyone,

Continuing from my earlier question, I have now installed all =
dependancies using a combination of homebrew =
(http://mxcl.github.com/homebrew), pip and good-old python setup.py  =
installing=85

Things seem to build fine, but I have a linking problem with boost. My =
boost includes and library files live in the usual places =
/usr/local/include and /usr/local/lib (well symlinks managed by =
homebrew).

Any ideas on how to tell the install script the location of boost?

I have edited the site.cfg to read,

[build_ext]
include-dirs=3D/usr/local/include
library-dirs=3D/usr/local/lib

The list lines of the error reads,

---
-L/usr/local/lib -lboost_python -lboost_signals -o =
build/lib.macosx-10.8-x86_64-2.7/visual_common/cvisual.so
ld: library not found for -lboost_python
clang: error: linker command failed with exit code 1 (use -v to see =
invocation)
error: command 'c++' failed with exit status 1
---

Any ideas?

Best wishes,

Dan





On 13 Feb 2013, at 14:39, Bruce Sherwood <[email protected]> =
wrote:

> Be sure to read the file OSX.txt in the tarball, which includes =
instructions on how to build the Boost libraries that you'll need.
>=20
> Bruce Sherwood
>=20
>=20
> On Tue, Feb 12, 2013 at 3:56 PM, Scott Harris =
<scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org> wrote:
> I'll give that a try. I do have vPython 6 running now with an =
"official" 2.7.3 python.=20
>=20
> I appreciate your efforts quite a bit! I've used VTK and wxPython =
heavily in the last, and it's great to be able ti integrate wx and =
VPython!=20
>=20
> -Scott
>=20
> Scott Harris
> scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org
> 37 Doe Trail POB 1278
> Nederland CO 80466-1278
> 720/231-6533 (cell)
> 303/258-0142 (office)
>=20
> On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <[email protected]> =
wrote:
>=20
>> (I should mention that Adam Hausknecht's problem had nothing to do =
with VPython. The Tk package is broken on the Mac; for a fix, see =
http://www.python.org/getit/mac/tcltk/.)
>>=20
>> You could try building from source, because Steve Spicklemire has =
made this quite easy to do, except that you may have difficulties =
dealing with installing all the dependencies (wxPython 2.9.4, numpy, =
FontTools, ttfquery, Polygon). Get the source "tarball" from the Linux =
download page at vpython.org, unpack, and in a terminal cd to the source =
code, then execute "sudo python2.7 setup.py install".
>>=20
>> Bruce Sherwood
>>=20
>>=20
>> On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris =
<scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org> wrote:
>> I too use EPD. On my machine, the VPython installer doesn't detect =
EPD and won't install. I'm on OS X 10.8.2
>>=20
>> This is my python:
>>=20
>> Enthought Python Distribution (EPD) free version -- www.enthought.com
>> Version: 7.3-2 (32-bit)
>> (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full =
EPD)
>>=20
>> Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, =
11:28:34)=20
>> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
>> Type "credits", "demo" or "enthought" for more information.
>>=20
>>=20
>> Getting VPython to work with EPD would be great.
>>=20
>> Thanks,
>> -Scott
>> Scott Harris
>> scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org
>> 37 Doe Trail POB 1278
>> Nederland CO 80466-1278
>> 720/231-6533 (cell)
>> 303/258-0142 (office)
>>=20
>>=20
>> =
--------------------------------------------------------------------------=
----
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013=20
>> and get the hardware for free! Learn more.
>> =
http://p.sf.net/sfu/sophos-d2d-feb________________________________________=
_______
>> Visualpython-users mailing list
>> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>=20
>=20
> =
--------------------------------------------------------------------------=
----
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013=20
> and get the hardware for free! Learn more.
> =
http://p.sf.net/sfu/sophos-d2d-feb________________________________________=
_______
> Visualpython-users mailing list
> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/visualpython-users


--Apple-Mail=_98231F11-375E-485F-9268-688E2AA9574E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello =
everyone,<div><br></div><div>Continuing from my earlier question, I have =
now installed all dependancies using a combination of homebrew&nbsp;(<a =
href=3D"http://mxcl.github.com/homebrew">http://mxcl.github.com/homebrew</=
a>), pip and good-old python setup.py =
&nbsp;installing=85</div><div><br></div><div>Things seem to build fine, =
but I have a linking problem with boost. My boost includes and library =
files live in the usual places /usr/local/include and /usr/local/lib =
(well symlinks managed by homebrew).</div><div><br></div><div>Any ideas =
on how to tell the install script the location of =
boost?</div><div><div><br></div><div>I have edited the site.cfg to =
read,</div><div><br></div><div><div>[build_ext]</div><div>include-dirs=3D/=
usr/local/include</div><div>library-dirs=3D/usr/local/lib</div><div><br></=
div><div>The list lines of the error =
reads,</div><div><br></div><div>---</div><div><div>-L/usr/local/lib =
-lboost_python -lboost_signals -o =
build/lib.macosx-10.8-x86_64-2.7/visual_common/cvisual.so</div><div>ld: =
library not found for -lboost_python</div><div>clang: error: linker =
command failed with exit code 1 (use -v to see =
invocation)</div><div>error: command 'c++' failed with exit status =
1</div></div></div></div><div>---</div><div><br></div><div>Any =
ideas?</div><div><br></div><div>Best =
wishes,</div><div><br></div><div>Dan</div><div><br></div><div><br></div><d=
iv><div><br></div><div><br></div><div><br></div><div><div>On 13 Feb =
2013, at 14:39, Bruce Sherwood &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div dir=3D"ltr">Be sure to read the file OSX.txt in the =
tarball, which includes instructions on how to build the Boost libraries =
that you'll need.<div><br></div><div style=3D"">Bruce =
Sherwood</div></div><div class=3D"gmail_extra">
<br><br><div class=3D"gmail_quote">On Tue, Feb 12, 2013 at 3:56 PM, =
Scott Harris <span dir=3D"ltr">&lt;<a =
href=3D"mailto:scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org" =
target=3D"_blank">scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style=3D"word-wrap:break-word">I'll give that a try. I do have =
vPython 6 running now with an "official" 2.7.3 =
python.&nbsp;<div><br></div><div>I appreciate your efforts quite a bit! =
I've used VTK and wxPython heavily in the last, and it's great to be =
able ti integrate wx and VPython!&nbsp;</div>
<span class=3D"HOEnZb"><font =
color=3D"#888888"><div><br></div><div>-Scott</div></font></span><div><div =
class=3D"im"><br><div>
<div>Scott Harris<br><a href=3D"mailto:scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org" =
target=3D"_blank">scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org</a><br>37 Doe Trail POB =
1278<br>Nederland CO 80466-1278<br><a href=3D"tel:720%2F231-6533" =
value=3D"+17202316533" target=3D"_blank">720/231-6533</a> (cell)<br>
<a href=3D"tel:303%2F258-0142" value=3D"+13032580142" =
target=3D"_blank">303/258-0142</a> (office)</div>

</div>
<br></div><div><div><div class=3D"h5"><div>On Feb 12, 2013, at 1:53 PM, =
Bruce Sherwood &lt;<a href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt; =
wrote:</div><br></div></div><blockquote type=3D"cite">
<div><div class=3D"h5"><div dir=3D"ltr"><div>(I should mention that =
Adam&nbsp;<span =
style=3D"font-family:arial,sans-serif;font-size:13px">Hausknecht's =
problem had nothing to do with VPython. The Tk package is broken on the =
Mac; for a fix, see&nbsp;</span><font face=3D"arial, sans-serif"><a =
href=3D"http://www.python.org/getit/mac/tcltk/" =
target=3D"_blank">http://www.python.org/getit/mac/tcltk/</a>.)</font></div=
>

<div><br></div>You could try building from source, because Steve =
Spicklemire has made this quite easy to do, except that you may have =
difficulties dealing with installing all the dependencies (wxPython =
2.9.4, numpy, FontTools, ttfquery, Polygon). Get the source "tarball" =
from the Linux download page at <a href=3D"http://vpython.org/" =
target=3D"_blank">vpython.org</a>, unpack, and in a terminal cd to the =
source code, then execute "sudo python2.7 setup.py install".<div>

<br></div><div>Bruce Sherwood<br><div class=3D"gmail_extra"><br><br><div =
class=3D"gmail_quote">On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris =
<span dir=3D"ltr">&lt;<a href=3D"mailto:scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org" =
target=3D"_blank">scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><div style=3D"word-wrap:break-word">I too =
use EPD. On my machine, the VPython installer doesn't detect EPD and =
won't install. I'm on OS X 10.8.2<div>

<br></div><div>This is my =
python:</div><div><br></div><div><div>Enthought Python Distribution =
(EPD) free version -- <a href=3D"http://www.enthought.com/" =
target=3D"_blank">www.enthought.com</a></div><div>Version: 7.3-2 =
(32-bit)</div>

<div>(type 'upgrade' or see <a =
href=3D"http://www.enthought.com/epd/upgrade" =
target=3D"_blank">www.enthought.com/epd/upgrade</a> to get the full =
EPD)</div><div><br></div><div>Python 2.7.3 |EPD_free 7.3-2 (32-bit)| =
(default, Apr 12 2012, 11:28:34)&nbsp;</div>

<div>[GCC 4.0.1 (Apple Inc. build 5493)] on darwin</div><div>Type =
"credits", "demo" or "enthought" for more =
information.</div><div><br></div><div><br></div><div>Getting VPython to =
work with EPD would be great.</div>

<div><br></div><div>Thanks,</div><div>-Scott</div><div>
<div>Scott Harris<br><a href=3D"mailto:scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org" =
target=3D"_blank">scott-KOQ3cyhuqtfta4EC/59zMFaTQe2KTcn/@public.gmane.org</a><br>37 Doe Trail POB =
1278<br>Nederland CO 80466-1278<br><a href=3D"tel:720%2F231-6533" =
value=3D"+17202316533" target=3D"_blank">720/231-6533</a> (cell)<br>

<a href=3D"tel:303%2F258-0142" value=3D"+13032580142" =
target=3D"_blank">303/258-0142</a> (office)</div>

</div>
=
<br><div><br></div></div></div></blockquote></div></div></div></div></div>=
</div><div class=3D"im">
=
--------------------------------------------------------------------------=
----<br>Free Next-Gen Firewall Hardware Offer<br>Buy your Sophos =
next-gen firewall before the end March 2013 <br>and get the hardware for =
free! Learn more.<br>
<a =
href=3D"http://p.sf.net/sfu/sophos-d2d-feb________________________________=
_______________" =
target=3D"_blank">http://p.sf.net/sfu/sophos-d2d-feb______________________=
_________________________</a><br>Visualpython-users mailing list<br>
<a href=3D"mailto:Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" =
target=3D"_blank">Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><br><a =
href=3D"https://lists.sourceforge.net/lists/listinfo/visualpython-users" =
target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/visualpytho=
n-users</a><br>
</div></blockquote></div><br></div></div></blockquote></div><br></div>
=
--------------------------------------------------------------------------=
----<br>Free Next-Gen Firewall Hardware Offer<br>Buy your Sophos =
next-gen firewall before the end March 2013 <br>and get the hardware for =
free! Learn more.<br><a =
href=3D"http://p.sf.net/sfu/sophos-d2d-feb________________________________=
_______________">http://p.sf.net/sfu/sophos-d2d-feb_______________________=
________________________</a><br>Visualpython-users mailing =
list<br>Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org<br>https://lists.sourcefo=
rge.net/lists/listinfo/visualpython-users<br></blockquote></div><br></div>=
</body></html>=

--Apple-Mail=_98231F11-375E-485F-9268-688E2AA9574E--


--===============2345656964301524330==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
--===============2345656964301524330==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users

--===============2345656964301524330==--