danilwaffle
danilwaffle
CC#
Created by danilwaffle on 10/24/2024 in #help
error when trying to run aot compilation with my package
No description
2 replies
CC#
Created by danilwaffle on 10/24/2024 in #help
compilation fails when using -s ASYNCIFY=1 in browser-wasm project
i have set following linker flags for emscripten: <EmccExtraLDFlags>-s USE_GLFW=3 -s ASSERTIONS=1 -s WASM=1 -s ASYNCIFY=1</EmccExtraLDFlags> -s ASYNCIFY=1 causes compilation to fail: https://hastebin.skyra.pw/biducidima.nginx csproj file: https://hastebin.skyra.pw/enalazogik.htm
1 replies
CC#
Created by danilwaffle on 10/23/2024 in #help
browser-wasm hell
i'm trying to use raylib with browser-wasm and i get error whenever i try to call something from raylib:
MONO_WASM: at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object , Span`1 , BindingFlags )
ManagedError@http://localhost:52900/_framework/dotnet.runtime.js:3:26843
Jn@http://localhost:52900/_framework/dotnet.runtime.js:3:31615
kr@http://localhost:52900/_framework/dotnet.runtime.js:3:35530
Ml/e.onRuntimeInitialized/l.javaScriptExports.call_entry_point@http://localhost:52900/_framework/dotnet.runtime.js:3:209315
Fc@http://localhost:52900/_framework/dotnet.runtime.js:3:136994
Mc@http://localhost:52900/_framework/dotnet.runtime.js:3:136420
run@http://localhost:52900/_framework/dotnet.js:3:35124
@http://localhost:52900/main.js:17:14
logging.ts:32:12
d logging.ts:32
Me exit.ts:161
Me exit.ts:52
Mc run.ts:22
MONO_WASM: at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object , Span`1 , BindingFlags )
ManagedError@http://localhost:52900/_framework/dotnet.runtime.js:3:26843
Jn@http://localhost:52900/_framework/dotnet.runtime.js:3:31615
kr@http://localhost:52900/_framework/dotnet.runtime.js:3:35530
Ml/e.onRuntimeInitialized/l.javaScriptExports.call_entry_point@http://localhost:52900/_framework/dotnet.runtime.js:3:209315
Fc@http://localhost:52900/_framework/dotnet.runtime.js:3:136994
Mc@http://localhost:52900/_framework/dotnet.runtime.js:3:136420
run@http://localhost:52900/_framework/dotnet.js:3:35124
@http://localhost:52900/main.js:17:14
logging.ts:32:12
d logging.ts:32
Me exit.ts:161
Me exit.ts:52
Mc run.ts:22
here's my Program.cs: https://hastebin.skyra.pw/ewuqobipew.csharp and .csproj: https://hastebin.skyra.pw/hokisihaje.htm
22 replies
CC#
Created by danilwaffle on 10/16/2024 in #help
✅ link A project's file to B project which references A project
how can i link file, so it will appear when you reference project A i tried <Content Include="CustomNativeConfig.props" Pack="true" Link="%(Filename)%(Extension)"/>, but it didn't work
3 replies
CC#
Created by danilwaffle on 10/15/2024 in #help
✅ building nativeaot project with static library still requires library to be copied
No description
21 replies