Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Attempting to compile U++ drawing examples
Attempting to compile U++ drawing examples [message #9206] Sun, 22 April 2007 06:01 Go to next message
veryfaststuff is currently offline  veryfaststuff
Messages: 3
Registered: April 2007
Location: In A River
Junior Member
This is my first time to compile c++ code with a GUI kit. I tried to compile the following:

#include <CtrlLib/CtrlLib.h>

using namespace Upp;
 
struct MyApp : TopWindow {
    void DoPainting(Draw& w) {
        w.DrawEllipse(0, 0, 100, 30, WhiteGray(), 1, Cyan);
        w.DrawText(0, 0, "Hello world", Roman(30).Bold());
    }

    virtual void Paint(Draw& w) {
        w.DrawRect(GetSize(), White());
        DoPainting(w);
        w.Offset(30, 50);
        DoPainting(w);
        w.End();
        w.Offset(20, 100);
        w.Clip(5, 5, 40, 20);
        DoPainting(w);
        w.End();
        w.End();
        w.Clipoff(10, 150, 60, 20);
        DoPainting(w);
        w.End();
    }
};

GUI_APP_MAIN
{
    MyApp().Sizeable().Run();
}


I get the following errors upon completion:
test.cpp
c++ -c  -I"D:\Workspace" -I"D:\zProgramming\GUI\UPP\uppsrc" -I"D:\zProgramming\Compilers\MinGW\include" -DflagMAIN -DflagGCC -DflagDEBUG -
	DflagDEBUG_FULL -DflagBLITZ -DflagWIN32 -DbmYEAR=2007 -DbmMONTH=4 -DbmDAY=21 -DbmHOUR=22 -DbmMINUTE=52 -DbmSECOND=52 -g2 -static   -fe
	xceptions  -D_DEBUG -O0 -x c++ "D:\Workspace\main\test.cpp" -o "D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o"
D:\Workspace\main\test.cpp:59:2: warning: no newline at end of file
D:\zProgramming\Compilers\MinGW\bin\c++.exe -c  -I"D:\Workspace" -I"D:\zProgramming\GUI\UPP\uppsrc" -I"D:\zProgramming\Compilers\MinGW\inc
	lude" -DflagMAIN -DflagGCC -DflagDEBUG -DflagDEBUG_FULL -DflagBLITZ -DflagWIN32 -DbmYEAR=2007 -DbmMONTH=4 -DbmDAY=21 -DbmHOUR=22 -DbmM
	INUTE=52 -DbmSECOND=52 -g2 -static   -fexceptions  -D_DEBUG -O0 -x c++ "D:\Workspace\main\test.cpp" -o "D:/zProgramming/GUI/UPP/out/ma
	in/MINGW.Debug_full.Main\test.o"
compiled in (0:07.06)
main: 2 file(s) built in (0:10.07), 5039 msecs / file, duration = 10812 msecs
Linking...
c++ -static -mwindows -mconsole -o "D:\zProgramming\GUI\UPP\out\MINGW.Debug_full\main.exe" -ggdb -L"D:\zProgramming\Compilers\MinGW\lib" -
	Wl,-O,2  "D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\main.o" "D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.
	o" -Wl,--start-group  -Wl,--end-group
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0x43): In function `ZN3Upp8MoveableINS_5Rect_IiEENS_10EmptyClassEEC2Ev
	':
D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::Ctrl::InitWin32(HINSTANCE__*)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0x55):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined referenc
	e to `Upp::SplitCmdLine__(char const*)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0x6a):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined referenc
	e to `Upp::coreCmdLine__()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0xcb):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined referenc
	e to `Upp::AppInitEnvironment__()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0xd5):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined referenc
	e to `Upp::Ctrl::CloseTopCtrls()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0xe1):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined referenc
	e to `Upp::UsrLog(char const*)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0xe6):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined referenc
	e to `Upp::DeleteUsrLog()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0xeb):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined referenc
	e to `Upp::Ctrl::ExitWin32()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0xf0):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined referenc
	e to `Upp::AppExit__()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0xf5):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined referenc
	e to `Upp::GetExitCode()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0x18c): In function `Z10GuiMainFn_v':
D:/Workspace/main/test.cpp:57: undefined reference to `Upp::TopWindow::Sizeable(bool)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text+0x19c):D:/Workspace/main/test.cpp:57: undefined reference to `Upp::Top
	Window::Run(bool)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyAppD1Ev[MyApp::~MyApp()]+0x16): In function `ZN3Upp8MoveableINS_
	5Rect_IiEENS_10EmptyClassEEC2Ev':
