MPLAB under wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
benbjamin.grant.du
Newbie
Newbie
Posts: 4
Joined: Wed Sep 03, 2008 2:22 pm

MPLAB under wine

Post by benbjamin.grant.du »

I have this working on one computer but not the other. Both are running Debian etch, although one is on a slightly older kernel which I can't change for many reasons. Anyway,
the program is mplab and it installs perfectly, but when I try to run it the following errors are generated
.

Code: Select all

~/.wine/drive_c/Program Files/Microchip/MPLAB IDE/Core$ ./MPLAB.exe 
Invoking /usr/lib/wine/wine.bin ./MPLAB.exe ...
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!
err:ole:get_inproc_class_object couldn't load in-process dll L"C:\\Program Files\\Microchip\\MPLAB IDE\\PICkit 2\\PICkit2.dll"
err:ole:create_server class {a6fa4ec9-d77e-4cad-b885-03a67d204ed4} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {a6fa4ec9-d77e-4cad-b885-03a67d204ed4} could be created for context 0x15
err:ole:get_inproc_class_object couldn't load in-process dll L"C:\\Program Files\\Microchip\\MPLAB IDE\\MPLAB PM3\\MPPm3.dll"
err:ole:create_server class {c14a89c8-002a-459b-ac4d-45733f02d25c} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {c14a89c8-002a-459b-ac4d-45733f02d25c} could be created for context 0x15
err:ole:get_inproc_class_object couldn't load in-process dll L"C:\\Program Files\\Microchip\\MPLAB IDE\\REAL ICE\\MPRealICE.dll"
err:ole:create_server class {c71b1bae-5f15-42d5-8187-4c0a314da2da} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {c71b1bae-5f15-42d5-8187-4c0a314da2da} could be created for context 0x15
err:ole:get_inproc_class_object couldn't load in-process dll L"C:\\Program Files\\Microchip\\MPLAB IDE\\Promate II\\MPPromate2.dll"
err:ole:create_server class {dcd896b9-4a5d-4fdc-aa6d-fcfa4f839779} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {dcd896b9-4a5d-4fdc-aa6d-fcfa4f839779} could be created for context 0x15
fixme:ole:CoRegisterMessageFilter message filter has been registered, but will not be used
err:ole:get_inproc_class_object couldn't load in-process dll L"C:\\Program Files\\Microchip\\MPLAB IDE\\ICE 4000\\MPICE4K.dll"
err:ole:create_server class {30754234-55de-11d6-ba27-005004d4c701} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {30754234-55de-11d6-ba27-005004d4c701} could be created for context 0x15
err:ole:get_inproc_class_object couldn't load in-process dll L"C:\\Program Files\\Microchip\\MPLAB IDE\\ICE 2000\\MPIce2K.dll"
err:ole:create_server class {7e3bb6be-185f-11d5-ba27-005004d4c701} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {7e3bb6be-185f-11d5-ba27-005004d4c701} could be created for context 0x15
err:ole:get_inproc_class_object couldn't load in-process dll L"C:\\Program Files\\Microchip\\MPLAB IDE\\REAL ICE\\MPRealICE.dll"
err:ole:create_server class {a0730b4f-b87d-49e3-9bb9-43438ac2e20a} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {a0730b4f-b87d-49e3-9bb9-43438ac2e20a} could be created for context 0x15
err:ole:get_inproc_class_object couldn't load in-process dll L"C:\\Program Files\\Microchip\\MPLAB IDE\\PICkit 2\\PICkit2.dll"
err:ole:create_server class {babf35c3-8706-4256-a0be-f72164bdf27c} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {babf35c3-8706-4256-a0be-f72164bdf27c} could be created for context 0x15
fixme:actctx:FindActCtxSectionStringW 00000000 (null) 2 L"msvcr80.dll" 0x336b04
err:ole:CoGetClassObject class {12421eb7-4f43-a0d4-830a-f8d0eea8e231} not registered
err:ole:create_server class {12421eb7-4f43-a0d4-830a-f8d0eea8e231} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {12421eb7-4f43-a0d4-830a-f8d0eea8e231} could be created for context 0x15



any thoughts.[/code]
ulberon
Level 2
Level 2
Posts: 37
Joined: Wed Apr 16, 2008 3:43 am

Post by ulberon »

what version of wine is running on each computer?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: MPLAB under wine

Post by vitamin »

benbjamin.grant.du wrote:~/.wine/drive_c/Program Files/Microchip/MPLAB IDE/Core$ ./MPLAB.exe
Invoking /usr/lib/wine/wine.bin ./MPLAB.exe ...
Don't run Wine this way it won't work for lots of apps like that.

See FAQ for the proper way of starting Wine.
benbjamin.grant.du
Newbie
Newbie
Posts: 4
Joined: Wed Sep 03, 2008 2:22 pm

hmm

Post by benbjamin.grant.du »

ulberon:
on the computer it works: wine-1.0
on computer it doesn't work: wine-0.9.25

I know i know I we're supposed ot have the newest version of wine befoer asking questions but I don't think that's the issue because I've actually had this problem on my lcal computer with wine-1.0

vitamin
I looked at the frequently asked questions, can you be more explicit in your answer? Do you mean typing "wine" before MPLAB.exe? If so, why did you refer me to the FAQs and not just tell me to type wine first. Regardless, that didn't make any difference.
Gert van den Berg

MPLAB under wine

Post by Gert van den Berg »

On Thu, Sep 4, 2008 at 9:17 PM, benbjamin.grant.du <
[email protected]> wrote:
vitamin
I looked at the frequently asked questions, can you be more explicit in
your answer? Do you mean typing "wine" before MPLAB.exe? If so, why did you
refer me to the FAQs and not just tell me to type wine first. Regardless,
that didn't make any difference.

And changing to the program directory....
Which version of MPLAB is involved?

I have a few versions lying around somewhere on my system and might give it
a go....

Wouldn't the DLL errors decrease dramatically if you do not install the
programmer / debugger support? (Which suppose would not work anyway because
of the lack of USB driver support...)

Gert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
benbjamin.grant.du
Newbie
Newbie
Posts: 4
Joined: Wed Sep 03, 2008 2:22 pm

Post by benbjamin.grant.du »

yeah probably. I have no desire to program the pic from this computer, just to write code/build it. The debugger support is essential though, it's useful for programming. But I mean I still have this working on another computer, that's what's annoying
benbjamin.grant.du
Newbie
Newbie
Posts: 4
Joined: Wed Sep 03, 2008 2:22 pm

Post by benbjamin.grant.du »

i just purged everything, updated version of wine. It works fine. Thanks for the help.
leeguy92
Level 1
Level 1
Posts: 7
Joined: Wed Sep 03, 2008 1:05 pm

Post by leeguy92 »

if you do want to do PIC development under linux, i recommend pikdev.
Locked