RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
10.03k stars 1.38k forks source link

Issues building Mupen64plus through Retropie on Rpi4 during creation of "glsl_SpecialShadersFactory.cpp.o" #2909

Closed kylepd49 closed 4 years ago

kylepd49 commented 4 years ago

Hello, I used the fkms branch to install Retropie onto my Rpi4 I'm currently having issues finishing the build for Mupen64plus. It halts at 70% and presents the following information stating there is an issue during building:

/home/pi/RetroPie-Setup/tmp/build/mupen64plus/GLideN64/src/Graphics/OpenGLContext/GLSL/glsl_SpecialShadersFactory.cpp: In member function ‘virtual void glsl::TexrectCopyShader::activate()’: /home/pi/RetroPie-Setup/tmp/build/mupen64plus/GLideN64/src/Graphics/OpenGLContext/GLSL/glsl_SpecialShadersFactory.cpp:798:4: error: ‘glGetTexLevelParameteriv’ was not declared in this scope glGetTexLevelParameteriv(0, 0, GL_TEXTURE_WIDTH, &texWidth); ^~~~~~~~ /home/pi/RetroPie-Setup/tmp/build/mupen64plus/GLideN64/src/Graphics/OpenGLContext/GLSL/glsl_SpecialShadersFactory.cpp:798:4: note: suggested alternative: ‘glTextureParameteri’ glGetTexLevelParameteriv(0, 0, GL_TEXTURE_WIDTH, &texWidth); ^~~~~~~~ glTextureParameteri /home/pi/RetroPie-Setup/tmp/build/mupen64plus/GLideN64/src/Graphics/OpenGLContext/GLSL/glsl_SpecialShadersFactory.cpp: In member function ‘virtual void glsl::TexrectColorAndDepthCopyShader::activate()’: /home/pi/RetroPie-Setup/tmp/build/mupen64plus/GLideN64/src/Graphics/OpenGLContext/GLSL/glsl_SpecialShadersFactory.cpp:836:4: error: ‘glGetTexLevelParameteriv’ was not declared in this scope glGetTexLevelParameteriv(0, 0, GL_TEXTURE_WIDTH, &texWidth); ^~~~~~~~ /home/pi/RetroPie-Setup/tmp/build/mupen64plus/GLideN64/src/Graphics/OpenGLContext/GLSL/glsl_SpecialShadersFactory.cpp:836:4: note: suggested alternative: ‘glTextureParameteri’ glGetTexLevelParameteriv(0, 0, GL_TEXTURE_WIDTH, &texWidth); ^~~~~~~~ glTextureParameteri make[2]: [CMakeFiles/mupen64plus-video-GLideN64.dir/build.make:947: CMakeFiles/mupen64plus-video-GLideN64.dir/Graphics/OpenGLContext/GLSL/glsl_SpecialShadersFactory.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:74: CMakeFiles/mupen64plus-video-GLideN64.dir/all] Error 2 make: [Makefile:84: all] Error 2 /home/pi/RetroPie-Setup/tmp/build/mupen64plus /home/pi/RetroPie-Setup Removing additional swap /home/pi/RetroPie-Setup Could not successfully build mupen64plus - N64 emulator MUPEN64Plus (GLideN64/projects/cmake/plugin/Release/mupen64plus-video-GLideN64.so not found).

For the entire log I've attached the log file to this entry. Error log

Any help is greatly appreciated as I'm somewhat stumped as to how to rectify this issue for a successful build of Mupen64plus through the Retropie setup script.

cmitu commented 4 years ago

The problem might be in the upstream project - they added some changes recently. Can you re-try the installation and see if you get the same error ?

unverbraucht commented 4 years ago

I also had the setup abort on me yesterday, telling me that the mupen glide .so couldn't be found. I didn't see anything interesting in the log but I'd be happy to dig it out and upload it if it helps.

Get Outlook for Android

On Fri, Nov 29, 2019 at 12:43 PM +0100, "Cristi Mitrana" notifications@github.com wrote:

The problem might be in the upstream project - they added some changes recently. Can you re-try the installation and see if you get the same error ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

cmitu commented 4 years ago

I just built mupe64plus and the error reported originally is gone. There's an additional error introduced by a recent commit, but it's really an upstream issue (see the https://travis-ci.org/gonetz/GLideN64/jobs/618767859 build log) which I'm sure it will be fixed.

cmitu commented 4 years ago

... and it's fixed in https://github.com/gonetz/GLideN64/commit/80f1d9d0215a771fb8f40917147271c5ad7eface, so now there shouldn't be a problem anymore.

kylepd49 commented 4 years ago

Thanks for the quick response! Good to know, I’ll check that out. Thank you for explaining the reasoning behind closing the thread. Happy holidays to both of you.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Jools Wills notifications@github.com Sent: Saturday, November 30, 2019 3:27:44 PM To: RetroPie/RetroPie-Setup RetroPie-Setup@noreply.github.com Cc: kylepd49 kyledoane@outlook.com; Manual manual@noreply.github.com Subject: Re: [RetroPie/RetroPie-Setup] Issues building Mupen64plus through Retropie on Rpi4 during creation of "glsl_SpecialShadersFactory.cpp.o" (#2909)

I closed it because it's an upstream problem that would be fixed - it's not a retropie bug. But we are not supporting the dev branch yet either.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/RetroPie/RetroPie-Setup/issues/2909?email_source=notifications&email_token=AMPI6Y4MADAXAKKBZX7DGADQWLEEBA5CNFSM4JSWHJP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFQTIEI#issuecomment-560018449, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMPI6Y54DEW4HZELC6CDRWLQWLEEBANCNFSM4JSWHJPQ.