jedwards1211 / dewalls

A C++/Qt parser for the Walls .srv cave survey data format
MIT License
4 stars 4 forks source link

Fixed OS X Clang Compiling errors #1

Closed vpicaver closed 8 years ago

vpicaver commented 9 years ago
jlillest commented 9 years ago

The above change fixed my C++11 errors, but now I'm getting compiler errors with system/QT libraries:

compiling wallsparser.cpp
compiling wallsvisitor.cpp
compiling wallstypes.cpp
compiling wallsunits.cpp
/usr/bin/clang++-3.5 -m64 -g -Wall -Wextra -pipe -x c++ -stdlib=libc++ -std=c++11 -Werror -fPIC -DQT_CORE_LIB -I/home/jlillestolen/cavecode/cavewhere/dewalls/src -I/usr/local/bin/Qt5.3.1/5.3/gcc_64/include -I/usr/local/bin/Qt5.3.1/5.3/gcc_64/include/QtCore -I/usr/local/bin/Qt5.3.1/5.3/gcc_64/mkspecs/linux-g++ -I/home/jlillestolen/cavecode/cavewhere-build/qtc_Desktop-debug/dewalls.qtc_Desktop/GeneratedFiles -c /home/jlillestolen/cavecode/cavewhere/dewalls/src/wallstypes.cpp -o /home/jlillestolen/cavecode/cavewhere-build/qtc_Desktop-debug/dewalls.qtc_Desktop/.obj/src/wallstypes.cpp.o
In file included from /home/jlillestolen/cavecode/cavewhere/dewalls/src/wallstypes.cpp:1:
In file included from /home/jlillestolen/cavecode/cavewhere/dewalls/src/wallstypes.h:4:
In file included from /usr/local/bin/Qt5.3.1/5.3/gcc_64/include/QtCore/QString:1:
In file included from /usr/local/bin/Qt5.3.1/5.3/gcc_64/include/QtCore/qstring.h:45:
In file included from /usr/local/bin/Qt5.3.1/5.3/gcc_64/include/QtCore/qchar.h:45:
In file included from /usr/local/bin/Qt5.3.1/5.3/gcc_64/include/QtCore/qglobal.h:74:
/usr/local/bin/Qt5.3.1/5.3/gcc_64/include/QtCore/qcompilerdetection.h:845:11: fatal error: 'utility' file not found
# include <utility>
          ^
1 error generated.
Process failed with exit code 1.

What version of Qt are you using? Am I missing some plugin or additional Qt package?

jlillest commented 9 years ago

Ok, it seems to be the C++ system library (http://www.cplusplus.com/reference/utility/). Now I just need to find which package provides it on debian/ubuntu.

jlillest commented 9 years ago

I updated libc++-dev and that seemed to install the missing header file.

Now I'm getting a huge amount of errors when linking both dewalls and protoc. Signs are pointing towards my system install.

jedwards1211 commented 8 years ago

Compiled and tested on my windows machine. Thanks guys! Sorry it took so long! Once I lost the notification, I forgot that there were PRs here as opposed to my fork of Cavewhere or the main project.

vpicaver commented 8 years ago

I too get lost in github's fork land...

On Tue, Nov 3, 2015 at 6:48 PM, Andy Edwards notifications@github.com wrote:

Compiled and tested on my windows machine. Thanks guys! Sorry it took so long! Once I lost the notification, I forgot that there were PRs here as opposed to my fork of Cavewhere or the main project.

— Reply to this email directly or view it on GitHub https://github.com/jedwards1211/dewalls/pull/1#issuecomment-153526560.