Microchip's MPLAB 8 hangs when launching linux compiler

Questions about Wine on Linux
Locked
fernan82
Newbie
Newbie
Posts: 4
Joined: Mon Jul 28, 2014 9:39 am

Microchip's MPLAB 8 hangs when launching linux compiler

Post by fernan82 »

Hello,

I installed Microchip's MPLAB IDE on Wine on Gentoo and it works fine except that the Windows build of their XC16 compiler doesn't install on Wine, so I'm trying to use it with the Linux version of the XC16 compiler but when it launches the Linux executable MPLAB hangs and it doesn't show the compiler's output on the output window. The output from wine MPLAB.exe (posted below) shows that it did execute the Linux executable but it looks like it doesn't get the output from stdout and it doesn't get notified when the process exits so MPLAB waits on the process to exits forever.

I'm willing to write a win32 wrapper for the compiler but I assume that if I just call CreateProcess I'll have the same problem. So the question is: how can I launch a Linux executable from a Win32 application, capture it's standard output, wait for the process to exit, and get the exit code.

Also the output below shows that the xc16 compiler tried to launch another executable and it doens't find it. It is able to find it when I invoke it from the terminal so it has something to do with it being launched by MPLAB, any advise on how to solve this is appreciated. It's not a big deal though, I could just call the right version directly.

