VOGONS


First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

Does the /MT flag also statically link the SDL.dll and SDL_gfx.dll? I need to keep those two seperate, but eliminate the need for the Visual C++ 2015 redistributable by statically linking it.

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 1 of 15, by Harekiet

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I think the sdl dlls statically link the runtime at least so only link your own app statically as well and you shouldn't need the runtimes anymore. Still will need to copy the sdl dlls along with it

Reply 2 of 15, by superfury

User metadata
Rank l33t++
Rank
l33t++

So effectively the emulator and the dlls are statically linked with the redistributable, but the app itself is dynamically linked with the dlls (sdl&sdl_gfx)? (sdl, sdl_gfx and x86emu all compiled with /MT flag)

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 4 of 15, by superfury

User metadata
Rank l33t++
Rank
l33t++

Do you know what might cause the current audio error? It's working fine on Windows 10, but since statically recompiling x86EMU and the library's(SDL&SDL_gfx) it gives an sound output not found on a Windows XP machine? Does this have anything to do with the static recompilation of SDL and SDL_gfx? (Running XP in Virtualbox w/ AC97 sound emulation to test)

My current build for SDL&SDL_gfx:
https://bitbucket.org/superfury/tools/src/4d6 … s.zip?at=master

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 5 of 15, by superfury

User metadata
Rank l33t++
Rank
l33t++

I found out that windows 95&XP won't run my app. Is there a way to build my app runable on any windows version (95+) while still using the static linking with Visual studio 2015 comminity?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 6 of 15, by superfury

User metadata
Rank l33t++
Rank
l33t++

I do notice that Dosbox should run on Windows 95 with SDL. How is this archieved with Visual Studio Community 2015?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 7 of 15, by calvin

User metadata
Rank Member
Rank
Member

2015 only added back XP support, and barely. (2012/3 compiled only work in Vista+, I believe.) You'll need an older VC++ or a different compiler.

2xP2 450, 512 MB SDR, GeForce DDR, Asus P2B-D, Windows 2000
P3 866, 512 MB RDRAM, Radeon X1650, Dell Dimension XPS B866, Windows 7
M2 @ 250 MHz, 64 MB SDE, SiS5598, Compaq Presario 2286, Windows 98

Reply 8 of 15, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

http://sourceforge.net/p/vclx/wiki/HOME/
http://www.legacyextender.com/

Qbix uses GCC to compile which is why official DOSBox and his SVN builds still work with 9x and NT4. Pretty much every other unofficial ver of DOSBox uses Visual Studio 2008+ which removed compatibility with those operating systems.

Also SDL 2.x removed compatibility with operating systems older than XP which is one of the reasons why ScummVM and DOSBox both use SDL 1.2 still.

It's really not worth the bother, although there are edge cases there really aren't masses of people willing to run PC emulators on these older operating systems.

How To Ask Questions The Smart Way
Make your games work offline

Reply 9 of 15, by superfury

User metadata
Rank l33t++
Rank
l33t++

Is there a way to easily add support for gcc x86 to the PSP makefile?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 10 of 15, by calvin

User metadata
Rank Member
Rank
Member

OK, are you even googling and coming to your own conclusions on how to do things, or do you expect to be spoonfed here without any thinking?

2xP2 450, 512 MB SDR, GeForce DDR, Asus P2B-D, Windows 2000
P3 866, 512 MB RDRAM, Radeon X1650, Dell Dimension XPS B866, Windows 7
M2 @ 250 MHz, 64 MB SDE, SiS5598, Compaq Presario 2286, Windows 98

Reply 11 of 15, by superfury

User metadata
Rank l33t++
Rank
l33t++

I'm trying to get the windows makefile working, but it keeps telling me:
Makefile.win:32: *** Missing seperator. Stop.

Main makefile: https://bitbucket.org/superfury/x86emu/src/f9 … efile?at=master

Windows makefile:
https://bitbucket.org/superfury/x86emu/src/f9 … e.win?at=master

Anyone knows what's going wrong in the Makefile.win?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 13 of 15, by superfury

User metadata
Rank l33t++
Rank
l33t++

So it needs indention to work?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 14 of 15, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

1. Did you try it?
2. Do you know the basics of Make syntax? Recipes, etc.
3. Did you even try searching for that error message on Google? The very first Google result (despite the typo) explains what you're doing wrong and how to fix it.

edit: If I'm somehow missing the point here or an completely off track, I apologize.

Reply 15 of 15, by superfury

User metadata
Rank l33t++
Rank
l33t++

Fixed the tabbing. It's working now.

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io