Jump to content

printf() in VEX land


Guest xionmark

Recommended Posts

Guest xionmark

Hi,

WIN-XP, H7.0.220

I'm not getting any output from printf() statements in VEX on a Windows box. The same code works OK on Linux.

Anyone know why console I/O would stop on a PC?

Thx!

--Mark

Link to comment
Share on other sites

I'm not getting any output from printf() statements in VEX on a Windows box.  The same code works OK on Linux.

Anyone know why console I/O would stop on a PC?

To get console output on Windows, you have to execute mantra with a certain set of commandline arguments to invoke a console:

  mantra -o consolewait
  mantra -o consolenowait

Link to comment
Share on other sites

  • 2 weeks later...
Guest xionmark
To get console output on Windows, you have to execute mantra with a certain set of commandline arguments to invoke a console:

  mantra -o consolewait
  mantra -o consolenowait

15441[/snapback]

Thanks Jason, I finally got a chance to try this.

Take care,

Mark

Link to comment
Share on other sites

  • 2 years later...

Is there an equivalent way of starting houdini itself so that printf output gets shown? I'm working on a VOP SOP that includes a print VOP with "output text to console" toggled. Rather than starting houdini from the task bar, I have tried starting it from the csh that ships with houdini. I'm not seeing any text output, either from this VOP network or a simple VEX SOP with embedded printf statements. This is Windows XP using Houdini 8.1.704.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...