0

Build from Java Source (Windows Command Line) - TypeError

asked 2015-01-22 21:00:27 -0800

rlsl88 gravatar image
scons: warning: Ignoring missing SConscript 'build_core\SConscript'
File "C:\allseen\core\alljoyn\alljoyn\SConstruct", line 19, in <module>
TypeError: 'NoneType' object does not support item assignment:
  File "C:\allseen\core\alljoyn\alljoyn\SConstruct", line 27:
    vars.Update(env)
  File "C:\Python27\Scripts\..\Lib\site-packages\scons-2.3.4\SCons\Variables\__init__.py", line 196:
    env[option.key] = values[option.key]

I'm getting the above error when trying to build the Java code for the Alljoyn framework with the Windows command line:

C:\allseen\core\alljoyn>scons -f C:\allseen\core\alljoyn\alljoyn\SConstruct OS=win7 CPU=x86_64 VARIANT=release MSVC_VERSION=12.0 BINDINGS="core,java"

I'm following the instructions from Build from Source - Windows

Does anyone know how I can resolve this? I am able to build the C++ framework just fine.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-01-26 16:24:34 -0800

rlsl88 gravatar image

Ok, I solved this. I was in the wrong directory. This command should actually be ran from the same location (C:\allseen\core\alljoyn\alljoyn) as the cpp command despite what the documentation says.

edit flag offensive delete publish link more

Comments

That is probably a bug in the documentation. You could raise it as one at jira.allseenalliance.org Thanks for pointing it out

Nikhil Dabhade ( 2015-01-26 16:33:24 -0800 )edit
0

answered 2015-01-26 12:38:55 -0800

Nikhil Dabhade gravatar image

Hi risl88,

I think the correct scons command should have

BINDINGS="cpp,java"

and not

BINDINGS="core,java"

Let me know if that does not help

Nikhil

edit flag offensive delete publish link more

Comments

No, unfortunately I get the same exact error.

rlsl88 ( 2015-01-26 15:48:46 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-01-22 21:00:27 -0800

Seen: 138 times

Last updated: Jan 26 '15