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

Date : Fri, 16 Feb 2007 10:24:58 -0800
To : XSI_MailingList <XSI(at)Softimage.COM>
From : Greg Smith <greg(at)stanwinston.com>
Subject : Re: [C++] Noob question: compiling in linux and .xsi oddity
It seems that more RTFM'ing was in order, I followed the instructions on
the same page where I got the "source" line. by going through the plugin
manager and opening an xterm window by right clicking on the plugins
node. Using that Terminal to do all my compiling worked. I was able to
compile the .so file so now I am testing the plugin to see if it
actually works! 
Thanks for the reply!

Greg

On Fri, 2007-02-16 at 17:26 +0000, Alan Jones wrote:
> 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

---
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.