Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-12-02 00:00:00Z and 2020-12-03 00:00:00Z
Avatar
what is the git comand for dw tw source
Avatar
A retro multiplayer shooter. Contribute to teeworlds/teeworlds development by creating an account on GitHub.
14:31
Probably in the readme
Avatar
thx
Avatar
can i compile all file with gcc of wingw?
Avatar
mingw procedures is mentioned in the readme afair
Avatar
are u the game creator xd
Avatar
no, that would be matricks and others
Avatar
so i cant with wingw
Avatar
ctrl-f mingw
15:24
MingW is a compiler not a build system
15:25
i dont know bam so i prefert use wingw
Avatar
ho shit (edited)
15:40
xdd my keyboard switch to other config (edited)
Avatar
does it flip characters vertically? wᴉuმʍ
Avatar
not i edit language of my keyboard but i forgot delet him ;d
Avatar
@Dune how i can build teeworlds with mingw
Avatar
read the readme
Avatar
command in cmd
Avatar
if you struggle, I would recommend not to start with mingw, which is the hardest
16:08
prefer MSVC
Avatar
i have vs code and vs19 but i cant compile
16:12
wait i send capt
16:13
what i do now
Avatar
follow the instructions to compile with cmake or bam + Visual Studio
16:21
Download and install some version of Microsoft Visual Studio (as of writing, MSVS Community 2019) with the following components:
>
Desktop development with C++ (on the main page) Python development (on the main page) Git for Windows (in Individual Components → Code tools)
Avatar
ok but when i did that how create shortcut in the desktop for compile file
16:31
i think mingw is better bcs u just have to enter gcc/g++ [file] -o [name] and you have directly exe (edited)
16:33
but i cant
Avatar
you will need a build system either way (edited)
16:34
compiling a large project has more complications than you seem to assume
16:34
if you're on linux you can use cmake .. && make with some variations
16:34
or bam compiler=gcc
16:34
it will print a lot of "gcc/g++ [file] -o [name]" like you say
16:35
on windows you can still do that but you need a compiler installed properly and it's harder
Avatar
and how to do give me link of video pls
16:36
I'm sorry if I'm disturbing you
Avatar
there is no video, there are instructions in the readme
16:36
16:37
example of g++ commands output by the teeworlds build system
16:37
and the motivation for using one ;)
16:38
the methods described there are the simplest
Avatar
hmm what is the best/easy enter bam and cmake
Avatar
read and follow patiently the instructions
16:39
you can't skip steps
Avatar
i read all or just that xd
16:42
im so dumb for u
Avatar
you can choose the section you like, then tell us if you struggle on a specific step
Avatar
ok
Avatar
@Dune i dont have cmake makefile
17:12
ho shit im dumb
17:13
sry for ping
17:13
i forgot scroll lol
17:14
"You can now build Teeworlds by executing mingw32-make in the build directory."
17:14
what does it mean
17:15
17:15
red=good 🙃
Avatar
that dont work @Dune i dont have mingw32-make in build directory
17:34
CMake Deprecation Warning at C:/Users/Nouaa/Desktop/build/googletest-src/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at C:/Users/Nouaa/Desktop/build/googletest-src/googlemock/CMakeLists.txt:42 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at C:/Users/Nouaa/Desktop/build/googletest-src/googletest/CMakeLists.txt:49 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. (edited)
17:34
error in cmake terminal
Avatar
use ``` for code blocks
17:41
i don't see an error
Avatar
but its red in cmake terminal and i dont have mingw32-make in build file
Avatar
@Dune im waiting
Avatar
what does it say below the red stuff?
18:39
there should be a text field with the log
Avatar
config done @heinrich5991 (edited)
18:41
Generating done
18:42
Avatar
hm that looks good
Avatar
and you don't have a file called Makefile in C:\Users\Nouaa\Desktop\build?
Avatar
i have
18:44
Avatar
is there a name called Makefile in there?
18:46
after what i do
Avatar
@heinrich5991 what i do now
Avatar
try to go into the build directory, go into a command line where you have mingw32-make, and execute it in the build directory
19:29
do you have mingw32-make? it's some software you can obtain somewhere, you can probably google where to find mingw32 or so
19:29
I'm not familiar with that
Avatar
@heinrich5991 i have already mingw
Avatar
do you have mingw32-make
19:33
?
Avatar
not that?
Avatar
no
19:34
it needs to be a tool you can call from the command line
Avatar
can u give link?
19:36
Avatar
mingw32-cmake seems to be installed already 😉
19:37
now go to the build directory
19:37
with cd
19:37
and execute it again
19:38
Avatar
go one level up
19:38
and cross fingers
19:38
😄
19:39
i open what
Avatar
in the console
19:39
do cd ..
19:39
and then try mingw32-make again
19:40
same?
Avatar
type cd .. (with the two dots, to go to the parent directory)
Avatar
omg
19:41
green text
Avatar
\o/
Avatar
purple is good?
Avatar
error is bad. purple is fine
Avatar
shit..
Avatar
I am currently trying to install Eclipse for making C++ programs. I've run into an issue when compiling the premade default hello world program. The console shows this error: c:/mingw/bin/../...
Avatar
I had the same problem even with those packages installed. I had to go to mingw\lib and copy the file libpthreadGC-3.a and rename it to libpthread.a and the file libpthreadGC-3.dll.a rename it to libpthread.dll.a After that it works!
19:44
i do that?
Avatar
try this first:
Just run and open MinGW Installation Manager, which should be pre-installed with MinGW, select "All Packages" on the left panel, and on the right panel, search for "mingw32-pthreads-w32" packages and install them.
Avatar
all?
Avatar
-dev probably suffices, all doesn't hurt
Avatar
ik im matrix man
19:47
he dont stop
19:47
he is fast
19:47
same error
19:47
Avatar
open cmakelists.txt and remove the line with -fstack-protector-strong
Avatar
not same
19:49
Avatar
look for -fstack-protector (edited)
Avatar
dont work (edited)
Avatar
also not found?
Avatar
yes
19:55
i search to all cmakelists but no
Avatar
what's in line 155?
19:59
wait
19:59
this is the wrong CMakeLists.txt
19:59
you need the one in the teeworlds directory directly
Avatar
ho ok
20:01
what i delet
Avatar
the whole line
Avatar
add_c_compiler_flag_if_supported(OUR_FLAGS -fstack-protector-strong)
20:02
?
Avatar
yes
Avatar
\
20:05
what wrong with me
Avatar
hm. not sure how to fix
🇲 1
🇸 1
🇻 1
🇨 1
20:08
the only other idea I have is using MSVC, or trying again with the more modern version of mingw: https://www.msys2.org/
20:09
Dune is also in favor of MSVC, I see 😄
Avatar
but i want create executable in my desktop
Avatar
not sure what you mean by "in my desktop"
20:10
msvc also creates executables
Avatar
with msvc i just build so i must start vs...
Avatar
okay, if you don't like MSVS, the only other option I see is trying msys2
20:11
uninstall mingw first, I guess
20:11
:w
20:11
w/c
Avatar
i try that i have school tomorrow
20:12
thx for help
Avatar
good night 🙂
Avatar
i ping u if have other prob?
Avatar
it's okay, yes. I'm not always online. please don't PM though
Avatar
ok if you want bb
20:13
see u
Avatar
you don't need to start the IDE to build with MSCVC tools. you only need to install their compiler
Avatar
link?
Avatar
oh, that's also true
Avatar
I think there's a link in the readme
Avatar
i cant dw only the compiler
20:16
Avatar
the link in the readme leads do there
20:16
and then you can afaik
Avatar
3.26go = 5 hours for me lol
20:18
i dw that this night and see tomorrow
20:18
ty for help
Exported 175 message(s)