griffith1deady

Results 10 comments of griffith1deady

i am trying to build example code.

godot crashing when load the dll. command i used for build is: nim c --passL:"-static" --noMain --app:lib -o:"godot.dll" "test.nim"

Yes, it's windows. Windows 10 22H2, 64 bit. Godot version is: Godot_v4.0.3-stable

There are no logs about the error, all I have in the console is this: PS C:\Users\New\Desktop> ./Godot_v4.0.3-stable_win64.exe PS C:\Users\New\Desktop> Godot Engine v4.0.3.stable.official.5222a99f5 - https://godotengine.org OpenGL API 3.3.0 NVIDIA 532.03...

Tryed rewrite code for checking like this: ```nim macro isInstanceOf*(value: typed, protocol: typed): bool = let protocolDefinition = if ProtocolTable.hasKey(protocol.strVal): protocol else: newEmptyNode() if protocolDefinition.kind == nnkEmpty: return newLit(false) let...

For example, my idea works with that code: ```nim macro isInstanceOf*(value: typed, protocol: typed): bool = let protocolDefinition = if ProtocolTable.hasKey(protocol.strVal): protocol else: newEmptyNode() if protocolDefinition.kind == nnkEmpty: return newLit(false)...

What's the status about this?

> Incremental compilation is not currently supported because it is not known how to analyze and obtain their dependencies. I'm not talking about incremental builds, I'm talking about rebuilding the...

> If we just rebuild the entire project, it works for me. > > ruki:console ruki$ xmake > [ 63%]: linking.release test > [100%]: build ok, spent 0.359s > ruki:console...

![Image](https://github.com/user-attachments/assets/81d59023-41f9-4697-9fb0-c8037e4276a4) after initial build, where something.nim: ```nim echo "Hello from something!" ``` main.nim: ```nim import something echo "Hello, world!" ``` after echo `Hello from something!` add these lines: ```nim import...