View Single Post
Old November 21st, 2008   #234 (permalink)
Megacubo
Registered User
 
Join Date: Nov 2008
Location: México City
Posts: 8
Question

Quote:
Originally Posted by olejl View Post
Error:
Code:
g++ -o Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.os -c -fno-exceptions -fno-strict-aliasing -msse2 -fvisibility=hidden -O3 -Wall -Wwrite-strings -Wshadow -Wpointer-arith -Wpacked -Wno-conversion -fvisibility-inlines-hidden -fPIC -fno-exceptions -fno-strict-aliasing -msse2 -fvisibility=hidden -O3 -Wall -Wwrite-strings -Wshadow -Wpointer-arith -Wpacked -Wno-conversion -pthread -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DGCC_HASCLASSVISIBILITY -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -D_GNU_SOURCE=1 -D_REENTRANT -ISource/Core/Common/Src -ISource/Core/DiscIO/Src -ISource/PluginSpecs -ISource -ISource/Core/Core/Src -ISource/Core/DebuggerWX/Src -IExternals/Bochs_disasm -IExternals/LZO -IExternals/WiiUseSrc/Src -ISource/Core/VideoCommon/Src -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -I/usr/include/SDL Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp:22:39: error: Config.h: No such file or directory
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp: In member function 'void CDebugger::Save(IniFile&) const':
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp:92: error: 'g_Config' was not declared in this scope
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp: In member function 'void CDebugger::Load(IniFile&)':
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp:115: error: 'g_Config' was not declared in this scope
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp: In member function 'void CDebugger::LogSettings(wxCommandEvent&)':
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp:462: warning: comparison between signed and unsigned integer expressions
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp:465: error: 'g_Config' was not declared in this scope
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp:465: error: 'CONF_LOG' was not declared in this scope
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp:466: error: 'g_Config' was not declared in this scope
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp:466: error: 'CONF_PRIMLOG' was not declared in this scope
Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp:467: error: 'g_Config' was not declared in this scope
scons: *** [Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.os] Error 1
scons: building terminated because of errors.
Solution:
Code:
Index: Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp
===================================================================
--- Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp    (revision 1235)
+++ Source/Plugins/Plugin_VideoOGL/Src/Debugger/Debugger.cpp    (working copy)
@@ -19,7 +19,7 @@

 #include "IniFile.h" // Common files

-#include "Config.h" // Config settings
+#include "../Config.h" // Config settings

 #include "PBView.h" // Debugger files
 #include "Debugger.h"
I don't know if this is the correct way, but at least it compiles for me.
I don't understand, just add the solution lines to Debugger.cpp and that's all?
Megacubo is offline   Reply With Quote