home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!erenj.com!ramsgi.erenj.com!ram
- From: ram@ramsgi.erenj.com (ram rajagopalan)
- Subject: Inventor Question
- Message-ID: <1992Dec16.162928.16505@erenj.com>
- Sender: news@erenj.com (USENET News System)
- Nntp-Posting-Host: ramsgi.erenj.com
- Organization: Exxon Research & Engineering Co.
- Date: Wed, 16 Dec 1992 16:29:28 GMT
- Lines: 31
-
-
- hi,
-
- This may be a really stupid question, but here it is. I am in the
- process of learning inventor, and I am trying to set the value for
- the fields in the nodes. I get a compile time error in attempting
- to do this. Any pointers would be appreciated. Code segment follows.
- I am using the C binding ...
-
- SoCmplx *sph_cmplx;
-
- sph_cmplx = SoCmplxCreate();
- sph_cmplx->value = 0.25;
-
- ...
- ...
-
-
- Error Message:
-
- accom: Error: sph.c, line 115: operands of = have 1) incompatible types or 2) disallowed type(s)
- sph_cmplx->value = 0.25;
- --------------------------^
- *** Error code 1
-
- Stop.
-
- --
- regards,
-
- ram
-