Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
problems compiling on centos6.2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mattestela  
View profile  
 More options Oct 6 2012, 10:57 am
From: mattestela <matt.est...@gmail.com>
Date: Sat, 6 Oct 2012 07:57:56 -0700 (PDT)
Local: Sat, Oct 6 2012 10:57 am
Subject: problems compiling on centos6.2
Super keen to use partio, tried the latest binaries, they complain
about a glibc mismatch, so rolling up my sleeves and trying to compile
my own for centos6.2 and maya 2011. Should warn that I don't have sudo
rights, and this is my first attempt at wrestling cmake, so bear with
me...

First, cmake complained that it couldn't find GLUT_Xi_LIBRARY; seems
I'd need to install that with yum, but without rights to do that, and
seeing that its probably for the standalone viewer, I commented out
src/tools from the cmakelists. Iit then created a build structure, yay
(after some fiddling to make it find our oddly named maya dirs).

The make process churns through to 88% happily, but stops when it gets
to partioVisualizer.o with this error:

/usr/autodesk/maya2011.5-x64/devkit/plug-ins/GL/glext.h:2818: error:
‘<anonymous>’ has incomplete type
/usr/autodesk/maya2011.5-x64/devkit/plug-ins/GL/glext.h:2818: error:
invalid use of ‘GLvoid’

Some googling suggests I either swap 'GLvoid' for 'void', but I can't
do that without su rights, and it doesn't seem right that I'd need to
modify autodesk headers. Another suggestion was that using a older
compiler would work, but I'm not sure how I get cmake to do that.

Anyone out there on centos6.2? Or can suggest next steps?

Cheers,

-matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Cassella  
View profile  
 More options Oct 6 2012, 3:12 pm
From: John Cassella <redpa...@gmail.com>
Date: Sat, 6 Oct 2012 12:12:16 -0700
Local: Sat, Oct 6 2012 3:12 pm
Subject: Re: problems compiling on centos6.2

Thats what I had to do as well  on 2011  to get it to compile.
I copied the glext.h header from  maya 2012 to  the maya 2011  folder and
then  the compile worked..   diffing the two  resulted in
only 4 lines different and they were as you describe,   void vs  glvoid
differences.

the path to the GL stuff is customized in the  cmakeLists.txt file  so you
can  make your own copy,  and  point the cmake file to that  location  and
hopefully this should get you going.

-j


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Estela  
View profile  
 More options Oct 6 2012, 4:51 pm
From: Matt Estela <matt.est...@gmail.com>
Date: Sun, 7 Oct 2012 07:51:43 +1100
Local: Sat, Oct 6 2012 4:51 pm
Subject: Re: problems compiling on centos6.2

Ah really? Cool, will give that a shot, thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Estela  
View profile  
 More options Oct 6 2012, 9:02 pm
From: Matt Estela <matt.est...@gmail.com>
Date: Sun, 7 Oct 2012 12:02:53 +1100
Local: Sat, Oct 6 2012 9:02 pm
Subject: Re: problems compiling on centos6.2

Doh, ok, something is arwy... :(

Looks like partio isn't loading our _radiosity channel as rgb. Is that a
known thing? This is a prman16 ptc, ptviewer displays the channels fine,
see attached screengrab. I can attach a ptc if anyone is interested...

[image: Inline image 1]

  partio_rgb.jpg
36K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Estela  
View profile  
 More options Oct 7 2012, 8:39 am
From: Matt Estela <matt.est...@gmail.com>
Date: Sun, 7 Oct 2012 23:39:39 +1100
Local: Sun, Oct 7 2012 8:39 am
Subject: Re: problems compiling on centos6.2

I had another stab at getting the standalone viewer working, with great
success. For some reason cmake couldn't find the Xi lib, despite finding
everything else. I hardcoded the correct path in the generated
CMakeCache.txt file, compiled fine. Couldn't find anywhere in the 'proper'
config files that pointed to this, so can't suggest a fix for the
distribution. The lib ends in .so.6 rather than .so ( /usr/lib64/libXi.so.6
to be exact), wonder if that's enough to confuse cmake?

Interestingly, partview loads the rgb info that the maya plugin doesn't
(after I altered the source to also look for the _radiosity channel for
colour), That, combined with its speed, ability to handle sequence, and no
quirks with clipping planes, makes this an instant replacement for ptviewer
for us, so this was a worthy weekend experiment! Thanks for sharing this
plugin and collection of tools, really appreciated!

-matt

  partio_rgb.jpg
36K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Estela  
View profile  
 More options Oct 6 2012, 8:44 pm
From: Matt Estela <matt.est...@gmail.com>
Date: Sun, 7 Oct 2012 11:44:35 +1100
Local: Sat, Oct 6 2012 8:44 pm
Subject: Re: problems compiling on centos6.2

That worked! Much obliged! I can provide the binary if it's of interest,
but I'm not sure if that'll help or hinder general efforts.

Next step; add features lighters will dig, namely an exposure/brightness
slider when viewing colours from a ptc, to see whats going on for indirect
illumination.

Cheers muchly, you've made a bunch of lighters very happy. :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Cassella  
View profile  
 More options Oct 8 2012, 1:07 pm
From: John Cassella <redpa...@gmail.com>
Date: Mon, 8 Oct 2012 10:07:33 -0700
Local: Mon, Oct 8 2012 1:07 pm
Subject: Re: problems compiling on centos6.2

Hey Matt,  glad you got it working..   I  am running all my compiles on
linux from  fedora 15 so there's probably some small changes from that to
centos but I haven't heard much from anyone else about that sort of issue
yet.  My guess is that if you were able to  install  some dev libs  or
possibly some updates that some of your  hand pathing may go away?
Also,  are you using an nvidia driver?  or  Ati?    wonder if there's
differences in that  sort of thing as well.

Are you unable to get   the _radiosity  channel loaded in partio4Maya at
all?
I wonder if  it might be  something related to the  underscore  in the
name?
Where does this get exported from?    Rman?

Glad partView  works for you,  I've tried to make it a bit more friendly ,
I wish  I could make it   not  overrun the end of the frame sequence  like
it does.. and   its got its issues with certain  file formats...   Also I
want to try to figure out a way to do pulldowns  for   attribute lists
for   color  and  opacity channels..  I'm just pretty new to
openGL programming :-)

