pfeatherstone

Results 403 comments of pfeatherstone

The problem with test_global_optimization.py is `DLIB_CASSERT()`. The second time the assert gets hit, the program aborts. That's expected behaviour. So I'm not sure how: ``` with raises(Exception): find_max_global(lambda a, b:...

I still need to add building examples and tools in main CMakelists.txt script. Then everything is built in one place. I think that's better. There are a few compiler specific...

> > So added the missing BLAS files in external/blas. I didn't know there was a difference between cblas and blas. I have no idea how this was working before....

> Na it's just a matlab shim. Ok, I'll fix the cmake script later which only pulls in `external/cblas` when building matlab.

Cmake has the `FindMatlab` module which looks good and the handy [matlab_add_mex](https://cmake.org/cmake/help/latest/module/FindMatlab.html#command:matlab_add_mex) cmake function. Might try that

Nearly there, just need to fix FindBLAS and matlab then done I think.

The Matlab build is so close. I think the problem now is RPATH is stripped during install and the example mex files can't find libmex, libmx and libeng anymore. Nearly...

Shall we add a CI runner for Ubuntu18 ? I was thinking of building everything from 1 CMakeLists.txt file. I much prefer it personally. I think it's tidier. There is...

What version of the CUDA toolkit and c++ compiler were you using? I'll build a VM tonight and try reproduce.

So when building the Matlab MEX stuff I found I didn't need any cblas code at all. That was with latest Matlab though. But I imagine it will be the...