Skip to content

McStas-Union with NCrystal: inconsistency between included ncrystal.h and linked NCrystal library #88

Answered by tkittel
EstiezQ asked this question in Q&A
Discussion options

You must be logged in to vote

UPDATE Nov 2022: Starting with McStas v3.2, this should hopefully be a non-issue. All McStas components using NCrystal will at that point always query the ncrystal-config script to get appropriate build flags. So running which ncrystal-config (or ncrystal-config -s) in the terminal, should immediately show which NCrystal installation will be used in McStas components.

Keeping the previous answer here, since it will be a while before everyone use McStas v3.2:

For the benefit of people coming here looking for a solution, here is a summary of the situation and solution arising from discussions in other comments and private email:

NCrystal is used in two places in McStas, from the NCrystal_sa…

Replies: 6 comments 13 replies

Comment options

You must be logged in to vote
1 reply
@EstiezQ
Comment options

Comment options

You must be logged in to vote
1 reply
@EstiezQ
Comment options

Comment options

You must be logged in to vote
10 replies
@tkittel
Comment options

@willend
Comment options

@tkittel
Comment options

@tkittel
Comment options

@nicriz
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tkittel
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by tkittel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
5 participants