Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing JsonConverter.cc? #12

Open
mhirsch opened this issue May 31, 2013 · 4 comments
Open

Missing JsonConverter.cc? #12

mhirsch opened this issue May 31, 2013 · 4 comments

Comments

@mhirsch
Copy link

mhirsch commented May 31, 2013

When I open miracle_grue.pro as a project in qtcreator, having checked out the latest source just now from the github master, I get this error when building:

error: No rule to make target JsonConverter.cc, needed by JsonConverter.o. Stop.

@fgelm01
Copy link
Contributor

fgelm01 commented May 31, 2013

The .pro files are out of date and should be removed. We use SCons as the build system. Please download SCons for your operating system and invoke it in the root directory of Miracle-Grue.

@mhirsch
Copy link
Author

mhirsch commented May 31, 2013

Thanks, I tried scons. Here's what I get: (I'm running Fedora by the way, where there is no dpkg).

$ scons
scons: Reading SConscript files ...
Targets:

Miracle-Grue build script

  • it is now 2013-05-31 13:29:49.180843 (Qt and cppUnit are sold separately)

Operating system: [linux2]
** CPPUNIT version checK: sh: dpkg: command not found
EnvironmentError: No tool named 'mb_install': not a Zip file:
File "/home/mhirsch/Projects/Mantis/Miracle-Grue/SConstruct", line 5:
SConscript('SConscript', variant_dir='obj', duplicate=1)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
return method(_args, *_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
return _SConscript(self.fs, _files, *_subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
exec file in call_stack[-1].globals
File "/home/mhirsch/Projects/Mantis/Miracle-Grue/obj/SConscript", line 188:
env.Tool('mb_install', toolpath=[Dir('submodule/mw-scons-tools')])
File "/usr/lib/scons/SCons/Environment.py", line 1785:
tool = SCons.Tool.Tool(tool, toolpath, **kw)
File "/usr/lib/scons/SCons/Tool/init.py", line 94:
module = self._tool_module()
File "/usr/lib/scons/SCons/Tool/init.py", line 154:
raise SCons.Errors.EnvironmentError(m)

@fgelm01
Copy link
Contributor

fgelm01 commented May 31, 2013

Run this command:
git submodule update --init

@mhirsch
Copy link
Author

mhirsch commented May 31, 2013

It works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants