2009-09-28 05:48:53 +08:00
|
|
|
This is an example of how one can wrap some of Eigen into a C library.
|
|
|
|
|
|
2009-09-20 17:49:17 +08:00
|
|
|
To try this with GCC, do:
|
|
|
|
|
|
|
|
|
|
g++ -c binary_library.cpp -O2 -msse2 -I ../..
|
|
|
|
|
gcc example.c binary_library.o -o example -lstdc++
|
|
|
|
|
./example
|
|
|
|
|
|
2009-09-28 05:48:53 +08:00
|
|
|
TODO: add CMakeLists, add more explanations here
|