Giter Club home page Giter Club logo

gaussianlib's People

Contributors

lukasbanana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gaussianlib's Issues

Build errors on macOS: ar: no archive members specified; error: no match for 'operator^' (operand types are 'Gs::Matrix4' {aka 'Gs::Matrix<float, 4, 4>'} and 'int')

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

Support VS2010?

Thanks for this head only library. Does it support microsoft vs2010 compiler?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.