0
此錯誤消息來自用於使用marmalade + C++設置原生UI移動應用程序的教程。我剛剛用IwNUI啓動了最基本的Marmalade C++應用程序,它給出了錯誤。這個消息是什麼意思?
錯誤消息:
Message: Failed to open file iwui_style/iwui_style.group
這裏是主文件:
#include "IwNUI.h"
using namespace IwNUI;
int main()
{
CAppPtr app = CreateApp();
CWindowPtr window = CreateWindow();
app->AddWindow(window);
CViewPtr view = CreateView("canvas");
CButtonPtr button1 = CreateButton(CAttributes()
.Set("name", "Button1")
.Set("caption", "Hello World!")
.Set("x1", "10")
.Set("y1", "10"));
view->AddChild(button1);
window->SetChild(view);
app->ShowWindow(window);
app->Run();
return 0;
}
和MKB文件:
files
{
(source)
app.cpp
}
subprojects
{
s3e
IwNUI
}
defines
{
IW_USE_LEGACY_MODULES
}
任何幫助將是巨大的。謝謝!