[solved] 4.6.0 keeps using an old SDL build on my computer

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE? Did your computer break? Ask here.

Moderator: GZDoom Developers

Re: 4.6.0 doesn't work on my computer

Postby Matt » Sun May 23, 2021 1:59 am

Any idea how I could locate it? I don't even know what filenames to look for...
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: 4.6.0 doesn't work on my computer

Postby _mental_ » Sun May 23, 2021 3:38 am

The cause is in the provided linker output. Removal of /usr/local/lib/libSDL2.so should fix those errors.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: 4.6.0 doesn't work on my computer

Postby Blzut3 » Sun May 23, 2021 8:33 am

Indeed you probably want to remove your presumably self compiled version of SDL2 in /usr/local. Files to look for and remove would be:
Code: Select allExpand view
/usr/local/lib/libSDL2*
/usr/local/lib/cmake/SDL2
/usr/local/include/SDL2


Then remove your GZDoom build directory and run CMake fresh.
Blzut3
Pronounced: B-l-zut
 
 
 
Joined: 24 Nov 2004
Github ID: Blzut3
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: 4.6.0 doesn't work on my computer

Postby Matt » Sun May 23, 2021 10:36 am

_mental_ wrote:The cause is in the provided linker output. Removal of /usr/local/lib/libSDL2.so should fix those errors.

Blzut3 wrote:Indeed you probably want to remove your presumably self compiled version of SDL2 in /usr/local. Files to look for and remove would be:
Code: Select allExpand view
/usr/local/lib/libSDL2*
/usr/local/lib/cmake/SDL2
/usr/local/include/SDL2
Awesome, got it to compile and run, thanks!!!
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Previous

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 1 guest