D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::TopWindow::~TopWindow()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZdlPv[operator delete(void*)]+0x43):D:/zProgramming/GUI/UPP/uppsrc/Co
	re/Gtypes.h: undefined reference to `Upp::MemoryFreeDebug(void*)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyAppC1Ev[MyApp::MyApp()]+0xd):D:/zProgramming/GUI/UPP/uppsrc/Core
	/Gtypes.h: undefined reference to `Upp::TopWindow::TopWindow()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN3Upp12DestroyArrayINS_6StringEEEvPT_PKS2_[void Upp::DestroyArray<Up
	p::String>(Upp::String*, Upp::String const*)]+0x15):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::String:
	:~String()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x8):D:/zProgramming/GUI/UPP/uppsrc/Core
	/Gtypes.h: undefined reference to `Upp::Ctrl::NcCreate(HWND__*)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xc):D:/zProgramming/GUI/UPP/uppsrc/Core
	/Gtypes.h: undefined reference to `Upp::Ctrl::NcDestroy()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x10):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::PreDestroy()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x14):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::WindowProc(unsigned int, unsigned int, long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x18):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::Accept()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x1c):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::Reject()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x20):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::SetData(Upp::Value const&)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x24):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::GetData() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x28):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::Serialize(Upp::Stream&)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x2c):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::SetModify()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x30):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::ClearModify()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x34):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::IsModified() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x3c):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::OverPaint() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x40):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::CancelMode()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x44):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::Activate()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x48):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::Deactivate()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x4c):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::FrameMouseEvent(int, Upp::Point_<int>, int, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x50):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::MouseEvent(int, Upp::Point_<int>, int, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x54):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::MouseEnter(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x58):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::MouseMove(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x5c):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::LeftDown(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x60):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::LeftDouble(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x64):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::LeftRepeat(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x68):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::LeftUp(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x6c):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::RightDown(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x70):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::RightDouble(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x74):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::RightRepeat(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x78):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::RightUp(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x7c):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::MouseWheel(Upp::Point_<int>, int, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x80):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::MouseLeave()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x84):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::CursorImage(Upp::Point_<int>, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x88):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::Key(unsigned long, int)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x8c):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::GotFocus()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x90):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::LostFocus()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x94):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::HotKey(unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x98):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::GetAccessKeys() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0x9c):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::AssignAccessKeys(unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xa0):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::PostInput()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xa4):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::ChildMouseEvent(Upp::Ctrl*, int, Upp::Point_<int>, int, unsigned long)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xa8):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::ChildGotFocus()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xac):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::ChildLostFocus()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xb0):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::ChildAdded(Upp::Ctrl*)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xb4):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::ChildRemoved(Upp::Ctrl*)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xb8):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::ParentChange()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xbc):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::State(int)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xc0):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::Layout()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xc4):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::GetMinSize() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xc8):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::GetStdSize() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xcc):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::GetMaxSize() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xd0):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::IsShowEnabled() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xd4):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::GetOpaqueRect()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xd8):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::GetVoidRect()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xdc):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::Updated()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xe0):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::Close()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xe4):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::IsOcxChild()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xe8):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::TopWindow::GetDesc() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xec):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::Dump() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.rdata$_ZTV5MyApp[vtable for MyApp]+0xf0):D:/zProgramming/GUI/UPP/uppsrc/Cor
	e/Gtypes.h: undefined reference to `Upp::Ctrl::Dump(Upp::Stream&) const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyAppD0Ev[MyApp::~MyApp()]+0x16):D:/zProgramming/GUI/UPP/uppsrc/Co
	re/Gtypes.h: undefined reference to `Upp::TopWindow::~TopWindow()'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyApp5PaintERN3Upp4DrawE[MyApp::Paint(Upp::Draw&)]+0x1c):D:/zProgr
	amming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::Ctrl::GetSize() const'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyApp5PaintERN3Upp4DrawE[MyApp::Paint(Upp::Draw&)]+0x4a):D:/zProgr
	amming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::Draw::DrawRect(Upp::Rect_<int> const&, Upp::Color)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyApp5PaintERN3Upp4DrawE[MyApp::Paint(Upp::Draw&)]+0x77):D:/zProgr
	amming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::Draw::Offset(int, int)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyApp5PaintERN3Upp4DrawE[MyApp::Paint(Upp::Draw&)]+0xaf):D:/zProgr
	amming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::Draw::Offset(int, int)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyApp5PaintERN3Upp4DrawE[MyApp::Paint(Upp::Draw&)]+0xda):D:/zProgr
	amming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::Draw::Clip(int, int, int, int)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyApp5PaintERN3Upp4DrawE[MyApp::Paint(Upp::Draw&)]+0x12d): In func
	tion `Z10GuiMainFn_v':
D:/Workspace/main/test.cpp:55: undefined reference to `Upp::Draw::Clipoff(int, int, int, int)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyApp10DoPaintingERN3Upp4DrawE[MyApp::DoPainting(Upp::Draw&)]+0x5e
	): In function `ZN3Upp8MoveableINS_5Rect_IiEENS_10EmptyClassEEC2Ev':
D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::Draw::DrawEllipse(int, int, int, int, Upp::Color, int, Upp::Col
	or)'
D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o(.text$_ZN5MyApp10DoPaintingERN3Upp4DrawE[MyApp::DoPainting(Upp::Draw&)]+0xd6
	):D:/zProgramming/GUI/UPP/uppsrc/Core/Gtypes.h: undefined reference to `Upp::Draw::DrawTextA(int, int, char const*, Upp::Font, Upp::Co
	lor, int, int const*)'
