Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2018-12-29 00:00:00Z and 2018-12-30 00:00:00Z
Avatar
Hey! I struggle compiling the client for windows 32bit, using bam with make_win32_msvc.bat. When it comes to src/engine/client/backend_sdl.cpp, i get: "error: function 'void glTextImage3D(...)' definition is marked dllimport .... warning: 'void glTextImage3D(...) redeclared without dllimport attribute, previous dllimport ignored'"
08:34
And btw, I couldn't get the bam working with make_win64_msvc.bat. It complains "Unknown architecture" oO
Avatar
Visual studio 2017?
09:11
Does it compile with cl ?
09:11
Or gcc
Avatar
cli
09:12
using gcc
Avatar
Should use cl
09:12
No cli
09:12
CL is the name of
09:13
Msvc compilator :P
09:13
You have to set up it by hand.
Avatar
[HowTo] Compile 0.7 on windows (Page 1) — Development — Teeworlds Forum — Everything Teeworlds!
Avatar
Bam can set up architecture via cms
09:14
Cmd
09:14
Arch=x86
09:15
Iirc
Avatar
Uuuh
Avatar
Or x86_64 (edited)
Avatar
What are the steps to use that cl thingy?
Avatar
Vs2017?
09:17
Check out bam repository, there is issue
09:17
With vs2017.
09:17
It doesnt add path to windows path
09:17
You have to run one .bat file which will
09:18
Give you msvc compilator
09:18
You have to do that each time you compile tw with CL compiler
09:19
I have a script, but im not near computer. Sorry!
Avatar
This is great.
09:19
I will just skip on this and move on with my life oO
09:19
Sick of windows so much xD
09:20
They did that, because "the dont want to mess up computer too much with paths"
09:20
So you have add it manually ich time
09:20
You want to use 2017 ver. Of msvc
09:20
:D
09:21
Each
Avatar
Well I do have 2015, too, if that is of any help?
Avatar
Hmm. So. Have you try
09:21
To set compiler to cl then?
09:22
Dont remember command
09:22
But in bam.lua or config.lua
09:22
You can set up that one line
Avatar
Wait, i am still stuck on compiling again. Should only take up to about 5 more minutes...
Avatar
Then you can try one more time
09:23
If unknown
Avatar
alright alright
09:23
config.lua opened
Avatar
Then run bam wirh parameter conf=
Avatar
compiler.driver = 'gcc'
Avatar
Set to cl
Avatar
done
Avatar
Try now
Avatar
Still compiling, be patient 😄
Avatar
590/647
Avatar
Most time it copying stuff (edited)
Avatar
hm
09:25
"Cross compiling is unsupported on windows"
Avatar
With cl?
Avatar
ye
Avatar
Bam compiled with msvc?
Avatar
again?
Avatar
Okay, so it is
Avatar
running it now again.
Avatar
That is odd
Avatar
the msvc.bat
09:26
then trying "bam/bam arch=x86_64 conf=release"
09:27
negative.
Avatar
I think
09:27
We have to clean bam in that tw folder
Avatar
cl is not working as it should
Avatar
And then generate config one more time
Avatar
he said 'cl' is not recognized as an internal or external command, operable program or batch file
Avatar
With parameter for compiler
09:28
Ha!
09:28
You see!
09:28
Thats because its not in your path (edited)
09:28
Windows path
Avatar
Though i do have 2015 installed
09:28
._.
Avatar
Compiling bam with Visual Studio 2017 over make_win64_msvc.bat is not possible. VS 2017 does not register an environment variable for "VSCOMNTOOLS" like older VS do. maybe search for VS 2...
09:30
Before bam, you have to execute
09:30
Vcvarsall.bat (edited)
09:30
In terminal
09:30
And then in the same terminal
09:31
You have to run bam/bam
09:31
I mean normal compilation
09:31
As usual
Avatar
sweet jesus.
Avatar
Thats why i made script for ir
09:32
It
Avatar
Still same cl error.
Avatar
That's curioua
09:35
Maybe its ci ?
09:36
Oh okay, it says
09:37
That you have just run that bat file
09:37
It will make stuff and in the created
09:37
Terminal you will have cl
09:40
Btw. Does your vs2015
09:40
Have installed c++ stuff?
Avatar
I... I guess.
Avatar
I am trying to compile openssl library for python script. I am using Windows x64 bit. I am now following steps in this like: https://github.com/dsoprea/M2CryptoWindows It worked till I type this
09:41
I mean, its not included by default
Avatar
You know, I just shut down my windows laptop now. Enough windows for today 😩
Avatar
Hahaha
Avatar
Thank you anway!
09:42
I will just pretend to not own windows and ask someone to compile it for me.
Avatar
I think, you dont have that stuff installed
09:43
I actually think I did install it.
Avatar
Who knows. Its windowa
09:43
Windows
Avatar
The 5 minutes it takes to compile teeworlds drive me crazy alone.
Avatar
Stupidest OS.
Avatar
Server compile in seconds
09:44
Client as well
09:44
Copying data...
09:44
Like Forever
Avatar
Nope. I can literally see every single character flying through the cli
09:46
It is a fresh installation of windows 10 on a pretty solid laptop with a ssd.
09:46
But it takes about 3 minutes to boot!
09:46
Ridiculous.
09:46
I really don't know and even worse: At this point I really don't care enough.
Avatar
b8c2296 hacking.md: #teeworlds-dev no longer exists - Dune-jr
Exported 126 message(s)