Comments (6)
mkdir build
cd build
cmake ..
make all
Is correct, you need to call cmake inside the build-dir. No sudo, but everything in the correct directory.
from cppnumericalsolvers.
Yes, I did that. I corrected the bug report. But it does not copy the header files to /usr/local/include
. Apart from that some of the cppoptlib headers use gtest. Is this intended? I have to link the library to compile any code that uses cppoptlib.
from cppnumericalsolvers.
Ah. Ok. It is not intended to copy the header files there to usr/include, yet. For other projects simply add the include path to the solver directory.
That cmake-install is definetely a bug. It should not be there. In general there should not be a dependency to gtest outside the verify.cpp file. I will look at that.
Do not forget to explicitly use the release mode (see other issue).
from cppnumericalsolvers.
Thanks.
Are there any plans to make it possible to install the library in the system? I think we only would have to
- add something like
install(DIRECTORY include/... DESTINATION include/...)
- install a config for
find_package
and/or pkg-config like in this library - get rid of the gtest dependency by default
from cppnumericalsolvers.
Getting rid of "gtest" is my goal. In my opinion it is not the best solution currently to install it in the system. This would prevent a "git pull" update.
from cppnumericalsolvers.
Well, that would still be possible. You don't have to call make install.
from cppnumericalsolvers.
Related Issues (20)
- Long compilation time HOT 3
- Interference from windows.h about std::max in problem.h HOT 2
- Optimization report? HOT 1
- Can't apply constraints to the NelderMead solver HOT 1
- Constrained line search in L-BFGS-B HOT 2
- Share computation between value() and gradient() HOT 3
- L-BFGS-B doesn't work with simple example HOT 4
- Hessian of Rosenbrock function is incorrect HOT 2
- The way to calculate a finite Hessian HOT 1
- LbfgsbSolver<TProblem>::SubspaceMinimization for first iteration HOT 2
- Eigen::indexing::all not found HOT 2
- Conjugate gradient descent tries to allocate memory for hessian HOT 2
- Error C2248 occurs when starting the simple sample. HOT 3
- Including this implementation in another package with proper credits to the authors HOT 1
- Treatment of NaNs HOT 1
- Enable changing line search strategies? HOT 1
- [HELP] using CMaesB -> Eigen types issues HOT 1
- CMAESB - Make TMatrix dynamic, to avoid setting the dimension at compile time
- Setting the initial approximate Hessian? HOT 3
- neldermeadsolver for v2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppnumericalsolvers.