Skip to content

Commit

Permalink
Relocate files to fix build if not all GL libraries exist
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagepc committed Nov 11, 2021
1 parent b7957e8 commit 511f882
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 7 deletions.
3 changes: 3 additions & 0 deletions hw/arm/prusa/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ arm_ss.add(when: 'CONFIG_BUDDYBOARD', if_true: files(
'parts/thermistor.c',
'parts/tmc2209.c',
'utility/ArgHelper.cpp',
'utility/IKeyClient.cpp',
'utility/IScriptable.cpp',
'utility/KeyController.cpp',
'utility/ScriptHost.cpp',
'utility/Scriptable.cpp',
'utility/p404_script_console.c',
'utility/p404scriptable.c',
'utility/p404_keyclient.c',
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/prusa/opengl/MK3SGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "MK3SGL.h"
#include "GLPrint.h" // for GLPrint
#include "KeyController.h"
#include "../utility/KeyController.h"
#include "Mini_Lite.h" // for MK3S_Lite
#include "Mini_Full.h" // for MK3S_Lite
#include "Macros.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/arm/prusa/opengl/MK3SGL.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
//#include "GLHelper.h"
#include "GLObj.h" // for GLObj
#include "GLPrint.h" // for GLPrint
#include "IKeyClient.h"
#include "../utility/IKeyClient.h"
#include "../utility/IScriptable.h" // for IScriptable::LineStatus
#include "Scriptable.h" // for Scriptable
#include "../utility/Scriptable.h" // for Scriptable
#include <GL/glew.h> // NOLINT for glTranslatef
#include <GL/freeglut_std.h> //
#include <atomic> // for atomic, atomic_bool, atomic_int
Expand Down
3 changes: 0 additions & 3 deletions hw/arm/prusa/opengl/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@ arm_ss.add(when: ['CONFIG_BUDDYBOARD'],
'Mini_Lite.cpp',
'Mini_Full.cpp',
'Color.cpp',
'Scriptable.cpp',
'MK3SGL.cpp',
'KeyController.cpp',
'IKeyClient.cpp'
))
2 changes: 1 addition & 1 deletion hw/arm/prusa/utility/ArgHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <iostream>
#include <sstream>
#include "../opengl/Config.h"
#include "../opengl/KeyController.h"
#include "KeyController.h"
#include "../opengl/PrintVisualType.h"

void ArgHelper::SetArgs(std::string strArgs){
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 511f882

Please sign in to comment.