CombinE88 / Medieval-Warfare

Medieval Warfare mod for OpenRa
GNU General Public License v3.0
21 stars 5 forks source link

Build fails on openSUSE Tumbleweed: error CS1061 #6

Closed fusion809 closed 6 years ago

fusion809 commented 6 years ago

Hi,

I tried to build this on openSUSE Tumbleweed, with 'make' and I received the full build output is:

make[1]: Entering directory '/data/GitHub/others/Medieval-Warfare/engine'
make[1]: Leaving directory '/data/GitHub/others/Medieval-Warfare/engine'
make[1]: Entering directory '/data/GitHub/others/Medieval-Warfare/engine'
make[1]: Leaving directory '/data/GitHub/others/Medieval-Warfare/engine'
The engine has been cleaned.
make[1]: Entering directory '/data/GitHub/others/Medieval-Warfare/engine'
Fetching StyleCopPlus from NuGet
Fetching StyleCop files from NuGet
Fetching ICSharpCode.SharpZipLib from NuGet
Fetching MaxMind.Db from NuGet
Fetching SharpFont from NuGet
Fetching NUnit from NuGet
Fetching NUnit.Console from NuGet
Fetching Open.Nat from NuGet
Fetching FuzzyLogicLibrary from NuGet.
Fetching SDL2-CS from GitHub.
Fetching OpenAL-CS from GitHub.
Fetching Eluant from GitHub.
Fetching rix0rrr.BeaconLib from NuGet.
Updating GeoIP country database from MaxMind.
Detected Lua 5.1 library at /usr/lib64/liblua5.1.so.5.1
Eluant.dll.config has been created successfully.
CSC fixheader.exe
CSC OpenRA.Game.exe
CSC OpenRA.Platforms.Default.dll
CSC mods/common/OpenRA.Mods.Common.dll
CSC mods/common/OpenRA.Mods.Cnc.dll
CSC mods/d2k/OpenRA.Mods.D2k.dll
CSC OpenRA.Utility.exe
CSC OpenRA.Server.exe
make[1]: Leaving directory '/data/GitHub/others/Medieval-Warfare/engine'
Traits/Player/PlayerCivilization.cs(269,21): error CS1061: 'HackyAI' does not contain a definition for 'number_CountPeasants' and no extension method 'number_CountPeasants' accepting a first argument of type 'HackyAI' could be found (are you missing a using directive or an assembly reference?)                                                                                              
Traits/Player/PlayerCivilization.cs(270,21): error CS1061: 'HackyAI' does not contain a definition for 'number_CountPossiblePopulation' and no extension method 'number_CountPossiblePopulation' accepting a first argument of type 'HackyAI' could be found (are you missing a using directive or an assembly reference?)                                                                          
Traits/Player/PlayerCivilization.cs(271,21): error CS1061: 'HackyAI' does not contain a definition for 'number_CountPotentialFreeBeds' and no extension method 'number_CountPotentialFreeBeds' accepting a first argument of type 'HackyAI' could be found (are you missing a using directive or an assembly reference?)                                                                            
Traits/Player/PlayerCivilization.cs(286,21): error CS1061: 'HackyAI' does not contain a definition for 'AcolyteBuilder' and no extension method 'AcolyteBuilder' accepting a first argument of type 'HackyAI' could be found (are you missing a using directive or an assembly reference?)         
Traits/Player/PlayerCivilization.cs(287,21): error CS1061: 'HackyAI' does not contain a definition for 'AcolyteHarvester' and no extension method 'AcolyteHarvester' accepting a first argument of type 'HackyAI' could be found (are you missing a using directive or an assembly reference?)     
MWAI/UndeadAIHAndler.cs(48,82): error CS1061: 'HackyAIInfo.BuildingCategories' does not contain a definition for 'Houses' and no extension method 'Houses' accepting a first argument of type 'HackyAIInfo.BuildingCategories' could be found (are you missing a using directive or an assembly reference?)                                                                                         
MWAI/UndeadAIHAndler.cs(54,38): error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public definition for 'GetEnumerator'                      
MWAI/UndeadAIHAndler.cs(70,98): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)        
MWAI/UndeadAIHAndler.cs(75,119): error CS1061: 'HackyAI' does not contain a definition for 'initialBaseCenter' and no extension method 'initialBaseCenter' accepting a first argument of type 'HackyAI' could be found (are you missing a using directive or an assembly reference?)               
MWAI/UndeadAIHAndler.cs(77,35): error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public definition for 'GetEnumerator'                      
MWAI/UndeadAIHAndler.cs(79,141): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)       
MWAI/UndeadAIHAndler.cs(120,116): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)      
MWAI/UndeadAIHAndler.cs(120,183): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)      
MWAI/UndeadAIHAndler.cs(121,103): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)      
MWAI/UndeadAIHAndler.cs(122,103): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)      
MWAI/UndeadAIHAndler.cs(123,103): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)      
MWAI/UndeadAIHAndler.cs(128,41): error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public definition for 'GetEnumerator'                     
MWAI/UndeadAIHAndler.cs(133,39): error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public definition for 'GetEnumerator'                     
MWAI/UndeadAIHAndler.cs(148,74): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)       
MWAI/UndeadAIHAndler.cs(148,116): error CS1061: 'T' does not contain a definition for 'Info' and no extension method 'Info' accepting a first argument of type 'T' could be found (are you missing a using directive or an assembly reference?)                                                    
MWAI/UndeadAIHAndler.cs(148,133): error CS1061: 'T' does not contain a definition for 'CenterPosition' and no extension method 'CenterPosition' accepting a first argument of type 'T' could be found (are you missing a using directive or an assembly reference?)                                
MWAI/UndeadAIHAndler.cs(148,188): error CS1061: 'HackyAI' does not contain a definition for 'initialBaseCenter' and no extension method 'initialBaseCenter' accepting a first argument of type 'HackyAI' could be found (are you missing a using directive or an assembly reference?)              
MWAI/UndeadAIHAndler.cs(148,232): error CS1061: 'T' does not contain a definition for 'CenterPosition' and no extension method 'CenterPosition' accepting a first argument of type 'T' could be found (are you missing a using directive or an assembly reference?)                                
MWAI/UndeadAIHAndler.cs(148,287): error CS1061: 'HackyAI' does not contain a definition for 'initialBaseCenter' and no extension method 'initialBaseCenter' accepting a first argument of type 'HackyAI' could be found (are you missing a using directive or an assembly reference?)              
MWAI/UndeadAIHAndler.cs(152,47): error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public definition for 'GetEnumerator'                     
MWAI/UndeadAIHAndler.cs(155,120): error CS1061: 'HackyAIInfo' does not contain a definition for 'AcolytePrayProximity' and no extension method 'AcolytePrayProximity' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)
MWAI/UndeadAIHAndler.cs(170,61): error CS1061: 'HackyAIInfo' does not contain a definition for 'MinimumResourceFields' and no extension method 'MinimumResourceFields' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)                                                                                                
MWAI/UndeadAIHAndler.cs(231,95): error CS1061: 'HackyAIInfo' does not contain a definition for 'AcolyteWorkerRatio' and no extension method 'AcolyteWorkerRatio' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)     
MWAI/UndeadAIHAndler.cs(259,60): error CS1061: 'HackyAIInfo' does not contain a definition for 'AcolyteWorkerRatio' and no extension method 'AcolyteWorkerRatio' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)     
MWAI/UndeadAIHAndler.cs(276,99): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)       
MWAI/UndeadAIHAndler.cs(276,168): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)      
MWAI/UndeadAIHAndler.cs(276,236): error CS1061: 'HackyAIInfo' does not contain a definition for 'UndeadCommonNames' and no extension method 'UndeadCommonNames' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)      
MWAI/UndeadAIHAndler.cs(282,43): error CS1061: 'T' does not contain a definition for 'TraitsImplementing' and no extension method 'TraitsImplementing' accepting a first argument of type 'T' could be found (are you missing a using directive or an assembly reference?)
MWAI/UndeadAIHAndler.cs(284,59): error CS1061: 'HackyAIInfo' does not contain a definition for 'MAxAcolytesOnEmptyPatch' and no extension method 'MAxAcolytesOnEmptyPatch' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)
MWAI/UndeadAIHAndler.cs(292,84): error CS1061: 'T' does not contain a definition for 'Location' and no extension method 'Location' accepting a first argument of type 'T' could be found (are you missing a using directive or an assembly reference?)
MWAI/UndeadAIHAndler.cs(294,57): error CS1061: 'HackyAIInfo' does not contain a definition for 'MinimumResourceFields' and no extension method 'MinimumResourceFields' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)
MWAI/UndeadAIHAndler.cs(302,43): error CS1061: 'T' does not contain a definition for 'TraitsImplementing' and no extension method 'TraitsImplementing' accepting a first argument of type 'T' could be found (are you missing a using directive or an assembly reference?)
MWAI/UndeadAIHAndler.cs(304,54): error CS1061: 'HackyAIInfo' does not contain a definition for 'MAxAcolytesOnEmptyPatch' and no extension method 'MAxAcolytesOnEmptyPatch' accepting a first argument of type 'HackyAIInfo' could be found (are you missing a using directive or an assembly reference?)

OpenRA builds fine on this exact system, as does the uRA mod. Mono version is 5.10.1.47 and Lua 5.1 version is 5.1.5 (which provides /usr/bin/lua5.1), although /usr/bin/lua belongs to Lua 5.3.4, if relevant.

Thanks for your time, Brenton

fusion809 commented 6 years ago

This error has been fixed so closing.