-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build with cmd not work #29
Comments
Some changes in build (added arc) |
When you get no output it sounds like the executable might have crashed, not sure if your shell would tell you about this. Can you try printing the exit code with |
lld-link work without warnings and give worked exe, but interesting solve clang-cl |
Ok so this error code is EXCEPTION_ACCESS_VIOLATION, so looks like the app is crashing for some reason. Can you try debugging the executable e.g. by opening and running it with Visual Studio to see where it’s crashing? (You’ll have to add I’m guessing that somehow link.exe is not producing the right output here compared to the LLVM linker, it would be interesting to see what’s going on. |
Write sample code
Build with
run and nothing, but simple hello world build and run fine
Create visual studio project. build and run fine
vs 2022 17.5.5, win sdk 10.0.22000.0, gnustep lates release
in cmd give this warning
in vs project file exe is 20kb, in cmd only 16kb
forall.sln
Directory.build.props
forall.vcxproj
forall.vcxproj.filters
what am I doing wrong in the console? repeated instructions one by one
The text was updated successfully, but these errors were encountered: