OGRE port to NaCl (Google's Native Client)
- Assaf Raman
- 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)
Updated 1.9 to compile with latest NaCl SDK version (pepper_26).
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 4
- Joined: Mon Jun 24, 2013 3:58 am
Re: OGRE port to NaCl (Google's Native Client)
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?
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?
- Assaf Raman
- 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)
I think that the nmf is the problem, hard to tell.
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 4
- Joined: Mon Jun 24, 2013 3:58 am
Re: OGRE port to NaCl (Google's Native Client)
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?
Anything useful should I have a try?
- Assaf Raman
- 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)
Probebly you can use my file - just replace 11652996 with the id you got using objdump.
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 4
- Joined: Mon Jun 24, 2013 3:58 am
Re: OGRE port to NaCl (Google's Native Client)
It still not works.....Assaf Raman wrote:Probebly you can use my file - just replace 11652996 with the id you got using objdump.
Is it possible something wrong with my generated nexe file?
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
-
- Gnoblar
- Posts: 4
- Joined: Mon Jun 24, 2013 3:58 am
Re: OGRE port to NaCl (Google's Native Client)
I resolved the problem. It seems like my chrome version is too low to use NaCL SDK pepper_26.Assaf Raman wrote:No clue.