On Mon, Sep 5, 2016 at 10:33 PM, Brad King <brad.k...@kitware.com> wrote:

> On 09/05/2016 04:01 PM, Cristian Adam wrote:
> > [ 62%] Built target cmjsoncpp
> [snip]
> > [ 93%] Linking CXX executable ../bin/cmake
> > libCMakeLib.a(cmGlobalGenerator.cxx.o): In function `cmGlobalGenerator::
> WriteSummary(cmGeneratorTarget*)':
> > cmGlobalGenerator.cxx:(.text+0x117a8): undefined reference to
> `Json::Value::Value(Json::ValueType)'
> [snip]
> > ../Utilities/cmjsoncpp/libcmjsoncpp.a(json_writer.cpp.o): In function
> `Json::FastWriter::writeValue(Json::Value const&)':
> [snip]
> > No idea why it can't find its own cmjsoncpp library
>
> Actually it is finding the library because some of the error messages
> reference objects in it.  Something goes wrong with finding some of
> the symbols in it, such as some from `json_value.cpp`.
> What is the output of?
>
>     $ ar t Utilities/cmjsoncpp/libcmjsoncpp.a
>
>
$ ar t Utilities/cmjsoncpp/libcmjsoncpp.a
json_reader.cpp.o
json_value.cpp.o
json_writer.cpp.o

Cheers,
Cristian.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to