TCL Cross-Platform Issues

   1957   0   0
User Avatar
Member
12 posts
Joined: July 2005
Offline
Hello,

I have a question about TCL and Renderman.

I have a TCL helper application that sends information to Renderman. In order to send the “end of stream” message to Renderman, the TCL has to do a
puts “\377”

The probloem is that this works on Windows but when I get into Linux, I get the following error:
P79011 Undefined binary token 0xc3. (at line 51 in /usr/bin/tclsh /helper.tcl): Context “split gprim”: Object “<unnamed>”
P79011 Undefined binary token 0xbf. (at line 51 in /usr/bin/tclsh /helper.tcl): Context “split gprim”: Object “<unnamed>”


I tried passing the number in two chunks and I got a similar error. I also tried passing it as {“\377”} which did not work either. I have searched through sites and cannot seem to figure out what to do. Any help would be greatly appreciated - it might be something small I'm not thinking about or something large about which I have no clue.

Thank you for the help
  • Quick Links