You are Unregistered, please register to gain Full access.
    


RaGEZONE sponsored advertisment:

World of Warcraft Image
Would you like your advertisement banner here? Perfect exposure for your world of warcraft server! click the banner to email me today!

 
 
LinkBack Thread Tools
Old 02-02-2010   #1 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Jan 2008
Posts: 7
Thanked 0 Times in 0 Posts

Error when compiling Mangos

Your Ad Here
So here is my Probelm:
I want to install Mangos on Ubuntu 9,10, server is running in a Virtual Box atm
This is What I've done:
1: Updated Linux, Updated openssl
2: Git clone Mangos
3: Downloaded ScriptDev2 and applied patch
4: Autoreconf
5: Configure
6: make (and here is my problem)

When I hit make, after compiling a few things i get:
Code:
"make[6]: Entering directory `/root/mangos/objdir/src/bindings/ScriptDev2'
../../../src/tools/genrevision/genrevision ../../../../src/bindings/ScriptDev2
  CXX    boss_reliquary_of_souls.lo
  CXX    boss_teron_gorefiend.lo
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:82: error: redefinition of ‘struct Position’
../../../../src/bindings/ScriptDev2/../../game/Unit.h:716: error: previous definition of ‘struct Position’
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: error: could not convert ‘{4.503999999999999772626324556767940521240234375e+2, 2.1230000000000001136868377216160297393798828125e+2}’ to ‘Position’
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: error: could not convert ‘{5.421000000000000227373675443232059478759765625e+2, 2.1230000000000001136868377216160297393798828125e+2}’ to ‘Position’
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: error: could not convert ‘{5.421000000000000227373675443232059478759765625e+2, 1.6830000000000001136868377216160297393798828125e+2}’ to ‘Position’
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: error: could not convert ‘{5.421000000000000227373675443232059478759765625e+2, 1.37400000000000005684341886080801486968994140625e+2}’ to ‘Position’
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: error: could not convert ‘{4.503999999999999772626324556767940521240234375e+2, 1.37400000000000005684341886080801486968994140625e+2}’ to ‘Position’
../../../../src/bindings/ScriptDev2/scripts/outland/black_temple/boss_reliquary_of_souls.cpp:95: error: could not convert ‘{4.503999999999999772626324556767940521240234375e+2, 1.6830000000000001136868377216160297393798828125e+2}’ to ‘Position’
make[6]: *** [boss_reliquary_of_souls.lo] Error 1
make[6]: *** Waiting for unfinished jobs...."

I've also attached a file with the complete Stdout & Stderr

Thx in advance for any info/help :D
Attached Files
This post has an attachment which you could see if you were registered. Registering is quick and easy
devineavenger is offline   Reply With Quote

RaGEZONE sponsored advertisment:
Old 02-02-2010   #2 (permalink)
Need... moar... cookiez..
 
zingmars's Avatar
 
Rank: Member +
Join Date: Oct 2006
Location: Latvia
Posts: 925
Thanked 0 Times in 0 Posts

Re: Error when compiling Mangos

looks like a problem in the source. someone must made a typo or something. (typos = fatal in C++)
__________________

Latvia FTW!
zingmars is offline   Reply With Quote

Endorsement
Old 02-02-2010   #3 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Jan 2008
Posts: 7
Thanked 0 Times in 0 Posts

Re: Error when compiling Mangos

I had a guess that this could be the problem... question now.. is how do I fix it?? because it is a problem that every boss has... :D
devineavenger is offline   Reply With Quote

Endorsement

Old 02-02-2010   #4 (permalink)
Need... moar... cookiez..
 
zingmars's Avatar
 
Rank: Member +
Join Date: Oct 2006
Location: Latvia
Posts: 925
Thanked 0 Times in 0 Posts

Re: Error when compiling Mangos

Originally Posted by devineavenger View Post
I had a guess that this could be the problem... question now.. is how do I fix it?? because it is a problem that every boss has... :D
learn c++. or wait for a new revision. tbh i got no idea how to fix... ^_^
__________________

Latvia FTW!
zingmars is offline   Reply With Quote
Old 02-02-2010   #5 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Jan 2008
Posts: 7
Thanked 0 Times in 0 Posts

Re: Error when compiling Mangos

Thx :D, I'll have a crack at it although my c skills are kinda rusty.. I'll post a reply if I find the problem... If someone can fix it before me... I'll be thrilled if you could post it here :D
devineavenger is offline   Reply With Quote
Old 02-03-2010   #6 (permalink)
Need... moar... cookiez..
 
zingmars's Avatar
 
Rank: Member +
Join Date: Oct 2006
Location: Latvia
Posts: 925
Thanked 0 Times in 0 Posts

Re: Error when compiling Mangos

Originally Posted by devineavenger View Post
Thx :D, I'll have a crack at it although my c skills are kinda rusty.. I'll post a reply if I find the problem... If someone can fix it before me... I'll be thrilled if you could post it here :D
you can use pre-compiled one (or a repack) ;)
also C =/= C++.
good luck tho.
__________________

Latvia FTW!
zingmars is offline   Reply With Quote
Old 02-09-2010   #7 (permalink)
RaGEZONER
 
Rank: Hobbit
Join Date: Jun 2006
Posts: 78
Thanked 0 Times in 0 Posts

Re: Error when compiling Mangos

Maybe too later comment but anyway: you use outdated ScriptDev2 version not compatible with used mangos core version. Just need update SD2.
merzliakov is offline   Reply With Quote
Old 1 Week Ago   #8 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Jan 2008
Posts: 7
Thanked 0 Times in 0 Posts

Re: Error when compiling Mangos

yes, you are some what right... but at that time, SD2 was not updated for the new mangos core... I made it work at that moment with some c patches.. but now they are useless, because SD2 works just fine :D sooo.... thx for the help...
devineavenger is offline   Reply With Quote
 

Bookmarks

Tags
compile error, linux, mangos

Thread Tools




Translated by Google
Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Taiwanese Thai Turkish Ukrainian Vietnamese
no new posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274