question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

winIco makes build fail on OS X

See original GitHub issue

I installed wine, and when trying to build wine.bin opens and shows a Fatal error in gcc - GetThreadContext failed window.

This shows up in the console.

Update win32 executable icon
Update win64 executable icon

Unhandled Exception:
System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\cristian\Local Settings\Application Data\Anolis\Exceptions.log".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
  at Anolis.Resourcer.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\cristian\Local Settings\Application Data\Anolis\Exceptions.log".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
  at Anolis.Resourcer.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hermwongcommented, Feb 9, 2015

Are you also receiving an error that states that you need to have wine installed even when you already have wine installed?

0reactions
indexofrefractioncommented, Feb 24, 2019

this still does not work on macos:

Update win32 executable icon

Unhandled Exception:
System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\...\Local Settings\Application Data\Anolis\Exceptions.log".
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017e] in <9727e7c25d434f57880423f7c033fc46>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <9727e7c25d434f57880423f7c033fc46>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) [0x0001c] in <9727e7c25d434f57880423f7c033fc46>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) [0x00055] in <9727e7c25d434f57880423f7c033fc46>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00000] in <9727e7c25d434f57880423f7c033fc46>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append) [0x00008] in <9727e7c25d434f57880423f7c033fc46>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
  at Anolis.Resourcer.Program.Main (System.String[] args) [0x001db] in <38d208fdc7254be09b356cc9fcca7ccf>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\...\Local Settings\Application Data\Anolis\Exceptions.log".
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017e] in <9727e7c25d434f57880423f7c033fc46>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <9727e7c25d434f57880423f7c033fc46>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) [0x0001c] in <9727e7c25d434f57880423f7c033fc46>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) [0x00055] in <9727e7c25d434f57880423f7c033fc46>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00000] in <9727e7c25d434f57880423f7c033fc46>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append) [0x00008] in <9727e7c25d434f57880423f7c033fc46>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
  at Anolis.Resourcer.Program.Main (System.String[] args) [0x001db] in <38d208fdc7254be09b356cc9fcca7ccf>:0 
Error while updating the Windows icon. Wine (winehq.org) must be installed to add custom icons from Mac and Linux.
Read more comments on GitHub >

github_iconTop Results From Across the Web

winIco makes build fail on OS X · Issue #179 · nwutils/nw-builder ...
I installed wine, and when trying to build wine.bin opens and shows a Fatal error in gcc - GetThreadContext failed window. This shows...
Read more >
Apple Silicon app builds but cannot launch
In Xcode, the app builds but fails to run with the following dialog of ... (if that makes a difference), with a target...
Read more >
Build failed on Mac OS not in Windows Flutter - Stack Overflow
2. KoffieSoft -> This is okey for windows but problem on mac. Do not use space char on your folder names. You can...
Read more >
Build: Build fails on Mac OS project while an iOS project has a ...
I'm getting the following build error in AppCode (builds fine in XCode). === BUILD NATIVE TARGET CoreDataImporter OF PROJECT ...
Read more >
Parker Hannifin
Discover how Parker is engineering solutions that enable a cleaner and more sustainable tomorrow.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found