You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
exercise_2/3rdparty/colmap-build/eigen-eigen-323c052e1731/demos/mix_eigen_and_c
Aoi 82a5d8a216
Merge branch 'hexuesong' of https://bdgit.educoder.net/pbyhqr72x/exercise_2 into hexuesong
3 years ago
..
README Merge branch 'hexuesong' of https://bdgit.educoder.net/pbyhqr72x/exercise_2 into hexuesong 3 years ago
binary_library.cpp Merge branch 'hexuesong' of https://bdgit.educoder.net/pbyhqr72x/exercise_2 into hexuesong 3 years ago
binary_library.h Merge branch 'hexuesong' of https://bdgit.educoder.net/pbyhqr72x/exercise_2 into hexuesong 3 years ago
example.c Merge branch 'hexuesong' of https://bdgit.educoder.net/pbyhqr72x/exercise_2 into hexuesong 3 years ago

README

This is an example of how one can wrap some of Eigen into a C library.

To try this with GCC, do:

  g++ -c binary_library.cpp -O2 -msse2 -I ../..
  gcc example.c binary_library.o -o example -lstdc++
  ./example

TODO: add CMakeLists, add more explanations here