Page 1 of 2

Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 12:22
by Michalpl
Hi could I and how if I can compile kamr i have downloaded all files from svn and tried to compile it but I m still getting compile error

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 12:24
by Lewin
If you don't tell us what the error is we can't really help you.

Also there are some instructions here that might help:
https://code.google.com/p/castlesand/wi ... ompilation

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 12:27
by Michalpl
oh thanks i was realy dumb i will follow instructions didn't see it

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 12:48
by Michalpl
Error trying to compile rxxpacker
RXXPackerForm.pas(8,3) Fatal: Can not find unit KM_Defaults used by RXXPackerForm.

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 13:06
by Lewin
I committed a fix so RXXPacker compiles in Lazarus. Do SVN update then it should work :)

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 13:23
by Michalpl
What file I should open and compile (lazurus)
KaM Remake.groupproj?
or
KaM Remake.dpr?

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 13:28
by Michalpl
I have tried Kam Remake.lpi and other error
src\gui\KM_GUIMenuSingleMap.pas(79,41) Error: Incompatible type for arg no. 1: Got "Boolean", expected "TMapFolder"

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 13:39
by Lewin
I have tried Kam Remake.lpi and other error
src\gui\KM_GUIMenuSingleMap.pas(79,41) Error: Incompatible type for arg no. 1: Got "Boolean", expected "TMapFolder"
Fixed that too.

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 13:45
by Michalpl
Good news success compile!
Ty Lewin for your help

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 13:47
by Michalpl
What do i need to do build instaler?
other thing i have error when i just see main menu string 805 out of range and wrong symbols

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 14:00
by Lewin
Building installers is kind of complicated and not designed for people other than Krom and I to do. You'll find some InnoSetup files in the Installer folder which will create the installers using files you place in the BuildFull and BuildUpdate (so you need to put all the right files in there). Why do you need to create installers anyway?

No idea why the text would be wrong. Make sure you haven't overwritten the files in data\text, you should revert them to the repo version.

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 14:08
by Michalpl
by accident i did replaced them do i need to compile it again or just replaca it in data folder
and also could you un hide AI auto attack because its hidden

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 14:27
by Lewin
by accident i did replaced them do i need to compile it again or just replaca it in data folder
Use SVN to revert it, as explained in the link I gave early.
and also could you un hide AI auto attack because its hidden
It's not hidden, it just hasn't been added to the map editor yet. New features don't just magically appear in the map editor, someone has to add it. Remember you are compiling from our working trunk, so you should expect to find buggy behavior, unfinished features and crashes. We don't need bug reports about those things because we know about them. There's a reason the next release isn't ready yet, it's still in development. Compiling from our repo won't get you the next version early, it will get you a messy unfinished development version.

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 14:39
by Michalpl
I have missing unicode maybe i that was caused by not packing the GUIMainH.rxx?
i have found readme in textsamples and it says something about unicode

Re: Posible to compile kamr by me?

PostPosted: 04 Jun 2014, 15:45
by pawel95
Good news success compile!
Ty Lewin for your help
Wait a second. So with your compiled version if would be possible to implement my fixed flags for kam? :P Just a question