HalfHour / libnxt

Automatically exported from code.google.com/p/libnxt
GNU General Public License v2.0
0 stars 0 forks source link

File "./make_flash_header.py", line 27 print "The flash driver looks too big, refusing to embed." #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download the tarball.
2. Unpack and run scons.
3.

What is the expected output? What do you see instead?
It should compile. I get a compile error on line 27 of make_flash_header.py.

What version of the product are you using? On what operating system?
3.0 on Linux (Arch specifically) the package on the aur fails to compile 
either. I was also trying it in a home/bin directory manually and I get the 
same error.

Please provide any additional information below.

Original issue reported on code.google.com by brian.mo...@gmail.com on 18 Nov 2010 at 11:55

GoogleCodeExporter commented 8 years ago
I had this problem, too.
It's related to python 3. The build runs fine with python 2.
If you have a python2 try this: 
 BuildEnv.Command('flash_routine.h',
         'flash_routine.h.base',
-        './make_flash_header.py')
+        'python2 make_flash_header.py')

Original comment by matthias...@googlemail.com on 10 Mar 2012 at 5:27