Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2017-12-23 00:00:00Z and 2017-12-24 00:00:00Z
Avatar
Which website do you use to sell your bitcoins?
Avatar
well I generally prefer to shapeshift or trade it on bitfinex to an alt that seems stable
00:36
if I have to sell I'll use bitstamp or coinbase I guess but horrible fees on coinbase
Avatar
I'm trying to get ddnet with visual studio working, but it cannot open SDL.h: https://i.imgur.com/rCbJP5r.png anyone know how to fix this? fwiw, it still compiles and seems to work fine but it shows this weird icon in the server browser: https://i.imgur.com/qHW7rYL.png
Avatar
maybe you can include sdl into visual-studio as a standalone lib ?
13:04
i think it works like that
Avatar
@Shishigami how did you download the ddnet source code?
14:45
Avatar
but maybe visual studio jsut dont recognize sdl
14:48
he said, that it can be compiled
Avatar
@heinrich5991 yes
15:01
only thing I did differently was I didnt check git for windows because i already had it
Avatar
ok
15:10
did you download the source with msvs or with the git that you already had?
15:10
@Shishigami
Avatar
in team explorer
Avatar
ok
Avatar
I guess thats not the only thing going wrong https://i.imgur.com/rPypcyG.png (edited)
Avatar
you need to adjust the include directories (edited)
Avatar
@Shishigami how are you building the project?
16:43
did you create a project file?
16:43
which version of msvs are you using?
Avatar
@heinrich5991 , for you by default VS autocomplete code from SDL?
Avatar
not sure if from SDL
16:44
I could reboot and check
16:44
let me do that in a minute
16:45
Actually, I am making sweeties 😄
16:45
so dont hurry
Avatar
wanna share some? 😃
Avatar
I am painting, can't share that
16:47
Sorry:o
Avatar
huh? that seems surprisingly easy to share, as opposed to sweets 🙂
Avatar
@heinrich5991 15.5.2, installed it earlier I selected DDNet.exe where it says Select Startup Item... and just click on the green arrow its set to debug
Avatar
ok
16:53
sounds good
Avatar
I'm rebooting into windows. but it seems to see a need to update
17:03
"Your PC will restart several times."
17:27
Yea, no problem
Avatar
yea, about my windows installation…
17:29
nut shells with cream inside
Avatar
uhhhh. WANT
17:29
"working on updates 75%"
Avatar
i love these @Savander
Avatar
pretty easy to do!
17:30
im lazy
17:30
that hot pan
Avatar
i wont do myself more than bread
17:30
everything else is too much effort (edited)
Avatar
So you need to find a girl, which like to be not respected
17:30
😄
Avatar
wow thats kinda insulting
Avatar
reality
Avatar
I mean like which women likes to be respected
17:31
pfff
Avatar
And it wasn't insult
17:32
it was solution for you
17:32
She will do everything for you
17:32
you can be lazy !
17:32
:)_
Avatar
mhhhh
Avatar
Serious relationship > your picture
Avatar
"Working on updates 87%"
Avatar
my card is sadly at 5/10 feelsbadman
Avatar
i don't need to fuck every girl i met
Avatar
it's stuck now
Avatar
u dont?
Avatar
the screen froze
17:33
I don't, crazy huh?
Avatar
@heinrich5991 welcome to windows
Avatar
@heinrich5991 don't worry, it sayts 87% but it's 20%
17:34
fake news
Avatar
switch off the computer forcefully and retry?
Avatar
yeah and if you do this often enough
17:34
u wont even be able to boot windows
Avatar
it will run check disk
17:34
if you do that :?
Avatar
then I'll have to reinstall it? that took quite long last time IIRC :/
Avatar
just wait
Avatar
but what am I supposed to do?
Avatar
not reall
Avatar
it froze
Avatar
windows just dont like updating numbers
Avatar
just put USB with windows, and it will replace
17:35
his files
Avatar
like the animation
17:35
the progress animation
17:35
the rotating circles
Avatar
like in check disk since windows 7
Avatar
don't move anymore
Avatar
the numbers stuck
17:35
but it goes on
Avatar
how long?
Avatar
>1min
Avatar
quite normal then
17:35
just leave it for 10 minutes
Avatar
but it's the animation
Avatar
wait 10 min atleasr
Avatar
not just the number
Avatar
that's stuck
Avatar
@Savander holy shit I actually got those from my neighboar today
Avatar
I know @heinrich5991, it's really normal on windows
17:36
it stops, and looks like broken
Avatar
@Shishigami gimme some :(
Avatar
but it isn't
17:36
if it will take more than 10 minutes, restart
Avatar
@Theowyn id love to, I dont like them 😄
Avatar
You don't liek!? It's so sweeety
Avatar
yeee i dont like sweet stuff 😄
Avatar
and melts in your mouth
17:37
oh, understand.
17:37
I will buy lays for you
17:37
better? 😄
Avatar
never tried that
Avatar
you never tried Lays ?
Avatar
ugh, looks tasty
17:38
it's paprika?
Avatar
I really like fromage
Avatar
@Shishigami I'm sorry, it seems to take longer than usual to boot windows 😦
Avatar
sounds normal
Avatar
@heinrich5991, on time in my old school
17:40
I have updated windows
17:41
and it took a two days to complete that task
17:41
😄
17:41
Windows magic
Avatar
@Savander @Theowyn it's still locked up
Avatar
try ctrl + alt + dlete
Avatar
it's in the update screen
Avatar
but try
Avatar
doubt that this will work
17:47
doesn't
Avatar
if not, then restart
17:47
we can't do much if it stuck
17:47
does harddrive flashes?
17:47
I mean, if you use laptop
Avatar
don't see that
Avatar
you can check if hardrive works
17:47
working*
Avatar
"Restoring your previous version of Windows"
17:50
Maybe some kind of collision happened
Avatar
collision?
Avatar
like some software has specific requirements
17:51
windows is specific, what i can say 🍎
17:51
sometimes, my update fails because of google drive
17:52
but then i try to update windows again, and it works xD.
17:52
Don't ask me why. I don't understand how windows works.
17:52
fortunately, i don't need to update windows very often
Avatar
hm. now it seems to work \o/
17:53
heinrich5991 – Welcome …
Avatar
hurray
Avatar
@Savander yes, I do get code completion for SDL
18:04
@Shishigami sooo
18:04
you there?
Avatar
Hmm, pretty weird.
Avatar
yup
Avatar
@Shishigami have you run cmake
18:04
?
Avatar
you don't have to, in visual studio
18:04
it runs cmake by itself
Avatar
CLion do it for me automatically
Avatar
@Shishigami can you click "CMake -> Clean All"?
18:05
in the menu
Avatar
Clean succeeded.
Avatar
and now click on the green arrow
18:06
that says something like "DDNet.exe" in your case
Avatar
good
18:07
you downloaded it today?
Avatar
yes
18:07
i forked ddnet/ddnet, but thats not the problem, is it?
Avatar
no
Avatar
have you ddnet-libs? 😮
Avatar
i do
18:08
all the files are there, it just cant find them or something
Avatar
can you show the result of the cmake configuration?
Avatar
where do I see that
Avatar
mh..
18:09
eating dinner now, back in ~30min? 😦
18:09
@Learath2 could you try to debug this while I'm away?
Avatar
@Shishigami don't really remember but needs to be the first thing after clean all
18:10
yeah yeah I'll try
Avatar
there's no cmakelog or something?
Avatar
perhaps the "clean all" doesn't clean cmake
Avatar
cmake clean all should I guess
18:10
I got few of them, but idk if it's cmake specific or CLion
Avatar
It feels like you are missing python to me
Avatar
check build folder or something, if you have some kind of logs
Avatar
pastebin doesn't work in turkey 😦
Avatar
the hell
Avatar
turkey is a fascist dictatorship
Avatar
now run a build
Avatar
cmake build all or build solution?
Avatar
dont you have the green arrow?
Avatar
i do
Avatar
press green arrow, it should start building
Avatar
yes that fails
Avatar
<Learath2> https://paste.pr0.tips/Lt you should get sth like this at the top of the output
18:16
<Learath2> not the visual studio errors thing, just the output
Avatar
<Learath2> hmm it's not triggering a cmake build first for some reason
18:19
<Learath2> can you show me your entire VS screen?
18:19
<Learath2> I don't have windows to check here
Avatar
Instead of error list show output tab pls
Avatar
im curious, if you can
Avatar
Idk how to trigger a cmake rebuild short of recloning i guess
Avatar
just clone project again
18:23
and open that folder as a project
18:23
i visual studio
18:23
it should then run cmake
18:24
and analyze all the files
18:24
@Learath2 it should automatically
18:24
without pressing anything
18:24
if you change something in cmakelist.txt
18:24
it should call it automatically
Avatar
Follow heinrichs tutorial on the forum
Avatar
which version of vs ?
18:25
if 2017 it should work perfecetly
Avatar
ᶰ°Konͧsti 2017-12-23 19:15:23Z
How to open console on Android client
Avatar
no idea
Avatar
ᶰ°Konͧsti 2017-12-23 19:28:08Z
OK i found the way but it doesnt open a keyboard then feelsbadman
Avatar
@Shishigami I think there's a folder "CMakeBuilds" or sth in your home folder
19:28
in there, there are some folders named like UUIDs IIRC
19:28
so 1234578-134123-13423-5435-134
19:28
or sth
19:28
and in there, we might find the CMakeCache.txt
Avatar
@heinrich5991 there is
Avatar
ᶰ°Konͧsti 2017-12-23 19:29:38Z
Oh nvm
Avatar
thanks
19:31
mh
Avatar
is ther CMakeFiles folder?
19:31
somwhere
Avatar
yes
Avatar
are there any *.log files? (edited)
19:33
output and error
Avatar
hmm, can you show me screenshot of that CMakeFiles folder?
19:36
CLion for me generates clion-log as well, it shows cmakes logs
Avatar
maybe you have something similar
Avatar
is it different from CmakeOutput.log?
Avatar
can you perhaps show the contents of DDNet.dir
19:39
?
19:41
I was curious, if there's a mess here in your project
Avatar
to me it just seems like vs doesnt know where the includes are
19:42
but i have no idea 😄
Avatar
it looks like, cmake can really
19:42
make your project
19:43
CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
19:43
it's weeeird
19:43
;D
Avatar
627291c /pause <name> always switches to watching name - def-
Avatar
cool
22:07
I was able to reproduce the SDL error locally \o/
22:07
that makes for easier debugging
Avatar
@Shishigami can you close MSVS and delete the CMakeBuilds folder in your home directory?
22:17
and try again?
Avatar
@heinrich5991 MSBUILD : error MSB6003: The specified task executable "cmd.exe" could not be run. The working directory "C:\Users\shish\CMakeBuilds\0f6e4bdf-632d-9639-ad79-366f81bdf509\build\x86-Debug" does not exist. I deleted the folder should I clean again?
Avatar
sec
22:21
I got this as well, clicked some button to make that go away
22:21
I don't remember, let me retry
Avatar
also, what is the difference between these two? https://i.imgur.com/Oxa03be.png
Avatar
take the first one
Avatar
one is a virus
Avatar
oh no
Avatar
the other one has sth to do with how ddnet is packaged
22:23
@Shishigami select a different entry in the menu left to the green arrow
22:23
the build configuration
22:23
I think I did that
Avatar
oh yeah
22:24
its doing the cmake build thing now
22:24
that savander linked earlier
Avatar
good
Avatar
ok, I can run from x86-release but its still showing the errors: https://i.imgur.com/XCHZbyy.png x86-debug build configuration is still using the old path 😄
Avatar
"the old path"?
Avatar
this I mean The specified task executable "cmd.exe" could not be run. The working directory "C:\Users\shish\CMakeBuilds\0f6e4bdf-632d-9639-ad79-366f81bdf509\build\x86-Debug" does not exist. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CMakeLists.txt
Avatar
when switching back it still errors?
Avatar
yep
Avatar
duh
22:28
cmake->cache->generate?
Avatar
that worked
Avatar
maybe try project -> rescan solution for the in-source errors?
Avatar
didnt work, still shows the errors (edited)
Avatar
you're talking about the errors in the source view, aren't you?
Avatar
yes
22:30
can't open source file
Avatar
maybe re-open MSVS
Avatar
well, its a bit better now
22:31
now it only cant open source file for SDL 😄
Avatar
hmmm
22:39
reopen it again? 😛
22:41
@Shishigami new screenshot? 🙂
Avatar
i reopened it and it made it worse again https://i.imgur.com/TqC97I7.png
Avatar
does compiling DDNet.exemaybe help?
Avatar
compiling works but the errors dont go away
22:52
eh, closing and opening the file did the trick now its back to only missing SDL.h
Avatar
why does that file include SDL.h anyway? 😦
22:53
for that
Avatar
yea, that should be hidden away in a different file
22:58
it's kinda bad practice
22:59
(in src/engine/client/backend_sdl.cpp, most likely)
Exported 332 message(s)