OGRE port to NaCl (Google's Native Client)

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: OGRE port to NaCl (Google's Native Client)

Post by Assaf Raman »

Updated 1.9 to compile with latest NaCl SDK version (pepper_26).
Watch out for my OGRE related tweets here.
chandlerchen
Gnoblar
Posts: 4
Joined: Mon Jun 24, 2013 3:58 am

Re: OGRE port to NaCl (Google's Native Client)

Post by chandlerchen »

Hello! I have a problem.
I am using Ogre 1.8.1 source code and NaCL SDK pepper_27. Follow your steps, now I can generate the SampleBrowser_x86_32.nexe and SampleBrowser_x86_64.nexe. And I generate the nmf file by NaCL SDK's create_nmf.py and objdump.
But when I run it in the ogre_nacl_sample_browser, error happens: "NaCl module load failed: The data segment is not properly aligned."
Do you know something about this error? How can I fix it?
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: OGRE port to NaCl (Google's Native Client)

Post by Assaf Raman »

I think that the nmf is the problem, hard to tell.
Watch out for my OGRE related tweets here.
chandlerchen
Gnoblar
Posts: 4
Joined: Mon Jun 24, 2013 3:58 am

Re: OGRE port to NaCl (Google's Native Client)

Post by chandlerchen »

I generate the nmf file by NaCL SDK's create_nmf.py and objdump. When I use your nmf file from the sample, error happens: "NaCl module load failed: ELF executable text/rodata segment has wrong starting address", so I generate it with create_nmf.py and objdump.
Anything useful should I have a try?
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: OGRE port to NaCl (Google's Native Client)

Post by Assaf Raman »

Probebly you can use my file - just replace 11652996 with the id you got using objdump.
Watch out for my OGRE related tweets here.
chandlerchen
Gnoblar
Posts: 4
Joined: Mon Jun 24, 2013 3:58 am

Re: OGRE port to NaCl (Google's Native Client)

Post by chandlerchen »

Assaf Raman wrote:
Probebly you can use my file - just replace 11652996 with the id you got using objdump.
It still not works.....
Is it possible something wrong with my generated nexe file?
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: OGRE port to NaCl (Google's Native Client)

Post by Assaf Raman »

No clue.
Watch out for my OGRE related tweets here.
chandlerchen
Gnoblar
Posts: 4
Joined: Mon Jun 24, 2013 3:58 am

Re: OGRE port to NaCl (Google's Native Client)

Post by chandlerchen »

Assaf Raman wrote:No clue.
I resolved the problem. It seems like my chrome version is too low to use NaCL SDK pepper_26.
Post Reply