Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error with VDP 1.04 RC1 source code #70

Closed
leventp opened this issue Jul 11, 2023 · 2 comments
Closed

Compile error with VDP 1.04 RC1 source code #70

leventp opened this issue Jul 11, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@leventp
Copy link

leventp commented Jul 11, 2023

When I am compiling the latest VDP 1.04 RC1 source code (provided with the release), I am getting the error below.

:\Users\lpanc\Downloads\agon-vdp-1.04-RC1 (1)\agon-vdp-1.04-RC1\video\video.ino: In function 'void updateRGB2PaletteLUT()':
video:604:47: error: 'void fabgl::VGAPalettedController::updateRGB2PaletteLUT()' is protected within this context
case 2: VGAController2.updateRGB2PaletteLUT(); break;
^
In file included from C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/dispdrivers/vga2controller.h:51,
from C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/fabgl.h:319,
from C:\Users\lpanc\Downloads\agon-vdp-1.04-RC1 (1)\agon-vdp-1.04-RC1\video\video.ino:43:
C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/dispdrivers/vgapalettedcontroller.h:117:8: note: declared protected here
void updateRGB2PaletteLUT();
^~~~~~~~~~~~~~~~~~~~
video:605:47: error: 'void fabgl::VGAPalettedController::updateRGB2PaletteLUT()' is protected within this context
case 4: VGAController4.updateRGB2PaletteLUT(); break;
^
In file included from C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/dispdrivers/vga2controller.h:51,
from C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/fabgl.h:319,
from C:\Users\lpanc\Downloads\agon-vdp-1.04-RC1 (1)\agon-vdp-1.04-RC1\video\video.ino:43:
C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/dispdrivers/vgapalettedcontroller.h:117:8: note: declared protected here
void updateRGB2PaletteLUT();
^~~~~~~~~~~~~~~~~~~~
video:606:47: error: 'void fabgl::VGAPalettedController::updateRGB2PaletteLUT()' is protected within this context
case 8: VGAController8.updateRGB2PaletteLUT(); break;
^
In file included from C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/dispdrivers/vga2controller.h:51,
from C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/fabgl.h:319,
from C:\Users\lpanc\Downloads\agon-vdp-1.04-RC1 (1)\agon-vdp-1.04-RC1\video\video.ino:43:
C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/dispdrivers/vgapalettedcontroller.h:117:8: note: declared protected here
void updateRGB2PaletteLUT();
^~~~~~~~~~~~~~~~~~~~
video:607:49: error: 'void fabgl::VGAPalettedController::updateRGB2PaletteLUT()' is protected within this context
case 16: VGAController16.updateRGB2PaletteLUT(); break;
^
In file included from C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/dispdrivers/vga2controller.h:51,
from C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/fabgl.h:319,
from C:\Users\lpanc\Downloads\agon-vdp-1.04-RC1 (1)\agon-vdp-1.04-RC1\video\video.ino:43:
C:\Users\lpanc\Documents\Arduino\libraries\FabGL\src/dispdrivers/vgapalettedcontroller.h:117:8: note: declared protected here
void updateRGB2PaletteLUT();
^~~~~~~~~~~~~~~~~~~~
exit status 1
'void fabgl::VGAPalettedController::updateRGB2PaletteLUT()' is protected within this context

@tonedef71
Copy link

tonedef71 commented Jul 11, 2023

When I am compiling the latest VDP 1.04 RC1 source code (provided with the release), I am getting the error below.

I think you simply need to uninstall the fab-gl library (1.0.8) and then install the vdp-gl library (1.0.3). That should make those compilation errors go away.

@leventp
Copy link
Author

leventp commented Jul 11, 2023

That worked. Thanks.

@leventp leventp closed this as completed Jul 11, 2023
@breakintoprogram breakintoprogram moved this from Won't Do to Done in AGON Quark Firmware Jul 11, 2023
@breakintoprogram breakintoprogram added the help wanted Extra attention is needed label Jul 11, 2023
@breakintoprogram breakintoprogram moved this from Done to Released in AGON Quark Firmware Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: Released
Development

No branches or pull requests

3 participants