From coin-trac at coin-or.org Fri Nov 28 09:01:58 2014 From: coin-trac at coin-or.org (OBOE) Date: Fri, 28 Nov 2014 14:01:58 -0000 Subject: [OBOE-tickets] [OBOE] #15: Compilation errors on Ubuntu reported by key01023@gmail.com Message-ID: <053.99210d27474eafe40ff2f8f99799ae81@coin-or.org> #15: Compilation errors on Ubuntu reported by key01023 at gmail.com ------------------------+---------------------- Reporter: nsawhney | Owner: somebody Type: defect | Status: new Priority: major | Milestone: Component: component1 | Version: Keywords: | ------------------------+---------------------- From the email: So here is what happen, I do: svn co https://projects.coin-or.org/svn/OBOE/trunk OBOE cd OBOE export BLAS=/usr/lib/libblas.a export LAPACK=/usr/lib/liblapack.a export LAPACKCPP_DIR=/usr/local/include/lapackpp export LAPACKCPP_LIB=/usr/local/lib/liblapackpp.la ./configure up to now everything is great, then i do: make but i get the error In file included from AccpmBlasInterface.h:14:0, from AccpmVector.C:13: AccpmGenMatrix.h: In member function ?double& Accpm::AccpmGenMatrix::operator()(int, int) const?: AccpmGenMatrix.h:86:86: error: invalid initialization of reference of type ?double&? from expression of type ?const double? inline double& operator()(int i, int j) const { return RealMatrix::operator()(i,j); } then i don?t know how to edit to make it work but blindly follow one post?.. After I edit according to the previous post: inline double& operator()(int i, int j) --->> inline const double& operator()(int i, int j) I get this error: In file included from AccpmBlasInterface.h:14:0, from AccpmVector.C:13: AccpmGenMatrix.h:86:26: error: ?const double& Accpm::AccpmGenMatrix::operator()(int, int)? cannot be overloaded inline const double& operator()(int i, int j) { return RealMatrix::operator()(i,j); } ^ AccpmGenMatrix.h:85:26: error: with ?const double& Accpm::AccpmGenMatrix::operator()(int, int)? inline const double& operator()(int i, int j) { return RealMatrix::operator()(i,j); } so basically the edit does not work for me?. Thank you very much for looking into this? Do you know what happened? With regards, Wenxuan -- Ticket URL: OBOE OBOE From coin-trac at coin-or.org Fri Nov 28 09:23:06 2014 From: coin-trac at coin-or.org (OBOE) Date: Fri, 28 Nov 2014 14:23:06 -0000 Subject: [OBOE-tickets] [OBOE] #15: Compilation errors on Ubuntu reported by key01023@gmail.com In-Reply-To: <053.99210d27474eafe40ff2f8f99799ae81@coin-or.org> References: <053.99210d27474eafe40ff2f8f99799ae81@coin-or.org> Message-ID: <068.e31d04fe76bfe4ae9e6ead59a382c545@coin-or.org> #15: Compilation errors on Ubuntu reported by key01023 at gmail.com -------------------------+---------------------- Reporter: nsawhney | Owner: nsawhney Type: defect | Status: assigned Priority: major | Milestone: Component: component1 | Version: Resolution: | Keywords: -------------------------+---------------------- Changes (by nsawhney): * owner: somebody => nsawhney * status: new => assigned -- Ticket URL: OBOE OBOE From coin-trac at coin-or.org Fri Nov 28 09:23:47 2014 From: coin-trac at coin-or.org (OBOE) Date: Fri, 28 Nov 2014 14:23:47 -0000 Subject: [OBOE-tickets] [OBOE] #15: Compilation errors on Ubuntu reported by key01023@gmail.com In-Reply-To: <053.99210d27474eafe40ff2f8f99799ae81@coin-or.org> References: <053.99210d27474eafe40ff2f8f99799ae81@coin-or.org> Message-ID: <068.c8af30f82de3bc354dfb1e13f26cfb1c@coin-or.org> #15: Compilation errors on Ubuntu reported by key01023 at gmail.com -------------------------+---------------------- Reporter: nsawhney | Owner: nsawhney Type: defect | Status: assigned Priority: major | Milestone: Component: component1 | Version: Resolution: | Keywords: -------------------------+---------------------- Comment (by nsawhney): The code changes have been submitted in stable 1.0.4. A release will be created shortly. -- Ticket URL: OBOE OBOE