Re: Quantlib-SWIG for Java not compiling in MacOS X

Posted by Francis Duffy on
URL: http://quantlib.414.s1.nabble.com/Quantlib-SWIG-for-Java-not-compiling-in-MacOS-X-tp14879p15180.html

Hi,

In order to fix the first error regarding the conflict between value_type in valarray and boost/iterator/iterator_facade.hpp, I changed value_type to value_type_custom in the class operator_brackets_proxy in the file boost/iterator/iterator_facade.hpp (2 edits). This error was reported on another project here: https://github.com/graphlab-code/graphlab/issues/101. It appears to be a clang issue. I am not sure if there is a more permanent fix for this i.e. rather than amending a boost header file.

The second error - no matching constructor for initialization of 'std::vector<bool>::const_reference' - is due to the version of swig that is being used. The following commit in the swig project https://github.com/swig/swig/commit/843aa7cd65985319a64d4f1297778f93f96a5008 fixes this error. When I cloned the swig project and built it (commit: 3aacde4), this error was removed.

Thanks,
Francis.


On Wed, Apr 9, 2014 at 4:03 PM, Luigi Ballabio <[hidden email]> wrote:
Hello,
    did anybody make any progress on this one?

Luigi


On Fri, Mar 21, 2014 at 2:51 PM, eponalank <[hidden email]> wrote:
Hello,

I have the same error messages. Did you find a solution?

Thank you.

Francesco



--
View this message in context: http://quantlib.10058.n7.nabble.com/Quantlib-SWIG-for-Java-not-compiling-in-MacOS-X-tp14879p15086.html
Sent from the quantlib-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users