Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Wed Oct 01, 2014 3:18 am

All times are UTC - 8 hours [ DST ]


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Pixie for IRIX
Unread postPosted: Mon Feb 27, 2012 7:53 am 
Offline
User avatar

Joined: Mon Dec 05, 2005 3:35 am
Posts: 2098
Location: Vienna, Austria
@hamei: Actually, to get over the first three errors is trivial as uint32_t is simply a synonym. Try to do c99 instead of cc.

_________________
It is always opening time in the Sailors Arms. [Dylan Thomas, Under Milk Wood]


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Mon Feb 27, 2012 11:04 am 
Offline
User avatar

Joined: Sat Jan 15, 2011 3:24 pm
Posts: 15
Thank you hamei and Oskar45 for you effort!

Hope at last we get a Pixie binary to render with.

Regards,
sgienthu

_________________
:Indy: :Indy: :Indigo2IMP: :Indigo2IMP: :O2: :O2: :Octane: :Octane2: :Fuel: :Fuel: :O3x0: :1600SW: :1600SW:


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Mon Feb 27, 2012 1:25 pm 
Online
User avatar

Joined: Wed Mar 26, 2008 12:04 pm
Posts: 315
Location: Paris
hamei wrote:
Anyway, now we get

Code:
 
cc-3700 CC: WARNING File = ../ri/atomic.h, Line = 144
  #warning directive: Atomic Instructions are not supported on this platform,
          defaulting to generic implementation

  #warning Atomic Instructions are not supported on this platform, defaulting to generic implementation
   ^

cc-3168 CC: ERROR File = ../ri/atomic.h, Line = 149
  A name followed by "::" must be a class or namespace name.

        osLock(CRenderer::atomicMutex);
               ^


If you have any ideas I'll be happy to plug them in. Even if this isn't something I want, seems like someone might be happy to have it.


