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 » Community » Newbie corner » Problem with GUI_APP_MAIN - example
icon5.gif  Problem with GUI_APP_MAIN - example [message #33194] Thu, 14 July 2011 23:21 Go to previous message
Small_Dwarf is currently offline  Small_Dwarf
Messages: 8
Registered: July 2011
Promising Member
Hello, I'm new to U++. Smile

I have installed "theide-nogtk_3211-2~natty0_i386.deb"
and "upp_3211-2~natty0_all.deb" on "Ubuntu 11.04 - the Natty Narwhal".

I could compile and execute the example from "http://www.ultimatepp.org/app$ide$GettingStarted$en-us.html".

But when I change the flag from "Console" to "GUI" and press "Ctrl + F5" to run the first GUI example from " http://www.ultimatepp.org/srcdoc$CtrlLib$Tutorial$en-us.html" I am greeted by the error messages:

----- g ( GUI MAIN GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX )
main.cpp
g: 1 file(s) built in (0:06.80), 6801 msecs / file, duration = 7224 msecs, parallelization 0%
Linking...
/upp/out/g/GCC.Debug.Debug_full.Gui.Main.Shared/main.o: In function `main':
/upp/uppsrc/g/main.cpp:9: undefined reference to `Upp::AppInit__(int, char const**, char const**)'
/upp/uppsrc/g/main.cpp:9: undefined reference to `Upp::Ctrl::InitX11(char const*)'
/upp/uppsrc/g/main.cpp:9: undefined reference to `Upp::Ctrl::CloseTopCtrls()'
/upp/uppsrc/g/main.cpp:9: undefined reference to `Upp::UsrLog(char const*)'
/upp/uppsrc/g/main.cpp:9: undefined reference to `Upp::DeleteUsrLog()'
/upp/uppsrc/g/main.cpp:9: undefined reference to `Upp::Ctrl::ExitX11()'
/upp/uppsrc/g/main.cpp:9: undefined reference to `Upp::AppExit__()'
/upp/uppsrc/g/main.cpp:9: undefined reference to `Upp::GetExitCode()'
/upp/out/g/GCC.Debug.Debug_full.Gui.Main.Shared/main.o: In function `MemDiagCls':
upp/uppsrc/Core/Core.h:289: undefined reference to `Upp::sMemDiagInitCount'
upp/uppsrc/Core/Core.h:289: undefined reference to `Upp::sMemDiagInitCount'
/upp/uppsrc/Core/Core.h:289: undefined reference to `Upp::MemoryInitDiagnostics()'
/upp/out/g/GCC.Debug.Debug_full.Gui.Main.Shared/main.o: In function `~MemDiagCls':
/upp/uppsrc/Core/Core.h:290: undefined reference to `Upp::sMemDiagInitCount'
/upp/uppsrc/Core/Core.h:290: undefined reference to `Upp::sMemDiagInitCount'
/upp/uppsrc/Core/Core.h:290: undefined reference to `Upp::sMemDiagInitCount'
/upp/uppsrc/Core/Core.h:290: undefined reference to `Upp::MemoryDumpLeaks()'
collect2: ld returned 1 exit status

There were errors. (0:07.66)


Does anyone know how to fix it?

THANX in advance Smile

 
Read Message icon5.gif
Read Message
Read Message icon14.gif
Previous Topic: send/receive arguments to console(cmd/terminal) in GUI app
Next Topic: Top starting position of GUI changes.
Goto Forum:
  


Current Time: Mon May 13 00:57:16 CEST 2024

Total time taken to generate the page: 0.02868 seconds