Search found 28 matches
- Wed 01 Nov, 2017 3:18 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
Edit : I've logged as root, configure script and make have run fine. Is there anything I can do with a normal user account on CentOS 6.x? On a debian-based Linux system installed in a virtual machine, there are no problems with normal user accounts. I guess that something is wrong in your system. C...
- Wed 01 Nov, 2017 1:52 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
Check the output of:
Per example, here (on Arch Linux) gives:
One file called sdl2.pc must exist into one of those directories.
Code: Select all
$ pkg-config --variable pc_path pkg-config
Code: Select all
/usr/lib/pkgconfig:/usr/share/pkgconfig
- Tue 31 Oct, 2017 3:26 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
It seems that you have installed SDL2 into /usr/local . Uninstall it and then re-install it with: $ ./configure --prefix=/usr Rationale: Configure script installs packages into /usr/local/ by default (i.e. if prefix is not set). As pkg-config * will search for .pc files in the directories /usr/lib/p...
- Sun 29 Oct, 2017 9:49 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
It looks like you have not installed the SDL2 libraries. Rationale: There is a bug into sdl2.m4 file since version 2.0.5. It causes that the configure script does not exit when it does not find the SDL2 libraries. The configure script fails when checking OpenAL because it tries to compile a test lin...
- Thu 19 Oct, 2017 11:43 am
- Forum: General
- Topic: PCEM compilation on Ubuntu 17.10
- Replies: 15
- Views: 11975
Re: PCEM compilation on Ubuntu 17.10
Add into src/slirp/slirp.h file:
Code: Select all
#include <stdint.h>
- Thu 19 Oct, 2017 9:17 am
- Forum: General
- Topic: PCEM compilation on Ubuntu 17.10
- Replies: 15
- Views: 11975
Re: PCEM compilation on Ubuntu 17.10
@legluondunet
I don't use Ubuntu, but you can try: to choose the correct wx-config (gtk2-unicode-release-3.0).
I don't use Ubuntu, but you can try:
Code: Select all
$ sudo update-alternatives --config wx-config
- Thu 19 Oct, 2017 9:07 am
- Forum: General
- Topic: PCEM compilation on Ubuntu 17.10
- Replies: 15
- Views: 11975
- Mon 05 Jun, 2017 10:07 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
@bit, I tested it and it's working like a charm. Now PCem (at least the wx port) can be packaged by distros . Thanks!
- Sat 03 Jun, 2017 4:09 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
For my part, no. That's exactly what I had in mind.
Thanks for working on this.
Thanks for working on this.
- Thu 01 Jun, 2017 4:07 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
I'd be amazed if anyone ever wanted to put PCem in a distro. I'd have assumed that the legal issues associated with the required BIOS images would make it a complete non-starter. Why? Emulators like MAME, Mednafen etc. also require copyrighted bios images and those emulators are packaged on most di...
- Wed 24 May, 2017 3:06 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
@AmatCoder Thank you very much,i m learning thanks to You guys, and i m grateful for it, now it goes nearly to the end but , again i got errors: wx-sdl2-display.o: In function `render': wx-sdl2-display.c:(.text+0xe17): undefined reference to `SDL_WarpMouseGlobal' wx-sdl2-display.c:(.text+0xefc): un...
- Wed 24 May, 2017 1:39 am
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
@szadycbr You can edit makefile and add option -std=gnu99 to CFLAGS. Example: If you want 64-bit version then edit Makefile.linux64-wx-sdl2 file and change line 5 from CFLAGS = -Doff64_t=__off64_t -O3 -fomit-frame-pointer -msse2 -m32 $(shell wx-config --cxxflags) $(shell sdl2-config --cflags) to CFL...
- Mon 01 May, 2017 4:16 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
Gonna explain this. :) The tl;dr is that theoretically, there's nothing stopping you; it just doesn't work that well, is platform specific, and doesn't integrate with your game engine very well. Theoretically, you *can display Win32 controls on top of a DirectX window. Practically, though, it's too...
- Mon 01 May, 2017 3:25 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
My main problem with using this GUI on Windows would be fact it uses SDL for input which on Windows refers back to DirectInput from what I know, which according to Microsoft themselves should not be used for keyboard because it breaks when the host OS is set to a keyboard layout that is not English...
- Mon 01 May, 2017 3:23 am
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
[...]I must mention the resulting binary is huge (10mb) and the dlls it depends on are also huge, but that's probably to expected of the typical huge 'nix UI toolkits[...] When I cross-compiled this for Windows I was able to build an static executable (without dependencies) of only 3.3mb (UPX'ed, o...
- Thu 13 Apr, 2017 10:48 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
I tested this and my thoughts are: Impressive work! :o This is more than I had in mind...Aside from some minor issues the job is done! SDL2 is really great. Now we can resize/fullscreen on Linux...And I believe that now it is faster than Windows port (most probably thanks to OpenGL renderer). It com...
- Wed 12 Apr, 2017 12:23 am
- Forum: General
- Topic: [Request] Ubuntu ppa / linux binaries
- Replies: 12
- Views: 12453
Re: [Request] Ubuntu ppa / linux binaries
PCem is not ready for packaging because it searches for bios and other files in its own path (Windows way).
I.e. if packaged, PCem executable would be in /usr/bin and this directory is not writable by other than root.
I.e. if packaged, PCem executable would be in /usr/bin and this directory is not writable by other than root.
- Mon 10 Apr, 2017 7:15 pm
- Forum: Development
- Topic: Patches for linux
- Replies: 12
- Views: 10452
Re: Patches for linux
This one fixes a segmentation fault produced when user select a machine with internal ide hdd into allegro gui.
Rationale: internal_name is a pointer and is uninitialized when copying with strcpy. I think it is better to use a literal.
Rationale: internal_name is a pointer and is uninitialized when copying with strcpy. I think it is better to use a literal.
- Mon 10 Apr, 2017 6:55 pm
- Forum: Development
- Topic: Patches for linux
- Replies: 12
- Views: 10452
Re: Patches for linux
This patch add static specifier to inline functions in 808x.c file.
It fixes undefined references if compiled with --enable-debug option.
It fixes undefined references if compiled with --enable-debug option.
- Mon 10 Apr, 2017 6:31 pm
- Forum: Development
- Topic: Patches for linux
- Replies: 12
- Views: 10452
Patches for linux
I will use this thread to upload patches (mainly for linux).
This first one updates makefiles to avoid undefined references.
This first one updates makefiles to avoid undefined references.
- Sun 09 Apr, 2017 9:15 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
Well, I have exchanged some PM's with Tuxality and we have decided that I should start this project (Tuxality will join when he find some free time). But there are some technical decisions/options that need to be discussed and it is better to do it here. So I'll write here some guidelines I would li...
- Tue 04 Apr, 2017 3:06 pm
- Forum: General
- Topic: CRT Controller Emulation
- Replies: 10
- Views: 9472
Re: CRT Controller Emulation
[...] Btw. the linux build doesn't recognize et4000.bin while windows build does :? [...] Looking at the code, i think that you need to renamed it because on Linux filenames are case sensitive (and PCem is searching for et4000.BIN file). On Windows it works because the case is ignored if file is op...
- Mon 06 Mar, 2017 10:56 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
Alright, there is no rush, we can wait until April.
When the moment comes, let me know if you need help with this project.
Thanks and regards.
When the moment comes, let me know if you need help with this project.
Thanks and regards.
- Mon 06 Mar, 2017 12:15 am
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
Ok, I will send a PM to him.SarahWalker wrote:Tuxality was looking at implementing a GTK+ GUI - viewtopic.php?f=2&t=573#p3941. Might be worth syncing up with him?
Great!SarahWalker wrote:I'd certainly be interested in including a proper Linux GUI in mainline.
- Mon 06 Mar, 2017 12:12 am
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
Re: [Linux] GUI discussion
I have a soft spot for FLTK only because (on Windows) it doesn't need a hundred of prerequisite dlls installed, doesn't bloat up the binary hugely when statically compiled and it can resemble pretty close to native Windows gui. On the development and linux side i'm not so sure nor am i sure of its ...
- Sat 04 Mar, 2017 11:13 pm
- Forum: Development
- Topic: [Linux] GUI discussion
- Replies: 218
- Views: 178005
[Linux] GUI discussion
Hi again.
I am interested in building a new GUI for linux (I prefer one GTK based but I am open to suggestions).
Would you be interested in integrating this into mainline? Or maybe would it be better to create my own fork?
Is anyone already working on something like this?
I am interested in building a new GUI for linux (I prefer one GTK based but I am open to suggestions).
Would you be interested in integrating this into mainline? Or maybe would it be better to create my own fork?
Is anyone already working on something like this?
- Thu 02 Mar, 2017 9:50 pm
- Forum: Development
- Topic: Linux autotools patch
- Replies: 3
- Views: 3591
Re: Linux autotools patch
Here another patch to fix segfault when there are no roms presents.
- Thu 02 Mar, 2017 9:45 pm
- Forum: Development
- Topic: Linux autotools patch
- Replies: 3
- Views: 3591
Linux autotools patch
Hi to all! I wrote one patch to fix building with autotools on Linux. It is in a weird state right now and most probably it would require more improvements. These are the minimum changes to bring it to a state where it can be used to compile PCem. Changes are: allegro.m4 file is added and configure....