Code Monkey home page Code Monkey logo

mandexing's Introduction

Mandexing

written by Helen Ginn

Mandexing allows you to manually index and modify parameters for X-ray beam/crystals and rotate them within the GUI, overlaid on an image file. Please see the Wiki for instructions on how to install.

mandexing's People

Contributors

helenginn avatar

Watchers

 avatar  avatar

Forkers

pearsoncui

mandexing's Issues

Installation on Mac OS X

I encounter some issues installing mandexing on OS X. I installed (or attempted to install) all relevant dependencies using

brew install libpng meson qt5

All dependencies install fine.

Running the meson builddir command produces the following output:

felixmac: felix > meson builddir
The Meson build system
Version: 0.47.1
Source dir: /Users/felix/Downloads/mandexing
Build dir: /Users/felix/Downloads/mandexing/builddir
Build type: native build
Project name: mandexing
Project version: undefined
Native C++ compiler: c++ (clang 9.1.0 "Apple LLVM version 9.1.0 (clang-902.0.39.2)")
Build machine cpu family: x86_64
Build machine cpu: x86_64
WARNING: rcc dependencies will not work reliably until this upstream issue is fixed: https://bugreports.qt.io/browse/QTBUG-45460
Found pkg-config: /usr/local/bin/pkg-config (0.29.2)
Native dependency Qt5Core found: YES 5.11.1
Native dependency Qt5Gui found: YES 5.11.1
Native dependency Qt5Widgets found: YES 5.11.1
Qt5 native `pkg-config` dependency (modules: Core, Gui, Widgets) found: YES
Native dependency libpng found: YES 1.6.35
Detecting Qt5 tools
 moc: YES (/usr/local/Cellar/qt/5.11.1/bin/moc, 5.11.1)
 uic: YES (/usr/local/Cellar/qt/5.11.1/bin/uic, 5.11.1)
 rcc: YES (/usr/local/Cellar/qt/5.11.1/bin/rcc, 5.11.1)
 lrelease: YES (/usr/local/Cellar/qt/5.11.1/bin/lrelease, 5.11.1)
Build targets in project: 1
Found ninja-1.8.2 at /usr/local/bin/ninja

Execution of ninja -C builddir produces the following error.

felixmac: felix > ninja -C builddir
ninja: Entering directory `builddir'
[5/24] Compiling C++ object 'mandexing@exe/meson-generated_moc_Dialogue.cpp.o'.
FAILED: mandexing@exe/meson-generated_moc_Dialogue.cpp.o 
c++ -Imandexing@exe -I. -I.. -I/usr/local/Cellar/qt/5.11.1/include/QtWidgets -I/usr/local/Cellar/qt/5.11.1/include/QtGui -I/usr/local/Cellar/qt/5.11.1/include/QtCore -I/usr/local/Cellar/qt/5.11.1/include -I/usr/local/Cellar/libpng/1.6.35/include/libpng16 -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -g -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB  -MD -MQ 'mandexing@exe/meson-generated_moc_Dialogue.cpp.o' -MF 'mandexing@exe/meson-generated_moc_Dialogue.cpp.o.d' -o 'mandexing@exe/meson-generated_moc_Dialogue.cpp.o' -c 'mandexing@exe/moc_Dialogue.cpp'
In file included from mandexing@exe/moc_Dialogue.cpp:9:
In file included from mandexing@exe/../../Dialogue.h:24:
In file included from /usr/local/Cellar/qt/5.11.1/include/QtWidgets/qwidget.h:43:
In file included from /usr/local/Cellar/qt/5.11.1/include/QtWidgets/qtwidgetsglobal.h:43:
In file included from /usr/local/Cellar/qt/5.11.1/include/QtGui/qtguiglobal.h:43:
In file included from /usr/local/Cellar/qt/5.11.1/include/QtCore/qglobal.h:105:
/usr/local/Cellar/qt/5.11.1/include/QtCore/qcompilerdetection.h:561:6: error: Qt requires a C++11 compiler and yours does not seem to be that.
#    error Qt requires a C++11 compiler and yours does not seem to be that.
     ^

[...]

I tried to add C++11 specific compiler flags [as suggested here and according to the wiki]


felixmac: felix > gcc --version
gcc (Homebrew GCC 8.2.0) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
felixmac: felix > brew --version
Homebrew 1.7.2
Homebrew/homebrew-core (git revision 449f; last commit 2018-08-23)
felixmac: felix > sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14
BuildVersion:	18A365a

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.