Re: VPython 6.02 with buttons, sliders, and new event handling capabilities
Steve Spicklemire <steve-/3wgw/[email protected]> Wed, 13 Feb 2013 05:03:09 -0700
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dan, What version of boost did you build? "Library not found" probably means /usr/local/lib is not the right place. ;= -) Can you try something like: find /usr/local/lib -name libboost_python.a -ls to see where it's hiding, and then change setup.cfg to point to: library-dirs=3D/path/to/where/it/lives -steve On Feb 13, 2013, at 3:08 AM, "[email protected]" <[email protected]> = wrote: > Hello everyone, > = > Continuing from my earlier question, I have now installed all dependancie= s using a combination of homebrew (http://mxcl.github.com/homebrew), pip an= d good-old python setup.py installing=85 > = > Things seem to build fine, but I have a linking problem with boost. My bo= ost 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 invoc= ation) > 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 instruct= ions on how to build the Boost libraries that you'll need. >> = >> Bruce Sherwood >> = >> = >> On Tue, Feb 12, 2013 at 3:56 PM, Scott Harris <scott-KOQ3cyhuqtfta4EC/59zMNAWLNoT+7d/@public.gmane.org= m> wrote: >> I'll give that a try. I do have vPython 6 running now with an "official"= 2.7.3 python. = >> = >> I appreciate your efforts quite a bit! I've used VTK and wxPython heavil= y in the last, and it's great to be able ti integrate wx and VPython! = >> = >> -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) >> = >> On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <[email protected]> wr= ote: >> = >>> (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.py= thon.org/getit/mac/tcltk/.) >>> = >>> You could try building from source, because Steve Spicklemire has made = this quite easy to do, except that you may have difficulties dealing with i= nstalling 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 p= ython2.7 setup.py install". >>> = >>> Bruce Sherwood >>> = >>> = >>> On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <[email protected]= om> 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 >>> = >>> This is my python: >>> = >>> 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 EP= D) >>> = >>> Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) = >>> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin >>> Type "credits", "demo" or "enthought" for more information. >>> = >>> = >>> Getting VPython to work with EPD would be great. >>> = >>> 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) >>> = >>> = >>> -----------------------------------------------------------------------= ------- >>> 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_____________________________________= __________ >>> Visualpython-users mailing list >>> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> = >> = >> ------------------------------------------------------------------------= ------ >> 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______________________________________= _________ >> Visualpython-users mailing list >> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > = > -------------------------------------------------------------------------= ----- > 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_______________________________________= ________ > Visualpython-users mailing list > Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/visualpython-users ---------------------------------------------------------------------------= --- 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