aboutsummaryrefslogtreecommitdiffhomepage
path: root/demos/mix_eigen_and_c/README
blob: d9cc9275db780b49780e68f043ef02464ecf6a44 (plain)
1
2
3
4
5
6
7
8
9
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