Cypress PSoC Creator - FreeBSD
back to main PSoC Creator page.
History
2019-01-06: wine - does it help if I install (via winetricks) in this order: vcrun2013, dotnet20sp2, dotnet40?
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest3 winetricks list-installed Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.0.4 and WINEARCH=win32 vcrun2013 w_workaround_wine_bug-34803 remove_mono dotnet20sp2 w_workaround_wine_bug-34803 remove_mono winxp dotnet40
and try to install PSoC Creator well, it got installed, but now it fails every time I start it. Crap. Like so
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest3 wine "c:\program files\cypress\psoc creator\4.2\psoc creator\bin\psoc_creator" [..] Assertion failed: (0), function to_number, file jsutils.c, line 635. Segmentation fault (core dumped)
so no go.
2019-01-06: wine - third try. I have now installed wine-mono
Jan 6 17:14:16 kg-core1 pkg-static: wine-mono-4.7.1 installed
try with a new WINEPREFIX
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest3 winecfg wine: created the configuration directory '/home/tingo/.wine/psoctest3' [..] wine: configuration in '/home/tingo/.wine/psoctest3' has been updated. winetricks install vcrun2013 tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest3 winetricks vcrun2013
then try to install PSoC Creator
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest3 wine ./PSoCCreatorSetup_4.2_es100_b641.exe
but it fails as before. This error message is interesting
System.SystemException: Error running C:\windows\mono\mono\mini\mono.exe: File not found.
so where is mono?
2019-01-06: wine - second try - now let wine download mono
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 winecfg
and try to install PSoC Creator
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 wine ./PSoCCreatorSetup_4.2_es100_b641.exe
got the "can't launch browser" again, and then it showed that vcrun2013 isn't installed, so install it
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 winetricks vcrun2013
and then retried PSoC Creator install - didn't work, it claims the installer is interrupted before finished.
2019-01-06: wine - install PSoC Creator
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 wine ./PSoCCreatorSetup_4.2_es100_b641.exe 0012:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub 0012:fixme:process:SetProcessDEPPolicy (1): stub 0012:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub 0019:fixme:wtsapi:WTSEnumerateSessionsW Stub 0x0 0x00000000 0x00000001 0x87f6bc 0x87f6b8 0019:fixme:wtsapi:WTSFreeMemory Stub 0x0 0035:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 0035:fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33f2d4 L"C:\\users\\tingo\\Temp\\{D77A98BD-00FE-4F97-ACD4-C4A2FDBC85BA}\\Disk1\\data1.hdr"
it complained "can't launch browser" and then that dotnet40 wasn't installed.
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 winetricks list-installed Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.0.4 and WINEARCH=win32 w_workaround_wine_bug-34803 remove_mono winxp dotnet40 vcrun2013 w_workaround_wine_bug-34803 remove_mono dotnet20sp2 gdiplus_winxp
ok, try to install dotnet40 again
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 winetricks dotnet40 Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.0.4 and WINEARCH=win32 Executing w_do_call dotnet40 dotnet40 already installed, skipping
force it
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 winetricks --force dotnet40
then I selected "Repair" from the dialog. well, that didn't work out at all. I ended up deleting this wineprefix.
2019-01-06: wine - winetricks - install gdiplus_winxp
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 winetricks gdiplus_winxp Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.0.4 and WINEARCH=win32 Executing w_do_call gdiplus_winxp Executing load_gdiplus_winxp Executing mkdir -p /home/tingo/.cache/winetricks/gdiplus_winxp Executing cd /home/tingo/.cache/winetricks/gdiplus_winxp Downloading https://download.microsoft.com/download/1/4/6/1467c2ba-4d1f-43ad-8d9b-3e8bc1c6ac3d/NDP1.0sp2-KB830348-X86-Enu.exe to /home/tingo/.cache/winetricks/gdiplus_winxp % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1117k 100 1117k 0 0 994k 0 0:00:01 0:00:01 --:--:-- 994k Executing cd /home/tingo/doc/Cypress/PSoC/PSoC_Creator Executing cd /home/tingo/.cache/winetricks/gdiplus_winxp Executing cabextract -q -d /home/tingo/.wine/psoctest1/dosdevices/c:/windows/temp/_gdiplus_winxp -F FL_gdiplus_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8 /home/tingo/.cache/winetricks/gdiplus_winxp/NDP1.0sp2-KB830348-X86-Enu.exe Executing cp /home/tingo/.wine/psoctest1/dosdevices/c:/windows/temp/_gdiplus_winxp/FL_gdiplus_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8 /home/tingo/.wine/psoctest1/dosdevices/c:/windows/system32/gdiplus.dll Using native override for following DLLs: gdiplus Executing wine regedit C:\windows\Temp\_gdiplus_winxp\override-dll.reg
ok
2019-01-06: wine - winetricks - install dotnet40, vcrun2013 and dotnet20sp2
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 winetricks dotnet40 vcrun2013 (loads of text) tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 winetricks dotnet20sp2 (more text)
ok
2019-01-06: wine - create a new WINEPREFIX for this test with winecfg
tingo@kg-core1$ WINEPREFIX=$HOME/.wine/psoctest1 winecfg wine: created the configuration directory '/home/tingo/.wine/psoctest1' 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa} 0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0012:err:ole:get_local_server_stream Failed: 80004002 0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa} 0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0014:err:ole:get_local_server_stream Failed: 80004002 0019:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 0019:err:mscoree:LoadLibraryShim error reading registry key for installroot 0019:err:mscoree:LoadLibraryShim error reading registry key for installroot 0019:err:mscoree:LoadLibraryShim error reading registry key for installroot 0019:err:mscoree:LoadLibraryShim error reading registry key for installroot 0019:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0019:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0010:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018 001b:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x9588a8, init_notify 0, handle 0x119fd0c): stub wine: configuration in '/home/tingo/.wine/psoctest1' has been updated.
ok
2019-01-06: I have my kit here:
tingo@kg-core1$ pwd /home/tingo/doc/Cypress/PSoC/PSoC_Creator tingo@kg-core1$ l ./ PSOC_CREATOR_USER_GUIDE.pdf PSoC_Creator_Component_Author_Guide.pdf ../ PSoC Creator 4.2 Release Notes.pdf PSOC_CREATOR_QUICK_START_GUIDE.pdf PSoCCreatorSetup_4.2_es100_b641.exe
ok
2019-01-06: trying to get PSoC Creator to run under wine on FreeBSD. My FreeBSD workstation runs
tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 11.2-STABLE FreeBSD 11.2-STABLE #0 r342545: Thu Dec 27 00:29:46 CET 2018 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
I have the following ports installed
root@kg-core1# pv *wine* [Reading data from pkg(8) ... - 879 packages found - done] i386-wine-3.0.4_1,1 = up-to-date with port wine-gecko-2.47 = up-to-date with port winetricks-20181203 = up-to-date with port
ok The default WINEPREFIX looks like this
tingo@kg-core1$ winetricks list-installed Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.0.4 and WINEARCH=win32 corefonts tahoma liberation fontfix winhttp
ok.