flat assembler
Message board for the users of flat assembler.

Index > Linux > tryed to port "you massive clod" demo

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
FlierMate1



Joined: 31 May 2022
Posts: 118
FlierMate1
revolution wrote:
What is your SDL called?
Code:
ls /usr/lib/x86_64-linux-gnu/libSDL*    


It is /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0


Description:
Filesize: 60.81 KB
Viewed: 528 Time(s)

sdl2.png


Post 27 Jun 2022, 06:46
View user's profile Send private message Reply with quote
Furs



Joined: 04 Mar 2016
Posts: 1887
Furs
btw if you want to search for something you should use find:
Code:
find /usr/lib -name 'libSDL*'    
(quotes are required, * is part of the argument to find, not shell expansion).

Can also restrict it a lot more, e.g. common one is -type f (so it only shows files).
Post 27 Jun 2022, 13:20
View user's profile Send private message Reply with quote
FlierMate1



Joined: 31 May 2022
Posts: 118
FlierMate1
Furs wrote:
... if you want to search for something you should use find:
Code:
find /usr/lib -name 'libSDL*'    


Yes, I think this is the proper way. There is similar command "locate" but need to install separately.


Description:
Filesize: 56.34 KB
Viewed: 501 Time(s)

find1.png


Post 27 Jun 2022, 14:42
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 18846
Location: In your JS exploiting you and your system
revolution
If you only have SDL2 then the code won't work. It is not backward compatible.

Someone on SO might have a possible solution:
https://stackoverflow.com/questions/28400401/sdl-setvideomode-identifier-not-found


Last edited by revolution on 27 Jun 2022, 14:54; edited 1 time in total
Post 27 Jun 2022, 14:46
View user's profile Send private message Visit poster's website Reply with quote
FlierMate1



Joined: 31 May 2022
Posts: 118
FlierMate1
Sorry for many large screenshots, Debian 11 is on VirtualBox, no copy-paste between host and guest, the fastest way is to capture screenshot.
Post 27 Jun 2022, 14:47
View user's profile Send private message Reply with quote
FlierMate1



Joined: 31 May 2022
Posts: 118
FlierMate1
revolution wrote:
If you only have SDL2 then the code won't work. It is not backward compatible.


I am more interested if anyone can fix his minimal GUI example (Xlib 11) so that at least it can displays "Hello, world" text string.
Post 27 Jun 2022, 14:54
View user's profile Send private message Reply with quote
FlierMate1



Joined: 31 May 2022
Posts: 118
FlierMate1
Finally, I can see the demo screen!! On 64-bit Linux.


Description: And libSDL1.2 is back!
Filesize: 112.73 KB
Viewed: 486 Time(s)

install2.png


Description: install libsdl-dev
Filesize: 13.37 KB
Viewed: 486 Time(s)

install1.png


Description: Beautiful!
Filesize: 662.68 KB
Viewed: 486 Time(s)

work.png


Post 27 Jun 2022, 15:19
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.