OQGRAPH engine build problem on Win64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Won't Fix
|
Medium
|
Antony T Curtis | ||
OQGRAPH |
Confirmed
|
Medium
|
Antony T Curtis |
Bug Description
Vlad reports:
The current state of OQGRAPH (on Windows) is that:
- it can be built on 32 bit. Use the instruction on how to build MariaDB on
Windows ( sent the link in one of me previous replies), additionally
a) Download boost distribution and unpack it on some directory on the build
machine (I'm unpacking it into C:\boost_1_46_1)
b) set environment variable BOOST_ROOT to the root directory of the boost
"installation" (on my machine it is C:\boost_1_46_1)
c) apply this patch
=== modified file 'storage/
--- storage/
+++ storage/
@@ -13,6 +13,13 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA
+FIND_PACKAGE(
+
+IF(Boost_FOUND)
+ INCLUDE_
+ SET(CMAKE_
+ENDIF()
+
INCLUDE (CheckCXXSource
CHECK_CXX_
"#include <boost/version.hpp>
- it cannot be built on 64 bit, due to "'boost::add_edge' : ambiguous call
to overloaded function" errors (on both places where add_edge is used)
The full error message is in the attachment. I cannot find trivial way to
fix it (if you look at the message, even understanding what it says seems
to require pretty good knowledge of boost graph templates and OQGRAPH
structures)
The above means I cannot just enable OQGRAPH with the a) b) c) steps above,
as this will break entire build on 64 bit Windows. You need to fix this
error, or alternatively be good with not having OQGRAPH on x64 (I can do
that by adding some code to the above patch to disable 64 bit OQGRAPH
builds).
For Antony to check the Win64 error, see if the issue can be worked around inside the OQGRAPH engine or whether an upstream path to the Boost Graph Library is required.