I'd like to include JsonCpp library in an other C++ project developped under Eclipse IDE.
I'd like to compile JsonCpp using Eclipse. The easiest way to do that seems to use SCons external tools with mingw.
I have mingw since I installed Cygwin.
I installed Python for windows and Scons 0.96 too.
I tried to use scons as this :
- run cmd.exe
- cd <JsonCppRoot>
- <pythonDir>\scons.bat platform=mingw
The output of this is :
scons: Reading SConscript files ...
Building using PLATFORM = mingw
scons: *** No tool named 'doxygen': No module named doxygen
File "SConstruct", line 94, in <module>
I'd like to know if others allready have tried to compile JsonCpp using scons or directly Eclipse on Windows... and if it was succesful or not.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unzip it in the directory where you found this README file. scons.py Should be
at the same level as README.
<<=== Quote
Frankly though, I'd rather have a simple build system. If anybody has a makefile that works in linux, I'd be really keen to use it instead. I for one have a problem using scons: the build process stalls with this message:
Building using PLATFORM = linux-gcc-4.1.2
scons: *** AttributeError `'NoneType' object has no attribute 'dir'' trying to evaluate `${SOURCE.dir}'
File "/home/hugp/Development/Libs/jsoncpp/scons-tools/doxygen.py", line 186, in generate
I guess I'll have to drill down.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I'd like to include JsonCpp library in an other C++ project developped under Eclipse IDE.
I'd like to compile JsonCpp using Eclipse. The easiest way to do that seems to use SCons external tools with mingw.
I have mingw since I installed Cygwin.
I installed Python for windows and Scons 0.96 too.
I tried to use scons as this :
- run cmd.exe
- cd <JsonCppRoot>
- <pythonDir>\scons.bat platform=mingw
The output of this is :
scons: Reading SConscript files ...
Building using PLATFORM = mingw
scons: *** No tool named 'doxygen': No module named doxygen
File "SConstruct", line 94, in <module>
I'd like to know if others allready have tried to compile JsonCpp using scons or directly Eclipse on Windows... and if it was succesful or not.
Thanks.
I can only imagine that you didn't copy scons to the location as specified. The README.txt that is contained in the jsoncpp SVN trunk clearly states:
Quote ===>>
You download scons-local distribution from the following url:
http://sourceforge.net/project/showfiles.php?group_id=30337&package_id=67375
Unzip it in the directory where you found this README file. scons.py Should be
at the same level as README.
<<=== Quote
Frankly though, I'd rather have a simple build system. If anybody has a makefile that works in linux, I'd be really keen to use it instead. I for one have a problem using scons: the build process stalls with this message:
Building using PLATFORM = linux-gcc-4.1.2
scons: *** AttributeError `'NoneType' object has no attribute 'dir'' trying to evaluate `${SOURCE.dir}'
File "/home/hugp/Development/Libs/jsoncpp/scons-tools/doxygen.py", line 186, in generate
I guess I'll have to drill down.
A quick an dirty fix to my problem was to bypass generating doxygen documentation by commenting out line #94 in SConstruct.
# env.Tool('doxygen')
At least this compiles with scons.