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
Stiopa
2020-11-02 00:03:09Z
I think I did it... issue seems to persist? strangely enough...
00:03
"Clean all"
heinrich5991
2020-11-02 00:05:07Z
hm
Stiopa
2020-11-02 00:17:58Z
welp... I don't have the time to mess with this. I will try tomorrow
(edited)
00:18
what an annoying issue...
heinrich5991
2020-11-02 00:20:20Z
I don't get the issue on linux, not sure if this is good or bad
Stiopa
2020-11-02 00:21:33Z
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
heinrich5991
2020-11-02 00:27:31Z
can you maybe clone the entire repo to a different location and also try there?
00:27
that should be a completely clean build
Stiopa
2020-11-02 00:27:40Z
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
Stiopa
2020-11-02 09:06:53Z
update:
09:07
I moved the out directory to out2 instead of out in cmakelists.json
09:07
that fixed it
Stiopa
2020-11-02 09:18:53Z
Furthermore I have solved my issue with a pointer passed to CCollision to the static function
heinrich5991
2020-11-02 09:19:06Z
nice!
Stiopa
2020-11-02 09:19:33Z
I don't think this is how the static functions are done... but it works
heinrich5991
2020-11-02 09:20:29Z
Learath2
2020-11-02 15:39:50Z
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)