Jump to content
IGNORED

RB+ compile error


ggn

Recommended Posts

Hi,

 

I did reinstall RB+ just downloaded from bitbuket

 

[Lines In: 285] [Lines Out: 553] [statements: 194] [Time: 0.06 sec's]

BCX translated F:\ATARI\Jaguar\DEVKIT\RB_~1\PROJECTS\raycaster\raycaster.bas to F:\ATARI\Jaguar\DEVKIT\RB_~1\PROJECTS\raycaster\build\raycaster.c For a C Compiler

 

Compiling C code...

F:\ATARI\Jaguar\DEVKIT\RB_~1\PROJECTS\raycaster\build\raycaster.c: In function 'void basicmain()':

F:\ATARI\Jaguar\DEVKIT\RB_~1\PROJECTS\raycaster\build\raycaster.c:268:19: error: 'x' was not declared in this scope

F:\ATARI\Jaguar\DEVKIT\RB_~1\PROJECTS\raycaster\build\raycaster.c: In function 'void DRAWMAZE()':

F:\ATARI\Jaguar\DEVKIT\RB_~1\PROJECTS\raycaster\build\raycaster.c:421:21: error: 'y' was not declared in this scope

F:\ATARI\Jaguar\DEVKIT\RB_~1\PROJECTS\raycaster\build\raycaster.c:425:21: error: 'gfxbase' was not declared in this scope

Build error!

<<< Process finished (PID=6168). (Exit code 0)

================ READY ================

 

Other examples compile without errors did not test all but shooybang for example is ok.

 

How can I fix this issue ?

Pull latest revision, this has been fixed.

 

(Way past the point of asking people politely not to PM me about rb+ things anymore, I'm just going to post their messages here in the forum from now on)

Link to comment
Share on other sites

I am on Windows 7 and installed everything for scratch.

 

Now a few code examples dont compile well but others without error's

 

Did try with antivirus disabled no succes

 

Did download from github and bitbucket and did try both but still the same issue's

 

 

post-2754-0-43432500-1554838811_thumb.jpg

Edited by TXG/MNX
Link to comment
Share on other sites

I have tested all projects only maprunner does crash now which also did before. raycaster is fixed :-)

 

Build started on Wed 04/10/2019 11:13:39.88
Adjusting base address for CPU depack routine
Buildlink starting
Checking if assets.txt is newer than any of the build folder files....
Opening - F:\DEVKIT\RB+\PROJECTS\maprunner\assets.txt...
Opening - F:\DEVKIT\RB+\PROJECTS\maprunner\build\linkfile.bin...
Opening - F:\DEVKIT\RB+\PROJECTS\maprunner\build\romassets.inc...
Opening - F:\DEVKIT\RB+\PROJECTS\maprunner\build\romassets.h...
Opening - F:\DEVKIT\RB+\PROJECTS\maprunner\build\ramassets.inc...
Opening - F:\DEVKIT\RB+\PROJECTS\maprunner\build\build.log...
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Processing ASSETS\GFX\sand.bmp
Converting BMP internally into gfxdata/clut...
File is 16 pixels wide, 16 pixels high and is 4 bits/pixel
Adding in RAM...
Reading assets.txt line
Processing ASSETS\GFX\rock3.bmp
Converting BMP internally into gfxdata/clut...
File is 16 pixels wide, 16 pixels high and is 4 bits/pixel
Adding in RAM...
Reading assets.txt line
Reading assets.txt line
Reading assets.txt line
Buildlink finished - everything went fine!
Assembling raptor skeleton...
Translating .bas file to C...
BCX-32: BASIC to C/C++ Translator by Kevin Diggins © 1999-2009
BCX-32 Version 6.00 (2009/06/02)
[Lines In: 192] [Lines Out: 434] [statements: 142] [Time: 0.16 sec's]
BCX translated F:\DEVKIT\RB+\PROJECTS\maprunner\maprunner.bas to F:\DEVKIT\RB+\PROJECTS\maprunner\build\maprunner.c For a C Compiler
Compiling C code...
F:\DEVKIT\RB+\PROJECTS\maprunner\build\maprunner.c: In function 'void basicmain()':
F:\DEVKIT\RB+\PROJECTS\maprunner\build\maprunner.c:275:14: error: 'x' was not declared in this scope
F:\DEVKIT\RB+\PROJECTS\maprunner\build\maprunner.c:277:14: error: 'y' was not declared in this scope
F:\DEVKIT\RB+\PROJECTS\maprunner\build\maprunner.c: In function 'void updatemap()':
F:\DEVKIT\RB+\PROJECTS\maprunner\build\maprunner.c:406:16: error: 'gfxbase' was not declared in this scope
Build error!
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...