Jump to content
  • 0

I can`t compile my mangos-zero


indignentangel

Question

Posted

Hello everyone!

I just downloaded my codes , opened the vs2010 project and compiled directly.

But servral errors occured.

>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(14): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(14): error C2086: 'int the' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(9) : see declaration of 'the'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(14): error C2146: syntax error : missing ';' before identifier 'General'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(14): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(14): error C2086: 'int GNU' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(12) : see declaration of 'GNU'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(14): error C2146: syntax error : missing ';' before identifier 'Public'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(14): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(14): error C2086: 'int General' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(12) : see declaration of 'General'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2146: syntax error : missing ';' before identifier 'License'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2086: 'int Public' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(12) : see declaration of 'Public'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2086: 'int License' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(12) : see declaration of 'License'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2146: syntax error : missing ';' before identifier 'with'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2146: syntax error : missing ';' before identifier 'Threading'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2146: syntax error : missing ';' before identifier 'Building'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2086: 'int Threading' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(3) : see declaration of 'Threading'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2146: syntax error : missing ';' before identifier 'Blocks'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2086: 'int Building' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(3) : see declaration of 'Building'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2086: 'int Blocks' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(3) : see declaration of 'Blocks'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(15): error C2059: syntax error : 'if'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(16): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(16): error C2143: syntax error : missing ';' before '.'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(16): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C2146: syntax error : missing ';' before identifier 'a'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C2146: syntax error : missing ';' before identifier 'special'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C2086: 'int a' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(14) : see declaration of 'a'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C2146: syntax error : missing ';' before identifier 'exception'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C2146: syntax error : missing ';' before identifier 'may'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C2086: 'int you' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(5) : see declaration of 'you'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C2146: syntax error : missing ';' before identifier 'use'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C2143: syntax error : missing ';' before 'this'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(19): error C2146: syntax error : missing ';' before identifier 'without'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(19): error C2146: syntax error : missing ';' before identifier 'restriction'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(19): error C2086: 'int without' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(10) : see declaration of 'without'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(19): error C2143: syntax error : missing ';' before '.'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(20): error C2146: syntax error : missing ';' before identifier 'or'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(20): error C2146: syntax error : missing ';' before identifier 'use'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(20): error C2086: 'int or' : redefinition

1> ..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(11) : see declaration of 'or'

1>..\..\dep\tbb\src\tbb\ia32-masm\atomic_support.asm(20): fatal error C1003: error count exceeds 100; stopping compilation

3 answers to this question

Recommended Posts

Posted

Can you build some more details regarding your build enviroment ?

OS ?

32/64 Bit ?

Tools used ?

OS: windows 7 64bit

Tools: vs2010

Platform: win32

DB: mySQL

The errors occured when compiling the tbb and tbbmalloc projects.

Posted

Update mangos-zero, and try the latest version. Carefully read the README, and install all mentioned dependencies.

This error is gone in the current version, and also the dependency on TBB is gone.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use