Bare Game installation on Windows

Discussion related to the development of Bare Game http://www.baregame.org
DirectuX
Posts: 2
Joined: Wed Apr 29, 2015 4:02 pm

Bare Game installation on Windows

Postby DirectuX » Wed Apr 29, 2015 4:44 pm

Hi,

I followed the INSTALL paragraph instructions of this page : http://github.com/sysrpl/Bare.Game

The steps:
Open Lazaurs, from the main menu select "Packages | Open Package File" and browse to "Bare.Game/source/barerun.lpk". In the packge window press compile.

and
Press F9 to run the example.

are both generating this message:
Compiler le paquet barerun 0.0: Code de sortie 1 - Erreurs : 1 - Conseils : 1
bare.types.pas(858,24) Error: Duplicate identifier "$ansistrrec7"
bare.types.pas(858,24) Hint: Identifier already defined in unit BARE.ANIMATION: bare.animation.pas at line 854
bare.animation.pas(1128,0) Verbose: There were 1 errors compiling module, stopping


  1. Is there something simple to solve this ?
  2. Is it more convenient (worth) to wait for the next version of Bare Game ?
  3. If yes, is there a roadmap ?


Note: I'm new to Lazarus, as well as to freepascal. I'm ok for testing the next version within the limits of my free time (as seen in sysrpl post).

sysrpl
Posts: 108
Joined: Thu Feb 05, 2015 6:31 pm

Re: Bare Game installation on Windows

Postby sysrpl » Wed May 06, 2015 9:47 pm

You need to use Free Pascal version 3 or greater, which is current a trunk release revision. The easiest way to get this version is to install using the www.getlazarus.org installers located here:

http://www.getlazarus.org/setup/

DirectuX2
Posts: 5
Joined: Thu May 07, 2015 4:03 pm

Re: Bare Game installation on Windows

Postby DirectuX2 » Thu May 07, 2015 5:12 pm

Hi,
thanks for your answer and your time sysrpl but

it's already what I had done : step 2 on http://github.com/sysrpl/Bare.Game#install linked to http://www.getlazarus.org/setup

and

though I'm not comfortable with, I tried in ubuntu and it does not work either.

and

see no offense in the following, I think the best I can do as I can't try your work is to give you feedback :
this is dissuading for a beginner like me. From what I've seen and read I agreed with what's written here http://www.getlazarus.org/about/ and was prone to offer to get involved in your project to the amount of my possibilities and if you wanted it. Now I'm quite dampened. I'll reconsider this later.

and

Out of topic : I filled the getlazarus.org/forums form to retrieve the password twice but I never get an email, the "contact us" seems no to work either :(


What to do now ? Maybe is http://www.getlazarus.org/forums/viewtopic.php?f=17&t=13#p39 near out or something, then I won't struggle and try the new version ?

sysrpl
Posts: 108
Joined: Thu Feb 05, 2015 6:31 pm

Re: Bare Game installation on Windows

Postby sysrpl » Fri May 08, 2015 2:44 pm

What part are you not comfortable with? Linking from Bare Game to www.getlazarus.org? I can assure you I've am the author of both.

With regards to www.getlazarus.org, the reason it exists is to maintain compatibility with a few project I've created and working copies of the Free Pascal Compiler which supports a set of features these libraries require.

For example, with Bare Game I make prodigious use of generic containers. Here in Bare.Game.pas I define a collection for hardware devices such as joysticks, mice, and screens:

type
THardwareCollection<T: TObject> = class(TOwnerCollection<T>)
public
constructor Create;
{ Scan for connected devices and their state changes }
procedure ScanHardware; virtual;
end;

TJoysticks = THardwareCollection<TJoystick>;
TMice = THardwareCollection<TMouse>;
TScreens = THardwareCollection<TScreen>;


And while generics makes the source code smaller and less error prone, these types of generics aren't possible with the current official release of Free Pascal. What www.getlazarus.org does is make it as easy as possible for developers to get the pre-release fixes 3.0 revision of Free Pascal and a current version of Lazarus configured for that version.

I hope this answers your questions.

DirectuX2
Posts: 5
Joined: Thu May 07, 2015 4:03 pm

Re: Bare Game installation on Windows

Postby DirectuX2 » Sun May 10, 2015 3:56 pm

  1. I hope this answers your questions.


    well, no, see:

    1. as I said in Post by DirectuX » Wed Apr 29, 2015 6:44 pm
      I followed step by step your installation instructions using getlazarus.org but cannot get to a functionnal baregame,
      not solved
    2. as I said in Post by DirectuX2 » Thu May 07, 2015 7:12 pm
      I tried in ubuntu and it does not work either,
      not solved but much less usefull to me
    3. as I said in Post by DirectuX2 » Thu May 07, 2015 7:12 pm
      I filled the getlazarus.org/forums form to retrieve the password twice but I never get an email, the "contact us" seems no to work either,
      not responded
      And, I didn't observe this the last time but, the "Notify me when a reply is posted" Option is not working either (I checked the spam too)
    4. as I said in Post by DirectuX2 » Thu May 07, 2015 7:12 pm
      Maybe ... try the new version ?
      not responded
  2. What part are you not comfortable with?


    with lubuntu, but you're not concerned :)

  3. Linking from Bare Game to http://www.getlazarus.org? I can assure you I've am the author of both.


    I knew that, as well as the explications you give, I've already read that on your websites, was not a problem. Me saying that : "it's already what I had done : step 2 on http://github.com/sysrpl/Bare.Game#install linked to http://www.getlazarus.org/setup" meant that I have used your setup, so the freepascal version is inevitably greater than 3.

    I didn't put your work in dispute, I just can't get it work and need help. I thank you for reading and trying to help.


Return to “Bare Game”

Who is online

Users browsing this forum: No registered users and 1 guest

cron