collect2: ld returned 1 exit status
D:\zProgramming\Compilers\MinGW\bin\c++.exe -static -mwindows -mconsole -o "D:\zProgramming\GUI\UPP\out\MINGW.Debug_full\main.exe" -ggdb -
	L"D:\zProgramming\Compilers\MinGW\lib" -Wl,-O,2  "D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\main.o" "D:/zProgramming/GUI/
	UPP/out/main/MINGW.Debug_full.Main\test.o" -Wl,--start-group  -Wl,--end-group
Error executing D:\zProgramming\Compilers\MinGW\bin\c++.exe -static -mwindows -mconsole -o "D:\zProgramming\GUI\UPP\out\MINGW.Debug_full\m
	ain.exe" -ggdb -L"D:\zProgramming\Compilers\MinGW\lib" -Wl,-O,2  "D:/zProgramming/GUI/UPP/out/main/MINGW.Debug_full.Main\main.o" "D:/z
	Programming/GUI/UPP/out/main/MINGW.Debug_full.Main\test.o" -Wl,--start-group  -Wl,--end-group
Exitcode: 1

There were errors. (0:13.65)


These are the only things I can think of that could be the source of the problem:
1) Using U++ snapshot
2) Attempting to compile a fragment of a whole set of code

I've tried tracing the error, but I got even more confused when I found that Gtypes.h really did not have any of the functions that the compiler was pointing out.

[Updated on: Sun, 22 April 2007 06:09]

Report message to a moderator

Re: Attempting to compile U++ drawing examples [message #9216 is a reply to message #9206] Sun, 22 April 2007 09:24 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I think the trouble is that you do not have GUI in the project. How have you created it?

In the left top pane, you should see "CtrlLib" - that means CtrlLib package is present, which will make present all the stuff needed to compile/link GUI application.

See this screenshot:

http://www.ultimatepp.org/L$www$uppweb2$idess$en-us.html_2.p ng

Mirek
Re: Attempting to compile U++ drawing examples [message #9276 is a reply to message #9206] Wed, 25 April 2007 07:36 Go to previous message
veryfaststuff is currently offline  veryfaststuff
Messages: 3
Registered: April 2007
Location: In A River
Junior Member
Oh, now that makes sense. I thought that TheIDE was checking my directories for the dependencies found in my source file. Now it compiles. Thanks. Smile
Previous Topic: Cannot link SqlCommander sample with MSC8...
Next Topic: Corrected MscBuilder.cpp for MSC8 and INTEL compiler
Goto Forum:
  


Current Time: Fri Apr 19 00:41:05 CEST 2024

Total time taken to generate the page: 0.02424 seconds