Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demonstrate Windows build of MOAB #45

Open
gonuke opened this issue Nov 19, 2018 · 2 comments
Open

Demonstrate Windows build of MOAB #45

gonuke opened this issue Nov 19, 2018 · 2 comments
Assignees

Comments

@gonuke
Copy link
Member

gonuke commented Nov 19, 2018

This build should include HDF5 and EIGEN3

@bam241
Copy link
Member

bam241 commented Dec 5, 2018

this is working.
Required softwares:

  • Visual Studio 2015
  • Windows SDK c++ (VS2016 component)
  • HDF5 1.8.?
  • CMake (GUI)
  • Git
  • Eigen

To manually setup MOAB installation in Windows (using CMake)

  1. install all the software required
  2. CMake GUI configuration:
  • disable all component (in MOAB configuration)
  • enable HDF5
  • configure
  • remove all mention to "machine:x64" flags (should be 4 of them)
  • add path to EIGEN
  • configure
  • add HDF5_DIR (if HDF5 no found)
  • configure
  • edit HDF5_LIB to: C:/Program Files/HDF_Group/HDF5/1.10.4/lib/libhdf5.lib;C:/Program Files/HDF_Group/HDF5/1.10.4/lib/libzlib.lib;C:/Program Files/HDF_Group/HDF5/1.10.4/lib/libszip.lib
    -edit HDF5_HL_LIB to: C:/Program Files/HDF_Group/HDF5/1.10.4/lib/libhdf5_hf.lib
  • configure
  • generate
  • launch VS2015 (clickable in CMakeGUI)
  1. build inside VS2015

I am now trying to:

  • have a complete HDF5 configuration done by cmake to avoid manual modification

I am not sure the other manipulation (in CMakeGUI) can be avoided

@bam241
Copy link
Member

bam241 commented Dec 5, 2018

here is a draft of instruction to build MOAB on Windows

@bam241 bam241 assigned bam241 and unassigned bam241 Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants