SIP Syntax Error on Raspberry Pi3:

Hi
I am trying to build the phoenix code in Rpi3 and encounter issue while running command: sip

looks like some syntax error happened in the file from the github. anyone here encounter the same issue? Thanks.:slight_smile:

python3.4 build.py 3.4 dox etg --nodoc sip build

Will build using: “/usr/bin/python3.4”

3.4.2 (default, Oct 19 2014, 13:31:11)

[GCC 4.9.1]

Python’s architecture is 32bit

cfg.VERSION: 3.0.3

Running command: dox

./regen.sh xml

Finished command: dox (4m49.789s)

Running command: etg

Finished command: etg (0m1.197s)

Running command: sip

/usr/bin/sip -w -o -I /home/pi/Codes/phoenix/Phoenix/src -I /home/pi/Codes/phoenix/Phoenix/sip/gen -c /tmp/tmp5tsdi9ea -b sip/cpp/_adv.sbf -X pycode_adv:wx/adv.py sip/gen/_adv.sip

sip: sip/gen/odcombo.sip:146: syntax error

Command ‘/usr/bin/sip -w -o -I /home/pi/Codes/phoenix/Phoenix/src -I /home/pi/Codes/phoenix/Phoenix/sip/gen -c /tmp/tmp5tsdi9ea -b sip/cpp/_adv.sbf -X pycode_adv:wx/adv.py sip/gen/_adv.sip’ failed with exit code 1.

Raymond wong wrote:

Hi
I am trying to build the phoenix code in Rpi3 and encounter issue
while running command: sip
looks like some syntax error happened in the file from the github.
anyone here encounter the same issue? Thanks.:slight_smile:

python3.4 build.py 3.4 dox etg --nodoc sip build
Will build using: "/usr/bin/python3.4"
3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1]
Python's architecture is 32bit
cfg.VERSION: 3.0.3

Running command: dox
./regen.sh xml
Finished command: dox (4m49.789s)
Running command: etg
Finished command: etg (0m1.197s)
Running command: sip
/usr/bin/sip -w -o -I /home/pi/Codes/phoenix/Phoenix/src -I
/home/pi/Codes/phoenix/Phoenix/sip/gen -c /tmp/tmp5tsdi9ea -b
sip/cpp/_adv.sbf -X pycode_adv:wx/adv.py sip/gen/_adv.sip
sip: sip/gen/odcombo.sip:146: syntax error
Command '/usr/bin/sip -w -o -I /home/pi/Codes/phoenix/Phoenix/src -I
/home/pi/Codes/phoenix/Phoenix/sip/gen -c /tmp/tmp5tsdi9ea -b
sip/cpp/_adv.sbf -X pycode_adv:wx/adv.py sip/gen/_adv.sip' failed with
exit code 1.

What version is /usr/bin/sip?

···

--
Robin Dunn
Software Craftsman