wARmAcH1n3
Member
|
Can't compile Bloody massacre with new libs/dll
i got in the compile-editor this error
Error: Invalid "static" keyword for global variable/function
(i copied the new lib,dll and h-files into the BM-folders and i created a new project and put it by application all the 14 .cpp files in and compiled)
in VS 2008 i got this error (with new libs/dll, with old it works)
1>------ Rebuild All started: Project: Bloody Massacre, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'Bloody Massacre', configuration 'Release|Win32'
1>Compiling...
1>stdafx.cpp
1>Compiling...
1>Player.cpp
1>Options.cpp
1>Messages.cpp
1>Main.cpp
1>.\Source\Main.cpp(55) : error C2228: left of '.load' must have class/struct/union
1> type is 'EE::Font *'
1> did you intend to use '->' instead?
1>Light.cpp
1>Item.cpp
1>.\Source\Item.cpp(43) : error C2661: 'EE::Image::drawFit' : no overloaded function takes 4 arguments
1>Inventory.cpp
1>Inventory Gui.cpp
1>Intro.cpp
1>.\Source\Intro.cpp(40) : error C2661: 'EE::Image::drawFit' : no overloaded function takes 6 arguments
1>.\Source\Intro.cpp(41) : error C2661: 'EE::Image::drawFit' : no overloaded function takes 6 arguments
1>Game.cpp
1>.\Source\Game.cpp(185) : error C2661: 'EE::Image::draw' : no overloaded function takes 6 arguments
1>Character.cpp
1>Bullet.cpp
1>Blood.cpp
1>AI.cpp
1>Generating Code...
1>Build log was saved at "file://f:\Testx\Release\BuildLog.htm"
1>Bloody Massacre - 5 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
is the a way to play it with the updated engine?
|
|
08-07-2012 12:03 AM |
|
Dwight
Member
|
RE: Can't compile Bloody massacre with new libs/dll
Did you also download the NEW source code of BM?
Did you check for namechanges and everything in the Updates forum?
|
|
08-07-2012 05:03 PM |
|
wARmAcH1n3
Member
|
RE: Can't compile Bloody massacre with new libs/dll
(This post was last modified: 08-07-2012 07:28 PM by wARmAcH1n3.)
|
|
08-07-2012 07:27 PM |
|
wARmAcH1n3
Member
|
RE: Can't compile Bloody massacre with new libs/dll
i re-read the installation guide its all correct
and seeked after the namechanges the last 2 post from 2012
nothing helped
|
|
08-08-2012 12:27 AM |
|
wARmAcH1n3
Member
|
RE: Can't compile Bloody massacre with new libs/dll
(08-08-2012 04:18 AM)aceio76 Wrote: 'font' and 'image' are DEFINITELY recently changed.
Fonts are now pointers. You can easily correct this.
Some of image.drawXXXX functions have changed in what parameters they accept.
I suggest you use your IDE's autocomplete feature to determine what is the correct syntax.
thank you, i got it to compile
i had to change the x,y,w,h to a Rect, then it compiled, but only in VS not in the compile editor
after an another error with solution...
http://www.esenthel.com/community/showth...8#pid33648
... and changing a weapon.enum + .h (weapon pistol and rifle wasnt setted) i can play
only the changed draw-images work strange, the rect isnt right setted by me
|
|
08-08-2012 10:04 PM |
|
Esenthel
Administrator
|
RE: Can't compile Bloody massacre with new libs/dll
Bloody Massacre has Esenthel SDK included in the game package (that version is compatible with BM source code), so you can use that SDK to compile it.
BM was not recently updated to compile with latest SDK.
|
|
08-10-2012 02:32 PM |
|
wARmAcH1n3
Member
|
RE: Can't compile Bloody massacre with new libs/dll
(08-10-2012 02:32 PM)Esenthel Wrote: Bloody Massacre has Esenthel SDK included in the game package (that version is compatible with BM source code), so you can use that SDK to compile it.
BM was not recently updated to compile with latest SDK.
what's about the source-codes in the store? are they compatible with the lastest SDK?
|
|
08-10-2012 05:48 PM |
|
Esenthel
Administrator
|
RE: Can't compile Bloody massacre with new libs/dll
Yes, all elements from the store are up-to-date with latest SDK.
I occasionally I forget to update some sources to latest version you just need to post about some issues on the forum and I'll update the sources shortly.
|
|
08-14-2012 02:31 PM |
|