This is where "porting" comes into play (read : rather than #ifdefing and #including ;)). I didn't have a look at the sources, but I guess atomic.h contains some OS specific code (osLock, osUnlock, ...) that have to be implemented for Irix. If you're lucky, maybe you can reuse another OS implementation. If you're not, you may have to write some Irix specific code, and/or use compiler intrinsics for atomic operations.

Edit : attached a patch to make pixie 2.2.6 build, but I don't have any knowledge about it to test the result...


Attachments:
neko_pixie-2.2.6.patch [12.45 KiB]
Downloaded 34 times

_________________
:Onyx2: :O2: :O3x0: :O3x0:
Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Mon Feb 27, 2012 5:27 pm 
Offline
User avatar

Joined: Mon Jul 21, 2003 6:19 am
Posts: 754
You patch is way better than mine, but how do you configure/compile the whole thing without CC complaining
Code:
cc-1035 CC: ERROR File = /usr/include/stdint.h, Line = 5
  #error directive:  This header file is to be used only for c99 mode
          compilations

  #error This header file is to be used only for c99 mode compilations
   ^

My inelegant but working neko_pixie tardist is in incoming, just help yourself to the dist files etc. if you want to make a better .tardist.


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Tue Feb 28, 2012 12:03 am 
Offline

Joined: Tue Feb 24, 2004 5:10 pm
Posts: 9668
bplaa.yai wrote:
This is where "porting" comes into play (read : rather than #ifdefing and #including ;))

I'd be happy if I could do #including and #ifdeffing :P Youse guys are okay .... grazie, grazie from all of us non-programmers.


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Tue Feb 28, 2012 5:09 pm 
Offline
User avatar

Joined: Mon Jul 21, 2003 6:19 am
Posts: 754
I've rebuilt with bplaa.yai's patch in the meantime. A new neko_pixie-2.2.6.tardist is in /incoming. To test, grab an example .rib file from http://www.renderpixie.com/pixiewiki/Ex ... B_Examples and drop it on rndr in the Applications page of Icon Catalog. You may have to set PIXIEHOME=/usr/nekoware/lib/Pixie (or whatever may be the correct value...) in your environment.


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Wed Feb 29, 2012 12:19 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 3:24 pm
Posts: 15
Great!

I'm going to try it!

_________________
:Indy: :Indy: :Indigo2IMP: :Indigo2IMP: :O2: :O2: :Octane: :Octane2: :Fuel: :Fuel: :O3x0: :1600SW: :1600SW:


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Wed Feb 29, 2012 4:31 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 3:24 pm
Posts: 15
Ops!

I try to render a basic ".rib" file but I'm getting next error:

Code:
"/usr/nekoware/lib/Pixie/displays/file.so" has missing implementation


What's going on with file.so?

_________________
:Indy: :Indy: :Indigo2IMP: :Indigo2IMP: :O2: :O2: :Octane: :Octane2: :Fuel: :Fuel: :O3x0: :1600SW: :1600SW:


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Wed Feb 29, 2012 6:34 pm 
Offline

Joined: Tue Feb 24, 2004 5:10 pm
Posts: 9668
sgienthu wrote:
Ops!

I try to render a basic ".rib" file but I'm getting next error:

Code:
"/usr/nekoware/lib/Pixie/displays/file.so" has missing implementation


What's going on with file.so?

I didn't install the tardist - I'm not a Maya guy - but from a simple command using some of the examples canavan pointed to, the program drew a rendered scene in a window on the desktop. You might try running < rndr foofoo.rib > from a command line to see what's happening ...


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Thu Mar 01, 2012 2:25 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 3:24 pm
Posts: 15
Here my results:

File 1: Media:pmap_render_pass0.rib

Image http://flic.kr/p/bzFvYk

File 2: Media:pmap_render_pass1.rib

Imagehttp://flic.kr/p/bzFw4D

File 3: Media:pmap_render_pass2.rib

Imagehttp://flic.kr/p/bmLDqU

Sorry no good news... :(

_________________
:Indy: :Indy: :Indigo2IMP: :Indigo2IMP: :O2: :O2: :Octane: :Octane2: :Fuel: :Fuel: :O3x0: :1600SW: :1600SW:


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Thu Mar 01, 2012 5:14 pm 
Offline
User avatar

Joined: Mon Jul 21, 2003 6:19 am
Posts: 754
First of all, use "snapshot" to take screenshots. Since you're apparently getting the "Atomic operations are not supported on this system, consider leaving a note in Sourceforge about your platform" message, you need to upgrade. re-download neko_pixie from beta and install that.


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Thu Mar 01, 2012 6:54 pm 
Offline

Joined: Tue Feb 24, 2004 5:10 pm
Posts: 9668
sgienthu wrote:
Here my results:

Imagehttp://flic.kr/p/bmLDqU

Sorry no good news... :(

Here's a trick you will like : when you get a winterm like that, put your mouse cursor at the end of what you want. Depress the left mouse button and swipe to the left up to the beginning of what you want. This will highlight all the test you "selected". (Works the other way also but I am right-handed.) Release the left mouse button (aka lmb). Now drive the mouse cursor over the desktop or an open directory display-window (or even a closed one's icon). Press the middle mouse button and it will drop a text file onto your desktop. It will be named "Pasted Text" and you can then rename it.

Now you can paste that into any application you want, such as the message window on your web browser.

Beware : after you get used to this you will become addicted to it. Windows does not have this feature.


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Fri Mar 02, 2012 2:05 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 3:24 pm
Posts: 15
@canavan
Sorry my SGI doesn't have Inet/LAN connection because router issues... I'm working on this too. This is the reason I sent you pictures... :oops:

Ok, I updated the Pixie version with neko_pixie-2.2.6.tardist file version 02/28/2012 03:52 from nekoware.

The Atomic operations message has disappeared, but file.so implementation message error persist... :(

Here my environment variables and results:

http://flic.kr/p/bzUezB

Can be a X11 compatiblility problem?

@hamei
Thank you for you trick it is very useful and adictive... :lol:

_________________
:Indy: :Indy: :Indigo2IMP: :Indigo2IMP: :O2: :O2: :Octane: :Octane2: :Fuel: :Fuel: :O3x0: :1600SW: :1600SW:


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Wed Mar 07, 2012 4:17 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 3:24 pm
Posts: 15
At last I found it!

It was a problem with library libpng.so.3 version. I have just updated it and now Pixie runs.

Thanks to everybody for your help!

_________________
:Indy: :Indy: :Indigo2IMP: :Indigo2IMP: :O2: :O2: :Octane: :Octane2: :Fuel: :Fuel: :O3x0: :1600SW: :1600SW:


Top
 Profile  
 
 Post subject: Re: Pixie for IRIX
Unread postPosted: Wed Mar 07, 2012 6:12 pm 
Offline

Joined: Tue Feb 24, 2004 5:10 pm
Posts: 9668
sgienthu wrote:
At last I found it!

It was a problem with library libpng.so.3 version. I have just updated it and now Pixie runs.

Did you update from /current or is that a new libpng from /beta ? If you'd give the neko_libpng-1.2.47.tardist in /beta a try and make a post about it in Development, that would be a help to the Nekoware Updating Program.

Thanks for reporting back, anyhow :) There are a few users here who could take a lesson from your good manners. And I mean the word "users" literally :(


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: bplaa.yai and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group