-
Notifications
You must be signed in to change notification settings - Fork 150
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
Compile error - macOS 10.14 Mojave #113
Comments
Same here |
Hello all, I got the exact same issue and I found this solution related to some missing headers. It pushed the compilation to 88% until I got the same issue as reported here related to X11 aka XQuartz. I'll keep looking but if someone else has an idea !?! |
I've seen this error some weeks ago and we managed to fix it by following this: |
in other words, installing this package helped:
|
Yes, I solved this issue (on Mojave) as well installing this package, but now it's the unresolved issues #41 we still have to solve ! |
Hi Micmac Team and congratulations for this tools !
I'm trying to compile MicMac for MacOS Mojave (10.14) and share binaries with community.
But, I have some errors...
No problem to install dependencies with brew.
Last commands :
$ cmake ../
$ make clean
$ make install -j6
First output error :
-- -----> OpenGL found
-- -----> using Qt 5.12.0
-- -----> Compile with c++11 support
-- -- FLAG: -std=gnu++11
-- -- Git executable found
-- Derniere revision git de MicMac : v1.0.beta13-360-g3fe2f447e
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/micmac/build
edo:build laurent$ make install -j6
[ 0%] Built target ScriptCalib
[ 0%] Built target EPExeRechCibleInit
[ 1%] Built target EPExeCalibInit
[ 1%] Built target poisson
[ 1%] Generating ../../include/StdAfx.h.pch
[ 2%] Built target ANN
In file included from /usr/local/micmac/include/StdAfx.h:28:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:653:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/typeinfo:61:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/exception:82:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdlib:86:
/Library/Developer/CommandLineTools/usr/include/c++/v1/stdlib.h:94:15: fatal error: 'stdlib.h' file not found
#include_next <stdlib.h>
Last output errors (and warnings) before die :
In file included from /usr/local/micmac/CodeExterne/ANN/src/kd_search.h:30:
/usr/local/micmac/CodeExterne/ANN/src/pr_queue_k.h:103:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int i;
^~~~~~~~~
/usr/local/micmac/CodeExterne/ANN/src/kd_search.cpp:174:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register ANNdist dist; // distance to data point
^~~~~~~~~
/usr/local/micmac/CodeExterne/ANN/src/kd_search.cpp:175:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register ANNcoord* pp; // data coordinate pointer
^~~~~~~~~
/usr/local/micmac/CodeExterne/ANN/src/kd_search.cpp:176:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register ANNcoord* qq; // query coordinate pointer
^~~~~~~~~
/usr/local/micmac/CodeExterne/ANN/src/kd_search.cpp:177:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register ANNdist min_dist; // distance to k-th closest point
^~~~~~~~~
/usr/local/micmac/CodeExterne/ANN/src/kd_search.cpp:178:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register ANNcoord t;
^~~~~~~~~
/usr/local/micmac/CodeExterne/ANN/src/kd_search.cpp:179:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int d;
^~~~~~~~~
7 warnings generated.
[ 2%] Linking CXX static library libANN.a
[ 2%] Built target ANN
[ 2%] Linking CXX static library libpoisson.a
[ 2%] Built target poisson
make: *** [all] Error 2
...and die !
Thanks for help.
The text was updated successfully, but these errors were encountered: