Build from Java Source (Windows Command Line) - TypeError

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

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:
  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

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

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


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 -0700 )edit

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

Nikhil Dabhade gravatar image

Hi risl88,

I think the correct scons command should have


and not


Let me know if that does not help


edit flag offensive delete publish link more


No, unfortunately I get the same exact error.

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

Question Tools

1 follower


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

Seen: 132 times

Last updated: Jan 26 '15