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 2019-03-02 00:00:00Z and 2019-03-03 00:00:00Z
Avatar
@NotAriaN you want add gores server type to your ddrace servers ?
Avatar
how do we force regenerate protocol.cpp with cmake @heinrich5991?
Avatar
Not sure if a snap item is the best idea for this but it should help with not sending the data more then needed and keeping it properly updated. The colors aren't great now but we can fix that easily. !image
Avatar
mooooods
Avatar
haha, fucking irc spammers
14:28
I'm not using irc enough to figure out if we're some target or just randomly get these spammers
Avatar
ᶰ°Konͧsti 2019-03-02 14:32:59Z
lol how is a pic spamming IRC? xd
Avatar
if you were on IRC you would see the 10 people joining and leaving the channel every minute
Avatar
ᶰ°Konͧsti 2019-03-02 14:35:51Z
lmao how bored someone has to be
Avatar
ChillerDragon 2019-03-02 15:05:20Z
any idea why i struggle to link libs with the newer ddnet versions? compiling became kinda impossible on mac for me
Avatar
what's the error?
Avatar
ChillerDragon 2019-03-02 15:05:44Z
differs on the source
15:05
but its always some missing lib
15:06
if i include thos files in a own project and compile with raw g++
15:06
it works fine
15:06
15:06
for example
15:06
or /Users/chillerdragon/Desktop/git/chillerbot-ng/src/base/hash_ctxt.h:8:10: fatal error: 'openssl/sha.h' file not found #include <openssl/sha.h>
Avatar
i don't know #include_next
Avatar
ChillerDragon 2019-03-02 15:07:14Z
me neither
15:07
but it also fails on normal includes
15:07
in a different fork of ddnet
15:07
15:07
my test.cpp works thi
Avatar
so if you run the same commands on the command line it works?
15:08
isn't osx using clang by default instead of gcc?
Avatar
ChillerDragon 2019-03-02 15:08:43Z
if i include same headers in my test.cpp it compiles
15:08
i can try clang as well
15:09
clang++ also works
15:09
i dont get the cmake magic and have no idea what is working differently there
15:09
and why it cant find the libs
Avatar
run make VERBOSE=1
15:09
then you see the exact commands
15:10
try the exact ones on command line and fix them, then we can ping heinrich to fix the cmake magic 😄
Avatar
ChillerDragon 2019-03-02 15:10:28Z
lol
15:10
it does use some weird compiler
15:10
i could use it to reproduce the bug
15:10
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
15:10
this also fails on my test.cpp
15:11
this is probably some super apply compiler
15:11
and worked fine until some os updates foked my system
15:11
maybe i can change cmake magic to use g++ or clang++ instead
Avatar
probably it takes the default c++ compiler
15:12
which c++
Avatar
ChillerDragon 2019-03-02 15:14:07Z
ah true those are symlinks
15:14
c++ -> clang
15:14
but i can compile my test.cpp with clang -.- ?
15:14
but not with the symlink poiting to clang xd
Avatar
are you sure they are pointing to the same clang, you might have more than one installed
Avatar
ChillerDragon 2019-03-02 15:17:33Z
not sure at all haha
15:18
ah true c++ -> clang means that the actual clang is in teh same dir
Avatar
ChillerDragon 2019-03-02 15:18:30Z
ye that one also fails on my test.cpp
Avatar
Then fix your system's xcode clang
15:18
or make the system one link to the one that works
Avatar
ChillerDragon 2019-03-02 15:18:59Z
yea i try to uninstall xcode completly
15:19
that could help
Avatar
or as a workaround pass the working one to cmake: cmake -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ ...
Avatar
ChillerDragon 2019-03-02 15:19:27Z
ah nice
15:20
dfq
15:20
that also fails on openssl?
15:21
could it be that cmake tells the compiler where to search fo openssl exclusivly?
15:22
i mean it is on my system under /usr/local/include/openssl
Avatar
take a look at what paths are included with -I
Avatar
ChillerDragon 2019-03-02 15:26:47Z
but it shouldnt need a path with -I ?
15:26
if for me clang++ test.cpp works
Avatar
i don't know which paths are standard on osx
15:27
also with the clang++ version from xcode?
Avatar
ChillerDragon 2019-03-02 15:27:21Z
the /usr/local/include is pretty standard
15:27
i guess
15:27
uhm no the clang++ from xcode is broken
15:27
but didnt i set my own compiler with ur nice command?
Avatar
maybe for linking some broken linker is chosen? dunno
Avatar
ChillerDragon 2019-03-02 15:28:19Z
it fails before linking i think
Avatar
ah right, include
Avatar
ChillerDragon 2019-03-02 15:28:28Z
y
15:28
i tried to use some SHA method in my test.cpp and then the linker failed
15:28
that looked different
Avatar
make VERBOSE=1 and take a look at the command?
Avatar
ChillerDragon 2019-03-02 15:30:00Z
-isysroot that flag looks evil
15:30
/usr/bin/g++ -DCONF_OPENSSL -DGLEW_STATIC -D_FORTIFY_SOURCE=2 -I/Users/chillerdragon/Desktop/git/ddnet/build/src -I/Users/chillerdragon/Desktop/git/ddnet/src -std=gnu++11 -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fstack-protector-all -stdlib=libc++ -mmacosx-version-min=10.7 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -o CMakeFiles/engine-shared.dir/src/engine/shared/datafile.cpp.o -c /Users/chillerdragon/Desktop/git/ddnet/src/engine/shared/datafile.cpp
15:30
yea i think deleteing xcode would be a good idea anyways
15:30
since it is obviosuly broken
Avatar
@ChillerDragon still need help with it? compiling works fine for me
Avatar
ChillerDragon 2019-03-02 16:13:43Z
still downloading xcode...
16:13
but thanks i will let u know
Avatar
what
16:35
guys look the development discussion of teeworlds
Avatar
@Deleted User where? irc?
Avatar
MOOOOOOODS
Avatar
no i mean leaked ak-64 in tewourlds !!
16:53
ok nevermind!!
Avatar
ChillerDragon 2019-03-02 17:41:54Z
? xd
17:42
@Learath2 reinstalling xcode didnt help :c
17:42
are you also running Mojave?
Avatar
@ChillerDragon yep
Avatar
@Learath2 it should be regenerated automatically (edited)
18:03
if not, just delete the file (build/src/game/generated/protocol.cpp)
Avatar
ChillerDragon 2019-03-02 18:15:54Z
@Learath2 was it mojave when u bought it? Urs is pretty new right?
Avatar
Pretty new but wasnt mojave when i got it
Avatar
can you make the hookline also visible through hooktiles and tees? i mean the theoretical line how far it would reach if the object wasnt there. but maybe as a dotted line. this could help on parts where you have to hook as late as possible but you cant see how much more you can wait
Avatar
@Im 'corneum ping nicht grundlos))
Exported 104 message(s)