I've signed up on the innvolabs pleoworld, but the pdk page appears empty.
So how do I get it?
I pulled down a copy of a PDK kit off
http://ipr10.wikidot.com/pleoand installed pawn
but I can't process the example test_sensor script from the tutorial, it gives
...
$ ../../bin/ugobe_project_tool touch_test.upf rebuild
...some reasonably proper output...
*** Processing ***
Converting ../../media/sounds/growl.wav to temp/sounds/growl.usf adpcm:1 pitch:1 freq:11025
Building script 'sensors.p'
execute 'sensors.p'
@ pawncc sensors.p -V2048 -O2 -S64 -v2 -C- -iinclude -i..\..\include TARGET=100 -otemp/scripts/sensors.amx
ERROR: building script 'sensors.p'
when I try to build the script with the above command along I get it to complain as if a option is wrong:
$ pawncc sensors.p -V2048 -O2 -S64 -v2 -C- -iinclude -i..\..\include TARGET=100 -otemp/scripts/sensors.amx
Pawn compiler 4.0.4548 Copyright (c) 1997-2011, ITB CompuPhase
Usage: pawncc <filename> [filename...] [options]
...
I'm on windows, so I fix the file path \ to / for my cygwin command and remove the "-C-" option (what is it for?) and get:
$ pawncc sensors.p -V2048 -O2 -S64 -v2 -iinclude -i../../include TARGET=100 -otemp/scripts/sensors.amx
Pawn compiler 4.0.4548 Copyright (c) 1997-2011, ITB CompuPhase
sensors.p(7) : warning 207: unknown #pragma
sensors.p(7) : error 038: extra characters on line
../../include\common/message_type.inc(1) : error 010: invalid function or declaration
../../include\common/message_type.inc(36) : error 010: invalid function or declaration
../../include\Log.inc(24) : error 021: symbol already defined: "getchar"
../../include\Log.inc(45) : error 021: symbol already defined: "print"
../../include\Log.inc(45) : error 025: function heading differs from prototype
../../include\Log.inc(56) : error 021: symbol already defined: "printf"
../../include\Log.inc(56) : error 025: function heading differs from prototype
../../include\Script.inc(19) : error 017: undefined symbol "TARGET_PLEO"
../../include\Script.inc(29) : error 010: invalid function or declaration
../../include\Script.inc(44) : error 017: undefined symbol "vm_aux"
../../include\Script.inc(46) : error 017: undefined symbol "vm_aux"
../../include\Script.inc(55) : error 017: undefined symbol "vm_aux"
../../include\Script.inc(57) : error 017: undefined symbol "vm_aux"
../../include\Script.inc(105) : error 017: undefined symbol "vm_aux"
../../include\Sensor.inc(20) : error 017: undefined symbol "TARGET_PLEO"
../../include\Sound.inc(26) : error 010: invalid function or declaration
../../include\Sound.inc(29) : error 010: invalid function or declaration
../../include\Sound.inc(52) : error 017: undefined symbol "Sound_Any"
../../include\Sound.inc(60) : error 017: undefined symbol "Sound_Any"
include\sounds.inc(
: error 010: invalid function or declaration
Assertion Failed: match_length>=repl_length, function stgopt, file sc7.c, line 771.
ABNORMAL TERMINATION
I can't find any reference to #pragma pack in the manual as stated in the sensors.p.
The include common/message_type.in is a enum that I can't figure out what's wrong with it.
OK what gives? Can I buy a clue.
Is there a different version of pawn I should be using?