Closed kevinaud closed 6 years ago
Hi Kevin, I am sorry you got into trouble compiling the project, I use a Mac and for Linux I use Docker with Ubuntu Xenial (basically Ubuntu 16.04) it shouldn't be necessary to remove the lines 19-21 but what you can do is to:
$ export CXX=g++-4.9
then run the 'build_dependencies.sh' shell script. Additionally please review which version of g++ is installed on your Linux box with the following command:
$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
In my case as you can see is g++ 5.4 which to my knowledge is the default version installed in Ubuntu 16.04, so may be you can try with this command before executing the shell script:
$ export CXX=/usr/bin/g++
$ micro-service/libs/build_dependencies.sh
Take care, Ivan.
I guess I can close this issue now.
Hey, let me start out by saying thanks for the time you spent creating this repo! It is the only example of the cpprestsdk I've found that shows how it could be used in a real project.
While I was going through the build process I did run into an issue though. On lines 19-21 of build_dependencies.sh there are these three lines:
I was running this on a Linux system, Ubuntu 16.04, and I had to comment out these lines in order to build the project. Before I commented them out I would get the following output from running build_dependencies.sh: