|
|
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » theide does not link since r1728 with GCC 4.4
theide does not link since r1728 with GCC 4.4 [message #23946] |
Wed, 09 December 2009 12:54  |
chickenk
Messages: 171 Registered: May 2007 Location: Grenoble, France
|
Experienced Member |
|
|
Hi Mirek,
the revision r1728 adds calls to the Csizeinit() static member function to X11App.cpp and Win32Wnd.cpp. Csizeinit() was previously used only in Ctrl.cpp but with these new calls, GCC 4.4.1 (on Ubuntu) refuses to link:
_out/CtrlCore/GCCMK-Gcc-Gui-Linux-Posix-Shared/CtrlCore.a(X11App.o): In function `Upp::Ctrl::InitX11(char const*)':
X11App.cpp:(.text._ZN3Upp4Ctrl7InitX11EPKc+0x1ca): undefined reference to `Upp::Ctrl::Csizeinit()'
I understand the need of the static keyword so that you don't need to instanciate a Ctrl object, so I am not sure what the solution is...
What do you think ?
|
|
|
|
|
|
|
Re: theide does not link since r1728 with GCC 4.4 [message #25633 is a reply to message #23951] |
Thu, 04 March 2010 21:23   |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
Hi,
I use ubuntu and as there are no .deb installs anymore I am trying to create an installation of theIDe under a fresh install ubuntu 9.10 64bit plus g++. In the readme it says to just use make but this does not work (also domake does not work) and throws tons of errors. I have tried
make -O3 as implied in this thread but that doesn't work either. I use theIDE because I like to use IDEs and am not used to command line compiling and linking. Can anyone provide any clues to how to go about taking the latest tgz and building what I need to install theIDE please?
EDIT: ok I found another thread in which it says to install an older version of theIDE first and that this will then mean that all the things that make needs will be installed. It might be an idea to put this in the readme that ships with the source code.
EDIT: with 64 bit IDE installed it appears to build a lot of stuff. However it stops with
mkdir -p _out/plugin/png/GCCMK-Gcc-Gui-Linux-Posix-Shared/
c++ -c -x c++ -O3 -ffunction-sections -fdata-sections -I./ -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/glib-2.0 -I/usr/X11R6/lib/glib-2.0/include -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/cairo -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include/atk-1.0 -DflagGUI -DflagGCC -DflagSHARED -DflagLINUX -DflagPOSIX CtrlLib/TrayIconX11.cpp -o _out/CtrlLib/GCCMK-Gcc-Gui-Linux-Posix-Shared/TrayIconX11.o
CtrlLib/TrayIconX11.cpp:9:31: error: libnotify/notify.h: No such file or directory
CtrlLib/TrayIconX11.cpp: In member function ‘void Upp::TrayIcon::Message(int, const char*, const char*, int)’:
CtrlLib/TrayIconX11.cpp:99: error: ‘notify_init’ was not declared in this scope
CtrlLib/TrayIconX11.cpp:101: error: ‘NotifyNotification’ was not declared in this scope
CtrlLib/TrayIconX11.cpp:101: error: ‘notification’ was not declared in this scope
CtrlLib/TrayIconX11.cpp:107: error: ‘notify_notification_new’ was not declared in this scope
CtrlLib/TrayIconX11.cpp:108: error: ‘notify_notification_set_timeout’ was not declared in this scope
CtrlLib/TrayIconX11.cpp:109: error: ‘notify_notification_show’ was not declared in this scope
CtrlLib/TrayIconX11.cpp:110: error: ‘notify_uninit’ was not declared in this scope
make[1]: *** [_out/CtrlLib/GCCMK-Gcc-Gui-Linux-Posix-Shared/TrayIconX11.o] Error 1
make[1]: Leaving directory `/home/nix/upp-x11-src-2171/uppsrc'
cp: omitting directory `uppsrc/ide.out'
make: *** [all] Error 1
Nick
[Updated on: Thu, 04 March 2010 22:23] Report message to a moderator
|
|
|
|
|
Re: theide does not link since r1728 with GCC 4.4 [message #25675 is a reply to message #25664] |
Sun, 07 March 2010 14:38   |
|
Hi Nick,
If you installed theide from PPA repository correctly, theide should say something like "2070~ppa1~karmic1". Please note that just adding the source is not enough, you also have to install the package: After this updates should work. The repository is still not updated nightly, not sure why, I think that Mirek is just too busy lately.
Best regards,
Honza
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 14:39:24 CEST 2025
Total time taken to generate the page: 0.01039 seconds
|
|
|