lukasbanana / gaussianlib Goto Github PK
View Code? Open in Web Editor NEWBasic linear algebra C++ library for 2D and 3D applications
License: BSD 3-Clause "New" or "Revised" License
Basic linear algebra C++ library for 2D and 3D applications
License: BSD 3-Clause "New" or "Revised" License
First of all, making a static lib fails:
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/gausslib.dir/link.txt --verbose=ON
/opt/local/bin/ar qc build/libgausslib.a
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
make[2]: *** [build/libgausslib.a] Error 1
Then:
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_GaussianLib/GaussianLib/work/GaussianLib-48dec59634058c7839009dfff4143a0384d2a997/test/test1.cpp: In function 'void affineMatrixTest1()':
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_GaussianLib/GaussianLib/work/GaussianLib-48dec59634058c7839009dfff4143a0384d2a997/test/test1.cpp:168:48: error: no match for 'operator^' (operand types are 'Gs::Matrix4' {aka 'Gs::Matrix<float, 4, 4>'} and 'int')
168 | std::cout << "Inv(A) = " << std::endl << (A^-1) << std::endl;
| ~^~~
| | |
| | int
| Gs::Matrix4 {aka Gs::Matrix<float, 4, 4>}
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_GaussianLib/GaussianLib/work/GaussianLib-48dec59634058c7839009dfff4143a0384d2a997/test/test1.cpp:169:52: error: no match for 'operator^' (operand types are 'Gs::Matrix4' {aka 'Gs::Matrix<float, 4, 4>'} and 'int')
169 | std::cout << "A*Inv(A) = " << std::endl << A*(A^-1) << std::endl;
| ~^~~
| | |
| | int
| Gs::Matrix4 {aka Gs::Matrix<float, 4, 4>}
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_GaussianLib/GaussianLib/work/GaussianLib-48dec59634058c7839009dfff4143a0384d2a997/test/test1.cpp: In function 'void projectionTest1()':
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_GaussianLib/GaussianLib/work/GaussianLib-48dec59634058c7839009dfff4143a0384d2a997/test/test1.cpp:302:26: error: 'class Gs::Vector<float, 4>' has no member named 'xy'; did you mean 'x'?
302 | std::cout << (R * a).xy() << std::endl;
| ^~
| x
make[2]: *** [CMakeFiles/test1.dir/test/test1.cpp.o] Error 1
Thanks for this head only library. Does it support microsoft vs2010 compiler?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.