Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

compiling on Mavericks #100

Open
mxordn opened this issue Mar 30, 2017 · 4 comments
Open

compiling on Mavericks #100

mxordn opened this issue Mar 30, 2017 · 4 comments

Comments

@mxordn
Copy link

mxordn commented Mar 30, 2017

Trying to compiling LibMEI on a machine running Mavericks and xCode 6.2 did not work because two header-files could not be found:

error: /Users/[…]/libmei-master/src/modules/linkalign.h: No such file or directory
error: /Users/[…]/libmei-master/src/modules/linkalignmixins.h: No such file or directory

Could anyone help me out? I'm not used to work with xCode. Maybe version 6.2 is already outdated?

Best regards
Moritz

@gburlet
Copy link

gburlet commented Mar 30, 2017

Xcode is already on version 8.x. You'll need to update your OS to Sierra in order to perform the update to Xcode. Looks like it's not an Xcode issue on first glance, however.

@mxordn
Copy link
Author

mxordn commented Mar 30, 2017

Thanks for the fast reply. I'll try it on another machine then.

@vigliensoni
Copy link
Member

Same issue here, linkalign.h and linkalignmixins.h don't come in the current distribution (3.0.0)

After grabbing those files from an older distribution, now I'm getting a different error:

Undefined symbols for architecture x86_64:
  "mei::AltsymMixIn::AltsymMixIn(mei::MeiElement*)", referenced from:
      mei::Arpeg::Arpeg() in cmn.o
      mei::Arpeg::Arpeg(mei::Arpeg const&) in cmn.o
      mei::BeatRpt::BeatRpt() in cmn.o
      mei::BeatRpt::BeatRpt(mei::BeatRpt const&) in cmn.o
      mei::Breath::Breath() in cmn.o
      mei::Breath::Breath(mei::Breath const&) in cmn.o
      mei::Fermata::Fermata() in cmn.o
      ...
  "mei::AltsymMixIn::~AltsymMixIn()", referenced from:
      mei::Arpeg::Arpeg() in cmn.o
      mei::Arpeg::~Arpeg() in cmn.o
      mei::Arpeg::Arpeg(mei::Arpeg const&) in cmn.o
      mei::BeatRpt::BeatRpt() in cmn.o
      mei::BeatRpt::~BeatRpt() in cmn.o
      mei::BeatRpt::BeatRpt(mei::BeatRpt const&) in cmn.o
      mei::Breath::Breath() in cmn.o
      ...
  "mei::ExtsymMixIn::ExtsymMixIn(mei::MeiElement*)", referenced from:
      mei::Arpeg::Arpeg() in cmn.o
      mei::Arpeg::Arpeg(mei::Arpeg const&) in cmn.o
      mei::BeatRpt::BeatRpt() in cmn.o
      mei::BeatRpt::BeatRpt(mei::BeatRpt const&) in cmn.o
      mei::Breath::Breath() in cmn.o
      mei::Breath::Breath(mei::Breath const&) in cmn.o
      mei::Fermata::Fermata() in cmn.o
      ...
  "mei::ExtsymMixIn::~ExtsymMixIn()", referenced from:
      mei::Arpeg::Arpeg() in cmn.o
      mei::Arpeg::~Arpeg() in cmn.o
      mei::Arpeg::Arpeg(mei::Arpeg const&) in cmn.o
      mei::BeatRpt::BeatRpt() in cmn.o
      mei::BeatRpt::~BeatRpt() in cmn.o
      mei::BeatRpt::BeatRpt(mei::BeatRpt const&) in cmn.o
      mei::Breath::Breath() in cmn.o
      ...
  "mei::NotationtypeMixIn::NotationtypeMixIn(mei::MeiElement*)", referenced from:
      mei::StaffDef::StaffDef() in shared.o
      mei::StaffDef::StaffDef(mei::StaffDef const&) in shared.o
  "mei::NotationtypeMixIn::~NotationtypeMixIn()", referenced from:
      mei::StaffDef::StaffDef() in shared.o
      mei::StaffDef::~StaffDef() in shared.o
      mei::StaffDef::StaffDef(mei::StaffDef const&) in shared.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@geoffklee
Copy link

I just managed to compile v2.0.0 on Sierra. Master and 3.0.0 were giving me the same linkalign.h error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants