Skip to content

Instantly share code, notes, and snippets.

@dignifiedquire
Created February 7, 2017 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dignifiedquire/8ff4a1edf108e2de5821663b5bf3b91f to your computer and use it in GitHub Desktop.
Save dignifiedquire/8ff4a1edf108e2de5821663b5bf3b91f to your computer and use it in GitHub Desktop.
➜ librtcdcpp (master) ✗ git add .
g% ➜ librtcdcpp (master) ✗ git stash
Saved working directory and index state WIP on master: 8a96882 Adjusted Copyright.
HEAD is now at 8a96882 Adjusted Copyright.
➜ librtcdcpp (master) ✔ mkdir build
➜ librtcdcpp (master) ✔ cd build
➜ build (master) ✔ cmake ..
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.1")
-- Checking for module 'liblog4cxx'
-- Found liblog4cxx, version 0.10.0
-- Found LOG4CXX: /usr/local/lib/liblog4cxx.dylib
-- Found OpenSSL: /usr/local/opt/openssl/lib/libssl.dylib;/usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.0.2k")
-- Checking for module 'nice'
-- Found nice, version 0.1.13
-- Found Libnice: /usr/local/lib/libnice.dylib
-- Found GLIB: /usr/local/Cellar/glib/2.50.2/include/glib-2.0;/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include (found version "2.50.2")
-- Found Usrsctp: /usr/local/lib/libusrsctp.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dignifiedquire/opensource/webrtc/librtcdcpp/build
➜ build (master) ✔ make
Scanning dependencies of target rtcdcpp
[ 8%] Building CXX object CMakeFiles/rtcdcpp.dir/src/DataChannel.cpp.o
[ 16%] Building CXX object CMakeFiles/rtcdcpp.dir/src/DTLSWrapper.cpp.o
[ 25%] Building CXX object CMakeFiles/rtcdcpp.dir/src/NiceWrapper.cpp.o
[ 33%] Building CXX object CMakeFiles/rtcdcpp.dir/src/PeerConnection.cpp.o
[ 41%] Building CXX object CMakeFiles/rtcdcpp.dir/src/RTCCertificate.cpp.o
[ 50%] Building CXX object CMakeFiles/rtcdcpp.dir/src/SCTPWrapper.cpp.o
[ 58%] Linking CXX shared library librtcdcpp.dylib
[ 58%] Built target rtcdcpp
Scanning dependencies of target testclient
[ 66%] Building CXX object examples/websocket_client/CMakeFiles/testclient.dir/easywsclient.cpp.o
[ 75%] Building CXX object examples/websocket_client/CMakeFiles/testclient.dir/jsoncpp.cpp.o
[ 83%] Building CXX object examples/websocket_client/CMakeFiles/testclient.dir/testclient.cpp.o
[ 91%] Building CXX object examples/websocket_client/CMakeFiles/testclient.dir/WebSocketWrapper.cpp.o
[100%] Linking CXX executable testclient
[100%] Built target testclient
➜ build (master) ✔ ls
CMakeCache.txt Makefile examples
CMakeFiles cmake_install.cmake librtcdcpp.dylib
➜ build (master) ✔ ./examples/websocket_client/testclient
log4cxx: Could not read configuration file [logging.cfg].
easywsclient: connecting: host=localhost port=5000 path=/channel/test
Unable to connect to localhost:5000
WebSocket connection failed
➜ build (master) ✔
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment