From: faculaganymede (faculaganymede++at++yahoo.com)
Date: 09/15/2003 14:42:32
Hi All,
I am new to Performer and IRIX OS. I wrote a simple C
program called test.C as followed.
///////////////////////////////////////////////////////////////////////////////
#include <Performer/pfv/pfvViewer.h>
#include <Performer/pf.h>
int main (int argc, char *argv[])
{
if(argc!=2)
{
printf("Usage: %s viewer_config_file.pfv\n", argv[0]);
exit(1);
}
pfInit();
pfvViewer* viewer = new pfvViewer(argv[1]);
viewer->config();
viewer->run();
}
///////////////////////////////////////////////////////////////////////////////
It compiled with a bunch of warning messages and I get
the following error messages when I tried to run this
program with a sample .pfv file that came with
Perfermer.
snoopy 4% a.out /usr/share/Performer/config/demo1.pfv
PF Notice(2): pfvViewer has 1 worlds
PF Notice: pfvViewer has 1 views
PF Notice: pfvViewer has 7 modules
========================================================================
MultiGen Inc. OpenFlight (r) loader R15.4g
for IRIS Performer 2.2.11 $Date: 1998/06/30 02:41:46 $
========================================================================
The OpenFlight (r) Loader software contained in this
program is the
confidential property of MultiGen Inc.. Copyright 1998
MultiGen Inc..
All rights reserved. For further information about
OpenFlight (r) Scene
Description Database, contact: MultiGen Inc., 550
South Winchester Blvd,
STE 500, San Jose CA 95128. Phone: 1-408-556-2600,
Fax: 1-408-261-4102
========================================================================
PF Warning/Usage: pfInsertChild: Bad index
8796699762784.
PF Notice: pfdLoadFile_pfb: Loading
"/usr/share/Performer/data/pfLightSource.pfb"
PF Warning: pfdLoadFile_pfb:
"/usr/share/Performer/data/pfLightSource.pfb" has a
newer pfb version number [26].
PF Warning: It may not load correctly.
PF Warning/Usage: pfInsertChild: Bad index
8796699226304.
PF Warning/Usage: pfESkyAttr() Bad attribute 326.
PF Warning/Usage: pfInsertGSet: Bad index
8796698976704.
PF Warning/Usage: pfInsertChild: Bad index
8796698975808.
PF Warning/Usage: pfInsertChild: Bad index
8796698943312.
PF Warning/Usage: pfInsertChild: Bad index
8796698978096.
PF Warning/Usage: pfInsertChild: Bad index
8796698978272.
Bus error (core dumped)
snoopy 5%
///////////////////////////////////////////////////////////////////////////////
snoopy 6% versions -b | grep Performer
I performer_data 09/11/2003 OpenGL Performer 3.0
Database Samples
I performer_demo 09/11/2003 OpenGL Performer 3.0 Demos
and Demo Data
I performer_demo 08/22/2003 OpenGL Performer 3.0.1
Demos and Demo Data
I performer_dev 09/11/2003 OpenGL Performer 3.0
Development Environment
I performer_eoe 09/11/2003 OpenGL Performer 3.0
Run-Time Environment
I performer_eoe 08/22/2003 OpenGL Performer 3.0.1
Run-Time Environment
///////////////////////////////////////////////////////////////////////////////
Can anyone tell me what the problem may be?
I also could not compile any of the sample C++
programs using Makefiles that came in Performer.
Please see message "RIX 6.5.20m -Performer: compile
and run-time error 2".
Thanks,
faculaganymede
=====
Thanks,
faculaganymede
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
This archive was generated by hypermail 2b29 : Mon Sep 15 2003 - 14:44:09 PDT