"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "examples/README.txt" between
armadillo-10.2.0.tar.xz and armadillo-10.2.1.tar.xz

About: Armadillo is a C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use.

README.txt  (armadillo-10.2.0.tar.xz):README.txt  (armadillo-10.2.1.tar.xz)
How to compile example1.cpp How to compile example1.cpp
* Linux and macOS ** Linux and macOS **
If you have installed Armadillo via the CMake installer: If you have installed Armadillo via the CMake installer:
g++ example1.cpp -o example1 -std=c++11 -O2 -larmadillo g++ example1.cpp -o example1 -std=c++11 -O2 -larmadillo
Otherwise, if you want to use Armadillo without installation: Otherwise, if you want to use Armadillo without installation:
g++ example1.cpp -o example1 -std=c++11 -O2 -I /home/blah/armadillo-7.200.3/in clude -DARMA_DONT_USE_WRAPPER -lopenblas g++ example1.cpp -o example1 -std=c++11 -O2 -I /home/blah/armadillo-7.200.3/in clude -DARMA_DONT_USE_WRAPPER -lopenblas
The above command assumes that the armadillo archive was unpacked into /home/b The above command assumes that the armadillo archive was unpacked into /home/bla
lah/ h/
The command needs to be adjusted if the archive was unpacked into a different The command needs to be adjusted if the archive was unpacked into a different di
directory rectory
and/or for each specific version of Armadillo (ie. "7.200.3" needs to be chang and/or for each specific version of Armadillo (ie. "7.200.3" needs to be changed
ed) )
If you don't have OpenBLAS, on Linux change -lopenblas to -lblas -llapack If you don't have OpenBLAS, on Linux change -lopenblas to -lblas -llapack
and on macOS change -lopenblas to -framework Accelerate and on macOS change -lopenblas to -framework Accelerate
* Windows ** Windows **
Open "example1_win64.sln" or "example1_win64.vcxproj" with Visual Studio. Open "example1_win64.sln" or "example1_win64.vcxproj" with Visual Studio.
The example1_win64 project needs to be compiled as a 64 bit program. The example1_win64 project needs to be compiled as a 64 bit program.
Make sure the active solution platform is set to x64, instead of win32. Make sure the active solution platform is set to x64, instead of win32.
 End of changes. 4 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)