Code: Select all

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
err:menubuilder:init_xdg error looking up the desktop directory
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
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
err:ole:CoGetClassObject class {d37d755c-034b-4896-83bb-8c1f74dda1f6} not registered
err:ole:CoGetClassObject class {d37d755c-034b-4896-83bb-8c1f74dda1f6} not registered
err:ole:create_server class {d37d755c-034b-4896-83bb-8c1f74dda1f6} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {d37d755c-034b-4896-83bb-8c1f74dda1f6} could be created for context 0x17
err:ole:CoGetClassObject class {eae4e6f3-501b-48f3-aaa3-4ee51a9204f5} not registered
err:ole:CoGetClassObject class {eae4e6f3-501b-48f3-aaa3-4ee51a9204f5} not registered
err:ole:create_server class {eae4e6f3-501b-48f3-aaa3-4ee51a9204f5} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {eae4e6f3-501b-48f3-aaa3-4ee51a9204f5} could be created for context 0x17
err:ole:CoGetClassObject class {f2efcac9-2d17-064e-7546-b16df9964ff6} not registered
err:ole:CoGetClassObject class {f2efcac9-2d17-064e-7546-b16df9964ff6} not registered
err:ole:create_server class {f2efcac9-2d17-064e-7546-b16df9964ff6} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {f2efcac9-2d17-064e-7546-b16df9964ff6} could be created for context 0x17
err:ole:CoGetClassObject class {78ccb5cb-36a1-4440-b5f4-5360997702bf} not registered
err:ole:create_server class {78ccb5cb-36a1-4440-b5f4-5360997702bf} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {78ccb5cb-36a1-4440-b5f4-5360997702bf} could be created for context 0x15
err:ole:CoGetClassObject class {4a43bba0-74e6-4347-9506-5a08dbe4f323} not registered
err:ole:CoGetClassObject class {4a43bba0-74e6-4347-9506-5a08dbe4f323} not registered
err:ole:create_server class {4a43bba0-74e6-4347-9506-5a08dbe4f323} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {4a43bba0-74e6-4347-9506-5a08dbe4f323} could be created for context 0x17
err:ole:CoGetClassObject class {adf5356d-a487-4d49-92ba-55d57d15af1c} not registered
err:ole:CoGetClassObject class {adf5356d-a487-4d49-92ba-55d57d15af1c} not registered
err:ole:create_server class {adf5356d-a487-4d49-92ba-55d57d15af1c} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {adf5356d-a487-4d49-92ba-55d57d15af1c} could be created for context 0x17
err:ole:CoGetClassObject class {d92e82e7-0262-41da-815b-9cce98dede12} not registered
err:ole:CoGetClassObject class {d92e82e7-0262-41da-815b-9cce98dede12} not registered
err:ole:create_server class {d92e82e7-0262-41da-815b-9cce98dede12} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {d92e82e7-0262-41da-815b-9cce98dede12} could be created for context 0x17
err:ole:CoGetClassObject class {7c9a940c-b3d1-4bb2-8005-3448195cab38} not registered
err:ole:create_server class {7c9a940c-b3d1-4bb2-8005-3448195cab38} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {7c9a940c-b3d1-4bb2-8005-3448195cab38} could be created for context 0x15
err:ole:CoGetClassObject class {95ea9e37-9cce-4213-95b1-dc871a71368d} not registered
err:ole:CoGetClassObject class {95ea9e37-9cce-4213-95b1-dc871a71368d} not registered
err:ole:create_server class {95ea9e37-9cce-4213-95b1-dc871a71368d} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {95ea9e37-9cce-4213-95b1-dc871a71368d} could be created for context 0x17
err:ole:CoGetClassObject class {a135d739-5feb-4c8a-bdb1-47414d9aa19a} not registered
err:ole:CoGetClassObject class {a135d739-5feb-4c8a-bdb1-47414d9aa19a} not registered
err:ole:create_server class {a135d739-5feb-4c8a-bdb1-47414d9aa19a} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {a135d739-5feb-4c8a-bdb1-47414d9aa19a} could be created for context 0x17
err:ole:CoGetClassObject class {fac97b88-5d57-4967-a392-c9a9e8fe1f77} not registered
err:ole:CoGetClassObject class {fac97b88-5d57-4967-a392-c9a9e8fe1f77} not registered
err:ole:create_server class {fac97b88-5d57-4967-a392-c9a9e8fe1f77} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {fac97b88-5d57-4967-a392-c9a9e8fe1f77} could be created for context 0x17
err:ole:CoGetClassObject class {cfcd335a-dd99-4207-ab54-ff6e7c5a60bb} not registered
err:ole:create_server class {cfcd335a-dd99-4207-ab54-ff6e7c5a60bb} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {cfcd335a-dd99-4207-ab54-ff6e7c5a60bb} could be created for context 0x15
err:ole:CoGetClassObject class {c7f2e1ac-4274-407f-8917-cd1f3295f541} not registered
err:ole:CoGetClassObject class {c7f2e1ac-4274-407f-8917-cd1f3295f541} not registered
err:ole:create_server class {c7f2e1ac-4274-407f-8917-cd1f3295f541} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {c7f2e1ac-4274-407f-8917-cd1f3295f541} could be created for context 0x17
err:ole:CoGetClassObject class {eb849b23-1bc8-38c9-253d-7b4d14a25597} not registered
err:ole:create_server class {eb849b23-1bc8-38c9-253d-7b4d14a25597} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {eb849b23-1bc8-38c9-253d-7b4d14a25597} could be created for context 0x15
err:ole:CoGetClassObject class {64617e5c-12b5-ba41-fc29-8631c1944d51} not registered
err:ole:CoGetClassObject class {64617e5c-12b5-ba41-fc29-8631c1944d51} not registered
err:ole:create_server class {64617e5c-12b5-ba41-fc29-8631c1944d51} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {64617e5c-12b5-ba41-fc29-8631c1944d51} could be created for context 0x17
err:ole:CoGetClassObject class {d37d755c-034b-4896-83bb-8c1f74dda1f6} not registered
err:ole:CoGetClassObject class {d37d755c-034b-4896-83bb-8c1f74dda1f6} not registered
err:ole:create_server class {d37d755c-034b-4896-83bb-8c1f74dda1f6} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {d37d755c-034b-4896-83bb-8c1f74dda1f6} could be created for context 0x17
err:ole:CoGetClassObject class {eae4e6f3-501b-48f3-aaa3-4ee51a9204f5} not registered
err:ole:CoGetClassObject class {eae4e6f3-501b-48f3-aaa3-4ee51a9204f5} not registered
err:ole:create_server class {eae4e6f3-501b-48f3-aaa3-4ee51a9204f5} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {eae4e6f3-501b-48f3-aaa3-4ee51a9204f5} could be created for context 0x17
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:ole:CoCreateInstance no instance created for interface {ef44da65-eeb3-11d3-9d8f-006008368e4d} of class {18b32207-48a0-417d-9263-eb55deabe5de}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {439cbc36-22d4-431c-8e42-389e667d1c30} of class {18b32207-48a0-417d-9263-eb55deabe5de}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {ef44da65-eeb3-11d3-9d8f-006008368e4d} of class {6292feae-fc00-4aac-b81e-7b8323f7d82a}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {439cbc36-22d4-431c-8e42-389e667d1c30} of class {6292feae-fc00-4aac-b81e-7b8323f7d82a}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {ef44da65-eeb3-11d3-9d8f-006008368e4d} of class {673f1ace-2d18-4e2a-a212-10cd11da2735}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {439cbc36-22d4-431c-8e42-389e667d1c30} of class {673f1ace-2d18-4e2a-a212-10cd11da2735}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {ef44da65-eeb3-11d3-9d8f-006008368e4d} of class {8b81e0c4-567e-4fdd-8675-50fc4dd82e97}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {439cbc36-22d4-431c-8e42-389e667d1c30} of class {8b81e0c4-567e-4fdd-8675-50fc4dd82e97}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {ef44da65-eeb3-11d3-9d8f-006008368e4d} of class {8b835593-2be3-4d52-8001-05c9a17c867e}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {439cbc36-22d4-431c-8e42-389e667d1c30} of class {8b835593-2be3-4d52-8001-05c9a17c867e}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {ef44da65-eeb3-11d3-9d8f-006008368e4d} of class {fd5ed6db-eeb7-49fa-8271-a96654c10aee}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {439cbc36-22d4-431c-8e42-389e667d1c30} of class {fd5ed6db-eeb7-49fa-8271-a96654c10aee}, hres is 0x80004002
Z:\opt\microchip\xc16\v1.21\bin\xc16-gcc: Cannot locate the coff-specific executable
/opt/wine/Apps32/Microchip/mplab: line 3: 18372 Killed                  wine /opt/wine/Apps32/Microchip/MPLAB\ IDE/Core/MPLAB.exe

Locked