Skip to content

Instantly share code, notes, and snippets.

View greenbrettmichael's full-sized avatar

Brett-Michael Green greenbrettmichael

View GitHub Profile
@greenbrettmichael
greenbrettmichael / ReadME.md
Created May 12, 2025 18:20
`GLIBCXX_3.4.32' not found

This seems to happen sometimes with c++ compiled python wheels. I believe that there is some conflict between system libstdc++6 and one packaged with miniconda. Installing this conda-forge package appears to fix the issue.

conda install -c conda-forge libstdcxx-ng
@greenbrettmichael
greenbrettmichael / Notes.md
Last active November 29, 2025 20:23
Building Colmap and Glomap with CUDA support

This is a bit fragile and hacky to setup at the moment. Two things should happen to improve this configuration process

  1. CMAKE improvements to finding CuDSS. Alternatively, it would be easy enough to write a FindCuDSS.cmake for ceres that looks in standard install locations.
  2. Release of Ceres 2.3. Glomap is dependent on Ceres 2.3 for GPU support, however this version does not have an official release. It would be straightforward to update the official vcpkg port once the version is released.
@greenbrettmichael
greenbrettmichael / CallbackFunctionTemplate.cpp
Created March 27, 2019 20:15
Beast Code Basic Template Mechanics Workshop
#include <iostream>
#include <string>
std::string myEmailPW = "abcd123";
template<typename returnType, typename func>
returnType resultCallback(func F)
{
std::string outputResult = myEmailPW;
return F(outputResult);
}
class PassKeep