1

Topic: Compiling Teeworlds doesnt work anymore

Hey,

after formating my hdd's and reinstalling windows I cant compile teeworlds anymore.
I get many errors, because it says most of the varibles are not defined.
And some errors that something is wrong with python(i installed now 2.7 aswell and it seems to work now).
Another error is this and i have no Idea how to fix it:

German, original compiler output:

Setting environment for using Microsoft Visual Studio 2010 x86 tools.

=== Building Teeworlds Server ===
[1/1] #1 link teeworlds.exe
client.obj : error LNK2038: Konflikt ermittelt für "_MSC_VER": Der Wert "1700" stimmt nicht mit dem Wert "1600" in console.obj überein.
teeworlds.exe : fatal error LNK1319: 1 Konflikte ermittelt
bam: 'teeworlds.exe' error 1319
bam: error: a build step failed
=== Finished ===

English, translated by google

Setting environment for using Microsoft Visual Studio 2010 x86 tools.

=== Building Teeworlds Server ===
[1/1] # 1 link teeworlds.exe
client.obj: error LNK2038: Conflict detected for "_MSC_VER": The value "1700" does not agree with the value "1600" in console.obj.
fatal error LNK1319:: teeworlds.exe identified a conflict
bam 'teeworlds.exe' error 1319
bam: error: a build step failed
=== Finished ===

Someone got an idea what i could try?
I already deleted config.lua

General Information:
System: Win7 64bit
Installed: Python 3.2, Python 2.7, Visual Studio 2010 Express C++, bam 0.4.0

-Netroxx

2

Re: Compiling Teeworlds doesnt work anymore

I get many errors, because it says most of the varibles are not defined.

Show us these errors first, the final LNK error doesn't mean anything.

Not Luck, Just Magic.

3

Re: Compiling Teeworlds doesnt work anymore

Its not necessary, the source is corrupted; I dont know how this is possible, just because of reinstalling windows?

Anyways, problem solved hmm

4

Re: Compiling Teeworlds doesnt work anymore

.....Sure, the SOURCE is corrupted >.<

5 (edited by Netroxx 2012-07-24 02:31:55)

Re: Compiling Teeworlds doesnt work anymore

Yes, what else could it be?
The original source i had on my pc didnt work, after downloading it again it worked. Problem?

6

Re: Compiling Teeworlds doesnt work anymore

Yes. You expect stuff to work exactly perfectly after you've changed alot. Problem solved apparently. So CLOSED.

7

Re: Compiling Teeworlds doesnt work anymore

Netroxx Logic: Tampered with the source code and tried to compile. Doesn't work because the source is "corrupt".
Sounds legit...

Once in a century...

8

Re: Compiling Teeworlds doesnt work anymore

It was the original source code, and I didnt temperted with it. I uploaded it with some other sources on dropbox, before I formated my pc. After I downloaded it, it couldnt be compiled. So tell me what i have done to the source?

You all think i'm retarded or why dont you believe what I say?

9

Re: Compiling Teeworlds doesnt work anymore

Well whatever you say. My best guess is you didn't install everything properly. Either you're using the wrong version of python, or C++ didn't get set up right. So that's pretty much that.

10

Re: Compiling Teeworlds doesnt work anymore

I can compile Teeworlds, but the sources i uploaded and i could compile them. And the old sources dont give me errors, I can compile them, I can start them, but after a few seconds it freezes and i get the message: "Teeworlds doesnt work anymore" -I dont know how the message looks like in english. But, thats not all: The whole GUI is black, although I never edited files belonging to the GUI..

11

Re: Compiling Teeworlds doesnt work anymore

Ok. Here's the solution:
UNINSTALL everything related to teeworlds - python, visual c++ 2010, and all.

REBOOT your computer so it can clean up the reg keys.

FOLLOW all the instructions for setup and compilation. (https://www.teeworlds.com/forum/viewtopic.php?id=9541) here's a good tutorial.

DOWNLOAD 0.6.1 Teeworlds source (www.teeworlds.com/files/teeworlds-0.6.1-source.zip) or the latest source at github (https://github.com/teeworlds/teeworlds).

***This is what countless people have done and it has worked for them. I've done this all myself.

12

Re: Compiling Teeworlds doesnt work anymore

I can compile everything, almost, but I have to copy the source into a new folder.
Then it works. So what is the problem when I try to compile it in the original folder? Do I need to delete the objs folder?

13

Re: Compiling Teeworlds doesnt work anymore

No, you don't need to delete anything, you don't need to move anything. Follow instructions.

14

Re: Compiling Teeworlds doesnt work anymore

Netroxx wrote:

I can compile everything, almost, but I have to copy the source into a new folder.
Then it works. So what is the problem when I try to compile it in the original folder? Do I need to delete the objs folder?

Removing objs/ folder sometimes solve the problem. I don't believe rebooting the computer will help anyhow.

Not Luck, Just Magic.

15

Re: Compiling Teeworlds doesnt work anymore

Dune, please read the whole post.

16

Re: Compiling Teeworlds doesnt work anymore

That black GUI reminds me of my friend's problem with Teeworlds, which was solved by installing the latest video card driver. Since you mentioned that you have installed a fresh Windows, have you installed the video card driver?

But... what if we tried more power?

17

Re: Compiling Teeworlds doesnt work anymore

+1 mASOUD
I didn't think about that cuz I can't really understand what this guy is trying to complain about.

18

Re: Compiling Teeworlds doesnt work anymore

Dune wrote:
Netroxx wrote:

I can compile everything, almost, but I have to copy the source into a new folder.
Then it works. So what is the problem when I try to compile it in the original folder? Do I need to delete the objs folder?

Removing objs/ folder sometimes solve the problem. I don't believe rebooting the computer will help anyhow.

@FullFaceTee:
Dune is probably right, the old obj files are from the old compiler, now he installed a new one (accompanied with a new linker) and the new linker doesn't understand the old format.

19 (edited by theanomaly 2012-07-26 05:04:45)

Re: Compiling Teeworlds doesnt work anymore

The compiler and linker have not changed for many years. All major C/C++ compilers and linkers maintain a backwards compatibility. Don't get me wrong though, there are changes in the source of the compiler and linker, but nothing that changes exactly have an object is created and linked together.
Besides, I've completely at a loss as to what exactly are his problems anymore. tongue

20

Re: Compiling Teeworlds doesnt work anymore

Full Face Tee wrote:

The compiler and linker have not changed for many years. All major C/C++ compilers and linkers maintain a backwards compatibility. Don't get me wrong though, there are changes in the source of the compiler and linker, but nothing that changes exactly have an object is created and linked together.
Besides, I've completely at a loss as to what exactly are his problems anymore. tongue

Seriously, do some research before writing nonesense. Thanks.

Dune's answer was completely right, I'm not going to point you out some links, learn to use google. Reinstalling the whole stuff won't have a single point which is proved by the successful build after he downloaded the source again (without the obj/ directory).

21

Re: Compiling Teeworlds doesnt work anymore

Ok, whatever you say heinrich. Have a nice day or whatever tongue