Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-11-02 00:00:00Z and 2020-11-03 00:00:00Z
Avatar
I think I did it... issue seems to persist? strangely enough...
00:03
"Clean all"
Avatar
hm
Avatar
welp... I don't have the time to mess with this. I will try tomorrow (edited)
00:18
what an annoying issue...
Avatar
I don't get the issue on linux, not sure if this is good or bad
Avatar
I am pretty sure it is something in the cmake output files that lingers there from one of the past failures in compilation
00:22
like, I may have done a mistake in linking, cmake saved that and now it reads it everytime and outputs the error - my theory
00:22
surely must be files since issue persists on master branch with no modifications and on 1 month old branch
00:22
even after restart of VS
Avatar
can you maybe clone the entire repo to a different location and also try there?
00:27
that should be a completely clean build
Avatar
I might just want to migrate my project to another folder to let it all regenerate...
00:28
Well, I am pretty sure that would be the solution
Avatar
update:
09:07
I moved the out directory to out2 instead of out in cmakelists.json
09:07
that fixed it 🙂
Avatar
Furthermore I have solved my issue with a pointer passed to CCollision to the static function
Avatar
nice!
Avatar
I don't think this is how the static functions are done... but it works 😅
Avatar
The idea with a callback is that you get the collision code to "call back" your registered function when a collision with water happens
15:40
It doesn't even need to be a static function
15:40
(Though a member function would introduce a dependency to the client so a static one is the correct choice in your case)
Exported 24 message(s)