davidwick

davidwick

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

No printf() Output from VEX SOP April 8, 2008, 8:39 p.m.

Unfortunately, updating to 9.1.179 hasn't solved the problem. Did the example work correctly for you under Windows XP?

Anyway, thanks for taking the time to test this, it helps me to narrow down the problem.

No printf() Output from VEX SOP April 8, 2008, 11:28 a.m.

SYmek
The problem is that command line has nothing to do with printf() on Windows, since Windows cmd is not a terminal and Houdini doesn't use it for messaging. It uses Houdini Console which should pop up any time you use printf()
Thanks for helping to clarify this for me.

Here's an example of what's happening:
I create a Point Map node and in the Type Properties > Code folder add a printf() statement so that I have
int trial = 0;
printf(“trial = %d”, trial);

When I hit Test Compile, a “Compile was successful” message appears but the console doesn't.

If I e.g. enter -h into the vcc command line, the console appears listing the command line usage options. printf() is still ignored if I now test compile with the console open.

No printf() Output from VEX SOP April 7, 2008, 11:19 p.m.

Thanks for the reply.

I'm not sure whether I'm going down the right track here. This is new territory to me and I'm assuming that you're referring to CShell.

Upon launching CShell from the Command Line Tools prompt, I'm being asked for environment variables. According to the Readme file in the Houdini root directory, these should have been set up automatically. I've tried unsuccessfully to source the setup script.

Another beginner in need of guidance…