Re: [C++] Noob question: compiling in linux and .xsi oddity

Date : Fri, 16 Feb 2007 17:26:17 +0000
To : XSI(at)Softimage.COM
From : "Alan Jones" <skyphyr(at)gmail.com>
Subject : Re: [C++] Noob question: compiling in linux and .xsi oddity
Hi Greg,

That error is the one you get if you're not sourcing from in csh -
which is odd as it looks like you are.

Try going to a shell by hand just to make sure - so fire up bash
run csh to start csh
then source
then make

Cheers,

Alan.

On 2/16/07, Greg Smith <greg(at)stanwinston.com> wrote:
Okay, so I am here trying to compile a linux build of a lense shader,
something I don't have much experience in doing. I have done it once
before but with the aid of linux savvy sys admin who has since come and
gone. So, now I am here trying to execute the make file in a shell and
it fails to work. I get a domino effect of errors that seem to stem from
the first error message which is:

"shader.h: No such file or directory"

okay so it can't see my XSISDK_ROOT env, easy enough, a little RTFM and
I found that I needed to set my source before I compile. so what I ended
up doing is creating a make.sh file that basically consisted of the
following:

#! /bin/csh

source /usr/Softimage/XSI_5.11_QFE1/.xsi_5.11
make $*

after executing the make.sh file I get new errors:

/usr/Softimage/XSI_5.11_QFE1/.xsi_5.11: line 5: syntax error near
unexpected token `('

/usr/Softimage/XSI_5.11_QFE1/.xsi_5.11: line 5: `foreach f ( `env | sort
| egrep "^MW" | cut -d= -f1` )'

so I am like, crap... now what? I guess its a little more RTFM for me,
but if anyone has any quick tips or walkthroughs on compiling stuff in
linux(FC3), any contribution will be greatly appreciated.

Greg



---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.