|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#64 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: Germany
Posts: 368
|
Ah, that should be the problem. I just launched Dependency Walker again, and I made the mistake to just include MSVCR90.DLL. I should have looked deeper into the dependency tree and I would have found out, that the Qt DLLs themselves need the CPP-Runtimes as well. (Lol, I was even wondering why I didn't need the CPP-runtimes xD).
I will upload the full corrected package ASAP. Edit: OK, the corrected archive is up: http://vba-m.ngemu.com/vbam/vbaother...vba_qt_dlls.7z There's also a msvcm90.dll in my redist folder, but it's really not needed, so I didn't include it. Edit2: Current build: http://vba-m.ngemu.com/vbam/vbaother.../vba_qt_385.7z Now saves settings to INI file (currently toolbar/sidebar placement and translation).
__________________
Windows XP Home SP3 Intel C2D E8200 4GB DDR2-800 GeForce 8800 GT ASUS Xonar DX KNC ONE TV-Station DVB-S Technisat SkyStar HD (DVB-S2) 2x Samsung HD501LJ (RAID-0) Last edited by Spacy; February 22nd, 2008 at 18:48. |
|
|
|
|
|
#65 (permalink) |
|
Registered User
Join Date: Jan 2002
Location: Poland
Posts: 48
|
Of the boring things:
1. all of the qt-related source files in svn lack correct eol style (namely native) 2. why does this use precompiled headers ? in my experience they were almost always a speed loss instead of gain during build ? |
|
|
|
|
|
#66 (permalink) |
|
MMP-2 Dude
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2003
Location: UK
Posts: 1,633
|
Installing the MSVC2008 runtimes (vcredist_x86.exe) works fine.
However, the latest vba_qt_dlls package [Post #64] does not without MSVC2008 runtimes installed. There must be some other dependency. I tried copying the various DLLs from the redist from the WinSxS folder, with no luck. |
|
|
|
|
|
#68 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: Germany
Posts: 368
|
We love Linux - and Mac of course. We just don't use it (mudlord&me).If you want to try this out, use svn to get the code and compile it using the short how-to on https://vbam.bountysource.com/wiki If you're on Linux you should be used to that for special/new software that's not in the repos. @Clements: I tried it out for myself and you're right. If the two runtimes sit in the WinSxS folder, everything's fine. But if I rename one of them so WIndows won't find it and copy it with the correct name to the VBA.exe folder, it doesn't find it. Welcome to Windows DLL hell I'll try to figure something out, because I want VBA to be portable. Edit: OK, I read up on that issue and I came to the conclusion, that the embedded manifest file in the exe (done by the dynamic configuration of Qt) tells Windows to look only in the WinSxS folder instead of the local folder. Writing application configuration manifest files (xml) is pain in the ass. Solution: Compile with mingw or compile static. I think I'll create release builds with mingw from now on and only use MSVC for myself.
__________________
Windows XP Home SP3 Intel C2D E8200 4GB DDR2-800 GeForce 8800 GT ASUS Xonar DX KNC ONE TV-Station DVB-S Technisat SkyStar HD (DVB-S2) 2x Samsung HD501LJ (RAID-0) Last edited by Spacy; February 23rd, 2008 at 12:06. |
|
|
|
|
|
#70 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: Germany
Posts: 368
|
I updated to Qt 4.3.4 and compiled with MinGW.
The DLL package has been updated and contains the new Qt DLLs (official build 4.3.4) and the official mingw runtime DLL (15 KB )The other link contains the vba-qt-build using mingw. This time it should really work ^^" http://vba-m.ngemu.com/vbam/vbaother...vba_qt_dlls.7z http://vba-m.ngemu.com/vbam/vbaother...a_qt_svn385.7z
__________________
Windows XP Home SP3 Intel C2D E8200 4GB DDR2-800 GeForce 8800 GT ASUS Xonar DX KNC ONE TV-Station DVB-S Technisat SkyStar HD (DVB-S2) 2x Samsung HD501LJ (RAID-0) |
|
|
|
|
|
#72 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: Germany
Posts: 368
|
Nice.
I set my build system up, so that I have the original mingw-compatible .a Qt-libs for release and msvc-compatible .lib libs for debug. I wouldn't have thought this would actually work without conflicts. I wrote a small cmd-line script to compile the release builds with a double-click on a desktop-icon, while I develop&debug with Visual C++ 2008 Express. I can really recommend this combination for Windows Qt developers ^^ I just added ROM file selection, basic validation & loading code to the Qt build. EDIT I made changes to the rendering system. It will now use either OpenGL or QPainter, depending on what is available. The smart thing is that I can do everything with QPainter and Qt will translate it to OpenGL calls. One issue in Qt is the timing. Even though I create a 60Hz timer, I only achieve about 40fps. But with idle time processing (timer interval 0) I get over 1000fps, so it should be possible to build something on top of that. We'll also have to look into the Threading possibilities of our emulator. Here's the binary for today: http://vba-m.ngemu.com/vbam/vbaother...a_qt_svn389.7z
__________________
Windows XP Home SP3 Intel C2D E8200 4GB DDR2-800 GeForce 8800 GT ASUS Xonar DX KNC ONE TV-Station DVB-S Technisat SkyStar HD (DVB-S2) 2x Samsung HD501LJ (RAID-0) Last edited by Spacy; February 24th, 2008 at 17:18. Reason: Automerged Doublepost |
|
|
|
|
|
#73 (permalink) | ||
|
Nobody Important...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2007
Location: Nowhere important...
Posts: 1,503
|
Quote:
Quote:
|
||
|
|
|
|
|
#74 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: Germany
Posts: 368
|
I know Qt offers threads, but the question is, what exactly could be run as a seperate thread, as the data flow in VBA doesn't offer many possibilities.
In the MFC build it's like the following: Emulate frame -> output frame (video/audio) -> Emulate frame... The steps depend on each other. One way of optimizing would be to start emulating while the outputting the last frame. Pixel filtering could also be thread-optimized by splitting an image into several areas and do filtering on them independently. Of course there has to be some overhead since you would see the borders in the image.
__________________
Windows XP Home SP3 Intel C2D E8200 4GB DDR2-800 GeForce 8800 GT ASUS Xonar DX KNC ONE TV-Station DVB-S Technisat SkyStar HD (DVB-S2) 2x Samsung HD501LJ (RAID-0) |
|
|
|
|
|
#76 (permalink) | |
|
Nobody Important...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2007
Location: Nowhere important...
Posts: 1,503
|
Quote:
|
|
|
|
|
|
|
#79 (permalink) |
|
Registered User
Join Date: Jan 2002
Location: Poland
Posts: 48
|
It's not Qt related, but as this is most active thread lately, I think it's time to...
be annoying again. In latest svn (rev. 413) following thing should be fixed: in agb/GBA.cpp: GBAGFX.h!=GBAGfx.h in agb/GBAGfx.h: there's a `#include "gbaGfx.h"` line in sdl/SDL.cpp: few of `#include` headers need to be updated to new locations I think there's at least one more thing, but as I already fixed it and forgot, it was probably just as trivial. After those fixes, svn works correctly. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|