Skip to content
Snippets Groups Projects
Commit 76e92be5 authored by Jakhes's avatar Jakhes
Browse files

Merge branch 'main' of...

parents 21c84975 4582ee2e
No related branches found
No related tags found
No related merge requests found
splfr=/usr/local/sicstus4.7.1/bin/splfr
main.so: main.pl main.cpp
$(splfr) -lmlpack -lstdc++ -cxx --struct main.pl main.cpp mlpack-3.4.2/src/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression.cpp
$(splfr) -larmadillo -lmlpack -lstdc++ -cxx --struct main.pl main.cpp mlpack-3.4.2/src/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression.cpp
clean:
rm main.so
......@@ -16,9 +16,22 @@ while running sicstus in the repository or:
```
when running sicstus in a different directory.
## Compile the main file
## Compile the main files with Makefile
To compile the main files with splfr you need to use the following command in the repository folder.
To compile the main files just use __make__
if your full path to splfr is not __/usr/local/sicstus4.7.1/bin/splfr__
then you will have to exchange this Makefile line with your splfr path.
```
splfr=/usr/local/sicstus4.7.1/bin/splfr
```
## Compile the main files manually
To compile the main files manually with splfr you need to use the following command in the repository folder.
The flags
......
......@@ -3,8 +3,8 @@
Always include the glue header in your foreign resource code.
*/
#include "main_glue.h"
#include <mlpack-3.4.2/src/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression.hpp>
#include <mlpack-3.4.2/src/mlpack/core.hpp>
#include <bayesian_linear_regression/bayesian_linear_regression.hpp>
#include <mlpack/core.hpp>
using namespace arma;
using namespace mlpack;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment