Skip to content

Instantly share code, notes, and snippets.

@acgetchell
acgetchell / CGAL-tests
Created March 9, 2019 06:52
CGAL Qt5 linker errors on MacOS
====================[ Build | draw_triangulation_3 | Debug ]====================
"/Users/adam/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/191.6014.11/CLion 2019.1 EAP.app/Contents/bin/cmake/mac/bin/cmake" --build /Users/adam/CGAL-tests/cmake-build-debug --target draw_triangulation_3 -- -j 6
-- __cplusplus is 199711
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
@acgetchell
acgetchell / CMakeOutput.log
Last active August 30, 2018 19:35
Output for vcpkg using tbb
The system is: Darwin - 17.7.0 - x86_64
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
Build flags:
Id flags:
The output was:
0
@acgetchell
acgetchell / cmake-conan
Created August 7, 2018 23:20
Wrapper for cmake-conan by Joachim Jansen
# https://github.com/conan-io/cmake-conan
function(compile_conan_dependencies conanFile)
find_program(CONAN_CMD conan
DOC "Conan executable location"
PATHS /usr/local/bin
)
message("Running Conan install")
if(CMAKE_BUILD_TYPE STREQUAL "")
set(CMAKE_BUILD_TYPE "Release")
@acgetchell
acgetchell / Catch-migration
Created December 8, 2017 04:58
Catch template errors
┌─[adam][hapkido][±][feature/Catch → origin {2} U:1 ✗][~/CDT-plusplus]
└─▪ ./build.sh
-- The C compiler identification is AppleClang 9.0.0.9000039
-- The CXX compiler identification is AppleClang 9.0.0.9000039
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
@acgetchell
acgetchell / rr replay
Last active November 14, 2017 06:36
rr debug session Ubuntu 16.03
┌─[adam][dewitt][±][master ✓][~/CDT-plusplus]
└─▪ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
┌─[adam][dewitt][±][master ✓][~/CDT-plusplus]
└─▪ rm -rf build/
┌─[adam][dewitt][±][master ✓][~/CDT-plusplus]
└─▪ mkdir build && cd build
┌─[adam][dewitt][±][master ✓][~/CDT-plusplus/build]
└─▪ cmake -G Ninja -DGMOCK_TESTS:BOOL=OFF -DCMAKE_BUILD_TYPE=Debug ..
@acgetchell
acgetchell / rr-install.md
Created November 9, 2017 02:03
Installing rr

┌─[adam][dewitt][~] └─▪ tar zxvf capnproto-c++-0.6.1.tar.gz capnproto-c++-0.6.1/ capnproto-c++-0.6.1/README.txt capnproto-c++-0.6.1/Makefile.am capnproto-c++-0.6.1/capnp-rpc.pc.in capnproto-c++-0.6.1/CMakeLists.txt capnproto-c++-0.6.1/capnp.pc.in capnproto-c++-0.6.1/kj.pc.in capnproto-c++-0.6.1/LICENSE.txt

@acgetchell
acgetchell / # cgal - 2017-09-20_13-57-51.txt
Created September 20, 2017 20:58
cgal on macOS 10.12.6 - Homebrew build logs
Homebrew build logs for cgal on macOS 10.12.6
Build date: 2017-09-20 13:57:51
@acgetchell
acgetchell / arrow-appleclang-errors
Created July 27, 2017 18:39
Arrow c++ build errors
┌─[adam][hapkido][±][master U:1 ✗][~/arrow-test]
└─▪ cmake --build .
Scanning dependencies of target arrow-test
[ 50%] Building CXX object CMakeFiles/arrow-test.dir/main.cpp.o
/Users/adam/arrow-test/main.cpp:6:5: warning: ignoring return value of function
declared with 'warn_unused_result' attribute [-Wunused-result]
builder.Append(1);
^~~~~~~~~~~~~~ ~
/Users/adam/arrow-test/main.cpp:7:5: warning: ignoring return value of function
declared with 'warn_unused_result' attribute [-Wunused-result]
@acgetchell
acgetchell / arrow-gcc-errors
Last active July 27, 2017 18:37
Compiler/linker errors on test case using apache arrow
adam@feynman:~/arrow-test$ cmake .
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
@acgetchell
acgetchell / Travis-encrypt
Created May 29, 2017 18:24
Travis encrypt error log
┌─[adam][hapkido][±][coverity-scan ✓][~/causal-sets-explorer]
└─▪ travis report
System
Ruby: Ruby 2.4.1-p111
Operating System: Mac OS X 10.12.5
RubyGems: RubyGems 2.6.10
CLI
Version: 1.8.8
Plugins: none