open-source-parsers / open-source-parsers/jsoncpp
cmake error
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.9k
- Forks
- 2.7k
- Avg merge
- 31m
- Merged PRs (30d)
- 1
Description
[root@iZuf6gy6qwvkl8mkdltvefZ build]# cmake -DCMAKE_BUILD_TYPE=release -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DARCHIVE_INSTALL_DIR=. -G "Unix Makefiles" ..
-- JsonCpp Version: 1.9.5
CMake Error at src/lib_json/CMakeLists.txt:202 (install):
install TARGETS given unknown argument "OBJECTS".
-- Configuring incomplete, errors occurred!
See also "/usr/local/src/jsoncpp/build/CMakeFiles/CMakeOutput.log".
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported command with the Unix Makefiles generator and inspect src/lib_json/CMakeLists.txt around line 202, where CMake rejects the OBJECTS argument to install TARGETS. The work is done when configuration completes without this error and the reported build setup remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100