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

Build error on Yosemite: POWERS_OF_10_32 #55

Closed
dpo opened this issue May 14, 2015 · 5 comments
Closed

Build error on Yosemite: POWERS_OF_10_32 #55

dpo opened this issue May 14, 2015 · 5 comments

Comments

@dpo
Copy link
Contributor

dpo commented May 14, 2015

On Yosemite, I'm getting

Linking CXX executable ../bin/nl-test
cd /tmp/asl20150514-8976-1ow1djl/mp-2.0.1/test && /usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_link_script CMakeFiles/nl-test.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/clang++    -std=c++11 -Wall -Wextra -pedantic -Qunused-arguments -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/nl-test.dir/nl-test.cc.o  -o ../bin/nl-test  ../lib/libgtest-extra.a ../bin/libmp.2.0.1.dylib -Wl,-rpath,/tmp/asl20150514-8976-1ow1djl/mp-2.0.1/bin 
Undefined symbols for architecture x86_64:
  "fmt::internal::BasicData<void>::POWERS_OF_10_32", referenced from:
      void fmt::BasicWriter<char>::write_int<int, fmt::IntFormatSpec<int, fmt::TypeSpec<(char)0>, char> >(int, fmt::IntFormatSpec<int, fmt::TypeSpec<(char)0>, char>) in nl-test.cc.o
  "fmt::internal::BasicData<void>::DIGITS", referenced from:
      void fmt::BasicWriter<char>::write_int<int, fmt::IntFormatSpec<int, fmt::TypeSpec<(char)0>, char> >(int, fmt::IntFormatSpec<int, fmt::TypeSpec<(char)0>, char>) in nl-test.cc.o

See https://gist.github.com/b92677d2aef4a330b0df for a full log.

@vitaut
Copy link
Contributor

vitaut commented May 14, 2015

Thanks for the bug report. Does 8a77749 fix the problem?

@dpo
Copy link
Contributor Author

dpo commented May 14, 2015

That does it. Many thanks!

@dpo dpo closed this as completed May 14, 2015
vitaut added a commit to fmtlib/fmt that referenced this issue May 14, 2015
@dpo
Copy link
Contributor Author

dpo commented Aug 16, 2015

I'm still getting this error on OSX Yosemite. Did this commit not make it into recent releases?

@vitaut
Copy link
Contributor

vitaut commented Aug 17, 2015

Not in older releases, but I've cherry picked fmtlib/fmt@804a74c into branch 2.0 and created a new corrective release: https://github.com/ampl/mp/releases/tag/2.0.3.

@dpo, could you by any chance help me reproduce #61?

@dpo
Copy link
Contributor Author

dpo commented Aug 18, 2015

Thanks! Sorry about #61. I must have missed your request. I'll try and recompile.

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