diff --git a/.gitignore b/.gitignore index 73a75e88..b56743c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -/Projects/CodeLite/OSX/SleepyHead.tags \ No newline at end of file +/Projects/CodeLite/OSX/SleepyHead.tags +/Projects/CodeLite/OSX/Debug +/Projects/CodeLite/OSX/SleepyHead.mk +/Projects/CodeLite/OSX/SleepyHead_wsp.mk \ No newline at end of file diff --git a/Projects/CodeLite/OSX/SleepyHead.project b/Projects/CodeLite/OSX/SleepyHead.project index 69d70fcb..50cb6fcc 100644 --- a/Projects/CodeLite/OSX/SleepyHead.project +++ b/Projects/CodeLite/OSX/SleepyHead.project @@ -48,6 +48,9 @@ + + + @@ -61,6 +64,8 @@ + + @@ -131,7 +136,4 @@ $(IntermediateDirectory)/$(ProjectName).app/Contents/Resources/SleepyHead.icns: - - - diff --git a/src/SleepyHeadApp.cpp b/src/SleepyHeadApp.cpp index 3ff0556a..88c54e52 100644 --- a/src/SleepyHeadApp.cpp +++ b/src/SleepyHeadApp.cpp @@ -34,9 +34,17 @@ IMPLEMENT_APP(SleepyHeadApp); bool SleepyHeadApp::OnInit() { // Initialize the logger - - wxLog *logger=new wxLogStream(&std::cout); - wxLog::SetActiveTarget(logger); + + // wxLogStream requires wxWidgets to be built with wxUSE_STD_IOSTREAM which is not default + //wxLog *logger=new wxLogStream(&std::cout); + //wxLog::SetActiveTarget(logger); + + // use STDERR for wxLogging for better portability for now + wxLogStderr(NULL); + + wxLogDebug( wxVERSION_STRING ); + wxLogDebug( wxT("Application Initialze...") ); + // wxFileSystem::AddHandler(new wxMemoryFSHandler); diff --git a/src/libs/sleeplib/machine.cpp b/src/libs/sleeplib/machine.cpp index cd856c44..d7592aff 100644 --- a/src/libs/sleeplib/machine.cpp +++ b/src/libs/sleeplib/machine.cpp @@ -6,7 +6,6 @@ #include "machine.h" #include "profiles.h" #include -#include extern wxProgressDialog *loader_progress; diff --git a/src/libs/sleeplib/prs1_loader.cpp b/src/libs/sleeplib/prs1_loader.cpp index da1afd79..7be4b22c 100644 --- a/src/libs/sleeplib/prs1_loader.cpp +++ b/src/libs/sleeplib/prs1_loader.cpp @@ -15,7 +15,6 @@ License: GPL #include #include #include -#include #include "prs1_loader.h"