|
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) | |||
|
Registered User
Join Date: Feb 2005
Location: Germany
Posts: 2
|
USB plugin won't load on Linux
Hi,
I'm running on Linux and having a problem with the USB plugin libUSBnull.so. I edited Pcsx2.cfg to use the above mentioned file as the USB plugin, but PCSX2 (v0.7) fails to load it: When I launch PCSX2, I get an error message saying Quote:
On the command line I don't get other error messages than Quote:
Quote:
I tried both the pre-compiled USB plugin that comes with the Linux version of PCSX2 and also compiled it myself. The result has always been the same. Any ideas of what I could do? Basically I don't need USB so a method to override the whole USB thing would solve my problem. Thanks in advance! |
|||
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Mar 2005
Location: Germany
Posts: 9
|
Hello,
same problem here. I also tried the previous version pcsx2-0.6. But this was even worse. I also tried to port the USB-Plugin from 0.6 to 0.7. No success. I also tried to compile it locally. Did not work. I solved a few errors, that were reported by the compiler. But it was just too much and too complicated, because I don't know the project and I am only an amateur on coding in C. Seems that some Windows-specific elements are included in the Linux headers. Now last and perhaps even least I tried it with the latest version of wine. And look. After successful configuration I started up for the first time. Well, I could not test, wether actually running a game will work, because I don't got any here at the moment, but I am optimistic. Mr. Anderson PS: Well. It's a bit... freaky, isn't it? Simulating a Windows in order to emulate a PS2. Myabe there is an emulator running on the PS2? |
|
|
|
|
|
#4 (permalink) |
|
RPG player
Join Date: Jan 2004
Location: france
Posts: 17
|
I don't know why you didn't success to rebuilt it...
On my linux box I don't have any problem for doing it. You may have not all the development tools (gtk header,etc...) for doing this!! You should ask the author to rebuild this plugin or I can post a rebuilt of it of it is not against the rules PS: I know... I know.... very bad english
__________________
thx pcsx2 team and plug-ins developpers!! |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Mar 2005
Location: Germany
Posts: 9
|
Thanks for your reply. Now I know, it must be possible to compile under Linux.
How can I find out which development tools I need? There is no configure script, so I looked up in the Makefile and in the code whether to find a useful hint. Either I just did not see it or there is no hint what might be missing. When compiling just the first file (Counters) I get immediately this error: Code:
In file included from ../Common.h:155,
from ../Counters.c:22:
../Misc.h:40: error: parse error before "hW"
../Misc.h:41: error: parse error before "hW"
Code:
[...] 40 void ListPatches (HWND hW); 41 int ReadPatch (HWND hW, char fileName[1024]); [...] edit: I just remember the time when I wrote some tiny programs in C. I think HWND is a window handle, isn't it? So it should be part of gtk, right? edit2: I kind of fixed this prob by adding the line typedef int HWND on top of Misc.h. Now some files are compiled. But then I get an error telling me, that ix86-32/GoldRec/grec.a is not found. I looked there myself. It it really not there. Should it be? This problem does not concern the API. Is this caused by my work-around? Last edited by Mr. Anderson; March 11th, 2005 at 17:18. |
|
|
|
|
|
#6 (permalink) |
|
Registered User
Join Date: Mar 2005
Location: Germany
Posts: 9
|
As it seems there is no linux-equivalent for HWND at all. So I looked at the latest CVS-file. And surprise:
Code:
#ifdef __WIN32__ void ListPatches (HWND hW); int ReadPatch (HWND hW, char fileName[1024]); edit: in ix86-32/GoldRec/ I had to run the Makefile. This produced the grec.a. Now everything compiled. Only the PlugIns were missing. I copied them from the binary package. But well, it does not work. So I will look for another PlugIn. edit2: Alright, I just compiled the USB linuz-PlugIn. Seems to work fine so far. First start without using wine. Last edited by Mr. Anderson; March 11th, 2005 at 18:33. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|