anyway,  let me know if you have any other problems
talk to you soon

-johnc

  partio_rgb.jpg
36K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Estela  
View profile  
 More options Oct 8 2012, 6:30 pm
From: Matt Estela <matt.est...@gmail.com>
Date: Tue, 9 Oct 2012 09:30:36 +1100
Local: Mon, Oct 8 2012 6:30 pm
Subject: Re: problems compiling on centos6.2

Will talk to the guys in systems/RnD about getting some dev libs installed,
will see if that helps. We're running nvidia here.

Re radiosity, it loads, but appears to only load the red channel, in
grayscale (that image I attached was probably a bit dark). If I get time
I'll take a quick peek at the code, see if its making some kind of
assumption about single channel vs rgb. And yeah, its from prman.

Re partview, yeah, I've already been hacking on it, its very easy to
understand even for a cpp neophyte like myself. I've done 2 things; made
the brightness control work in all cases, not just when there's alpha, have
it not clamp at 1, and made it an exposure change rather than a lift. I've
done all this in a very hack n slash way, and not in a git branch. My next
step is to actually do all this within the confines of git, so I can send
some potential improvements back to you.

Other chaps in the building got very excited, esp. when they found the
python module that also got compiled. One person got it to talk to a
pre-existing framework he'd developed in pyglet, so he could then use glsl
shaders, nice gui controls, very slick. Was quite a bit slower than
partview, but still, nice to see it being used and tinkered with. If I'm
gonna do any more work, I'll probably stick with the cpp version, if only
for the glut/cpp exercise. :)

-matt

  partio_rgb.jpg
36K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Cassella  
View profile  
 More options Oct 11 2012, 2:13 pm
From: John Cassella <redpa...@gmail.com>
Date: Thu, 11 Oct 2012 11:13:57 -0700
Local: Thurs, Oct 11 2012 2:13 pm
Subject: Re: problems compiling on centos6.2

Matt!,  Awesome ,  any fixes you want to send back my way I'd be glad to
incorporate into the main branch.  The  Partview stuff  could definitely
use some more  love so any fixes that make more sense for usability  sound
great!

If you want to send me a  single frame of cache for the radiosity issue, I
can  take a look at it that way as well.  its probably something pretty
simple.

Let me know how it goes.

talk to you soon.
-johnc

  partio_rgb.jpg
36K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Estela  
View profile  
 More options Oct 12 2012, 12:32 pm
From: Matt Estela <matt.est...@gmail.com>
Date: Sat, 13 Oct 2012 03:32:24 +1100
Local: Fri, Oct 12 2012 12:32 pm
Subject: Re: problems compiling on centos6.2

Ok, I think I've got something ready to go; chatting with one of the
developers here, he said this should work:

git remote add github http://github.com/redpawfx/partio.git
then
git push github

Not sure what the git ettiqute here is; do I just push like that, or better
for you to review changes first, or better to push to my own branch?

Here's what I've done:

loads _radiosity as one of the colour channels by default
added exposure control, up arrow/down arrow to adjust
added gamma control, y and Y to adjust
added reset control, r will reset colour corrections
GUI now displays exposure and gamma values

To get cmake to work and for the compile to go through I've fiddled a few
cmakefiles here and there; after the fact i discovered ccmake, which lets
me deal with the animal logic specific stuff and not pollute the existing
files. I can clean those up if you want before pushing my changes.

-matt

  partio_rgb.jpg
36K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »