👋 - newbie here. Trying to integrate static library; works but has some odd results. #1476
Replies: 2 comments 8 replies
-
Ok, I'm an idiot. Forgot to add dll to executable directory haha :( |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry forgot to add; I was only reminded of needing to add .dlls to the same directory as the executable after setting up a simple pure C example; Windows brought up an alert saying a dll was missing. I don't know how easy it would be to add but I think it would be helpful to have a similar message{with or without a GUI window) when something fails to run as the current system of outputting nothing is a bit difficult to troubleshoot. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
New to c3 here, looks pretty interesting so far.
I thought I'd try to wrap my head around things by building a small toy renderer with wgpu-native.
Apologies if this has been discussed but I wasn't sure what to search for - I'm running into an odd issue where for whatever reason, when I call functions in the library, it seemingly breaks something as no print output aside from the launch message(after running clean-run) is produced and no exit code is mentioned.
If I leave out the native function calls, the print function works and the console reports the exit code.
Just curious as to what might be going on, being able to print would be nice haha.
I can upload a demo repo if it's helpful but given that the library size is a bit big, figured it'd be better to start without in case it's a simple thing.
Lastly
c3c clean-run
EDIT
I'm starting to suspect this is library related; tried a barebones static c library that just prints hello world and that seems to work fine so I believe my syntax is correct. Feel free to close this topic but just in case there's something else that could be the issue, it'd be great to leave this up for at least a few days.
Thank you for any ideas.
Here is the current code
Here's the current interface
Lastly, here's the current project json
Beta Was this translation helpful? Give feedback.
All reactions