Boost logo

Boost Users :

Subject: Re: [Boost-users] Link errors building against Boost Python
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2011-05-18 13:21:26


Hi Chris,

On Tuesday, 17. May 2011 18:34:41 Chris Weisiger wrote:
> Thanks Jürgen! That is helpful. More inline.

> Unfortunately now PyFTGL is getting a link error looking for
> boost::throw_exception: http://pastebin.com/DTUX2w84

A hint would be:
> c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342)
> : warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc

> Am I perhaps missing some "central" Boost library? Except in that case I'd
> expect to get a complaint that a .lib file wasn't found. I've only built
> the Python libraries so far; building everything takes a long time.

You are building without exceptions, so you must provide an implementation of
the "exception fallback" "boost::throw_exception". Google and the Boost docs
should help to get further information.
Just enable exception support.

> Progress is made, but there's still something missing...

As always ;-))

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net