Comments (6)
Note you need to call the CMakeLists.txt
of the entire project, not the one in the doc/
folder to create all the make
targets like doc
. The project wide CMakeLists.txt
would be called by cmake ../..
if you have a build folder inside the doc/
folder, instead of cmake ..
which is what you did.
I just tried the following on my system:
git clone https://github.com/borglab/gtsam
cd gtsam/doc
mkdir build
cd build
cmake ../..
make doc
and that generated the docs properly.
I get the exact error based on the procedure you mentioned, which is fine since that process is not expected to work.
from gtsam.
@acxz Your method works. I had done what you had suggested previously. However, at that point doxygen was not installed in my machine and hence there was no target for 'doc' generated in the Makefile. Now, it seems to work. Sorry for creating confusion
from gtsam.
Is doxygen installed? cmake checks that..
from gtsam.
I have Doxygen installed, however there is no target named doc in the makefile generated using CMake.Is there a flag that needs to be enabled while creating the makefile to generate documentation?
from gtsam.
This par of the cmake code is quite old, and I'm no expert. It could be, or could be broken. If you do some digging and find out (or whomever is watching this) it would be highly appreciated. Probably a simple issue...
from gtsam.
To avoid users falling into these errors (which seem common when starting with cmake?), there is a solution: introducing an include(...)
to the top of each CMakeLists.txt file except the root one, to do a check like this one.
Pros: avoids this kind of error.
Cons: it's "visually unpleasant" to see that include polluting the cmake files at all subdirectories! ;-)
Is it worth? I don't know :-)
from gtsam.
Related Issues (20)
- Trouble using a Custom Factor HOT 1
- PreintegrationParams parameter not exposed in Python wrapper HOT 2
- Custom factor without Jacobian HOT 2
- Support bazel in addition to cmake HOT 1
- GNC Example HOT 1
- ISAM2 recalculatelaBatch() BUG .When using Inc smoother, CPU usage increases HOT 2
- Resizing factor graph when using iSAM HOT 1
- /usr/local/include/gtsam/base/OptionalJacobian.h:126:43: error: function definition does not declare parameters HOT 2
- Avoid dense fill-in during margianlization HOT 1
- Possible quaternion conversion bug HOT 3
- # include<gtsam/navigation/ImuFactor.h> cannot comiled successfully HOT 1
- RuntimeError: Shonan::run did not converge for given pMax HOT 9
- BoundingConstraint1 with double parameter HOT 2
- Fisheye calibration factor in Python HOT 1
- Is the current latest tag a pre-release? HOT 4
- Matlab "IMUKittiExampleGPS" example result in an error HOT 3
- Generating Matlab toolbox on windows fails
- Error in test scrpipt "TranslationAveragingExample.py" HOT 4
- gtsam doesn't build on i386 or armhf HOT 29
- KeySet class in python is missing methods HOT 4
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 gtsam.