Results 1 to 10 of 86

Thread: voxel game

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Project relies on lnet and dcpcrypt which I might remove if I find the time, they shouldn't be needed for core functionality if I recall correctly.
    For time being I've updated the repo and you can find their source in src/tools folders. I suppose this might break their licensing or sth, will try to clean this up.
    Project now compiles but I get sigserv on opengl context initialization, tried updating dgl header with same result. It worked before and I didn't change my video card so it must be updated drivers causing this.

    As for linux compatibility, I've made code arrangements for that in the early stage but didn't test it later so probably it won't compile as it is now.
    Last edited by laggyluk; 25-05-2017 at 01:01 PM.

  2. #2
    It does now compile (game and brickui, not server tho) with little work, but both just say 'Execution stopped'.

    My skill with lazarus IDE is non-existent so I have no clue what to do. The source is useful in any case.
    Last edited by Thyandyr; 25-05-2017 at 03:15 PM.

  3. #3
    Tested brickUI on my old laptop and it works with both integrated intel and nvidia cards, fails on my desktop ati

  4. #4
    Quote Originally Posted by laggyluk View Post
    Tested brickUI on my old laptop and it works with both integrated intel and nvidia cards, fails on my desktop ati
    Can you provide a small testing example or at least provide instruction for making one myself since I don't have any experience with your voxel engine?
    I have three computers with ATI based graphics card (one desktop and two laptops) so I could do some testing and try tracking the problem of why your BrickUI is not running on your ATI based graphics card.

  5. #5
    Well, I can live with it not working anymore, project is long time abandoned and I just wanted working example for Thyandyr.
    If you still want to try it you'd need to download the source, install lnet and dcpCrypt components and then run the brickUI project. It crashes on the line with rendering context creation in my case.

  6. #6
    Quote Originally Posted by laggyluk View Post
    If you still want to try it you'd need to download the source, install lnet and dcpCrypt components and then run the brickUI project. It crashes on the line with rendering context creation in my case.
    For now I just removed "Inet" and "cdpCrypt" from Required packages and try to compile "brickUI.lpr" and I end up with bunch of "Duplicate identifier" errors. It seems that all of them are withing conditional define blocks like

    Code:
    {$IFDEF CPU64}
    int = int64;
    Long = uint64;
    {$ENDIF CPU64}
    {$IFDEF CPU32}
    int = integer;
    Long = longword;
    {$ENDIF CPU32}

    Now I have very little experience with Lazarus especially with conditional defines so I would be grateful if someone can explain how can I get rid of these errors properly.

  7. #7
    Quote Originally Posted by SilverWarior View Post
    For now I just removed "Inet" and "cdpCrypt" from Required packages and try to compile "brickUI.lpr" and I end up with bunch of "Duplicate identifier" errors. It seems that all of them are withing conditional define blocks like

    Code:
    {$IFDEF CPU64}
    int = int64;
    Long = uint64;
    {$ENDIF CPU64}
    {$IFDEF CPU32}
    int = integer;
    Long = longword;
    {$ENDIF CPU32}

    Now I have very little experience with Lazarus especially with conditional defines so I would be grateful if someone can explain how can I get rid of these errors properly.
    I tried to $DEFINE CPU64 and $UNDEFINE CPU32 but that didn't help, so I just manually removed all CPU32 parts. That helped.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •