osm-search / Nominatim

Open Source search based on OpenStreetMap data
https://nominatim.org
GNU General Public License v3.0
3.2k stars 715 forks source link

make error error: unknown type name 'uint'; did you mean 'int' #879

Closed xming4321 closed 6 years ago

xming4321 commented 6 years ago

[ 79%] Building CXX object nominatim/CMakeFiles/nominatim.dir/geometry.cpp.o [ 81%] Building C object nominatim/CMakeFiles/nominatim.dir/import.c.o [ 84%] Building C object nominatim/CMakeFiles/nominatim.dir/index.c.o In file included from /Users/xming/project/work/service-nominatim/nominatim/index.c:18: /Users/xming/project/work/service-nominatim/nominatim/index.h:17:5: error: unknown type name 'uint'; did you mean 'int'? uint table; ^~~~ int /Users/xming/project/work/service-nominatim/nominatim/index.c:441:5: error: use of undeclared identifier 'uint'; did you mean 'int'? uint table; ^~~~ int /Users/xming/project/work/service-nominatim/nominatim/index.c:443:14: error: use of undeclared identifier 'uint'; did you mean 'int'? table = (uint)(thread_data->table); ^~~~ int /Users/xming/project/work/service-nominatim/nominatim/index.c:443:14: error: use of undeclared identifier 'lint'

lonvia commented 6 years ago

see CONTRIBUTING.md

xming4321 commented 6 years ago

Nominatim version Nominatim-3.0.0

just make

os:mac os 10.13.1

lonvia commented 6 years ago

I´ve pushed a commit to master which may or may not fix the problem, I can't test it. Please note that MacOS is not officially supported, so you are largely on your own here. Feel free to suggest improvements that make it work on MacOS if you find some, However, there is little chance you'll get further help if you just dump error output without any explanation.