Closed ckurtz22 closed 1 year ago
Sorry I know, I will add instructions and plan to add a docker container:
These instructions are not tested, but is what I remember plus some old personal documentation
Compared to the instructions for the other branches: build blasfeo and hpipm into root with cmake following their changed instructions
CppAD:
Download CppAD
cd in folder
mkdir build
cd build
cmake ..
sudo make install
I think you can also use sudo apt install cppad
CppAD CodeGen
git clone https://github.com/joaoleal/CppADCodeGen.git CppADCodeGen
cd in folder
mkdir build
cd build
cmake ..
sudo make install
Build CppAD Libs:
cd ADCodeGen
mkdir build
cd build
cmake ..
make
./ADCodeGen
Build MPCC:
mkdir build
cd build
cmake ..
make
./MPCC
Great, thank you!
Well my issue turned out to be silly anyways, I was building from the C++ dir like the other branches instead of C++/build :)
Thanks for updating the install instructions. I will test everything as soon as I have time and approve the merge requests.
There is a lack of build instructions or process for the new CppAD-codegen branch (or docs in general for that matter :P ). I've managed to fumble most of the way so far on my own to get a "successful" build but now getting runtime errors when I run the main executable MPCC. Also, not sure if I need to build the contents of the ADCodeGen folder or not, but cannot seem to get this folder to build.