|
|
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » theide/upp Errors [SOLVED]
theide/upp Errors [SOLVED] [message #38912] |
Sun, 27 January 2013 11:16 |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
Re-installed upp using deb-package from invothink - nightly
(reason for re-install: strange & inconsistent errors, upp-menubar code hangs, got upp/theide out-of-memory error a few times, ...)
1. version should be 5724, but start-up & [about] says it is 5481
2. now I cannot compile anything, following is compiling output:
----- CtrlLib ( GUI GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX ) (1 / 13)
BLITZ: LabelBase.cpp Button.cpp Switch.cpp EditField.cpp Text.cpp LineEdit.cpp DocEdit.cpp ScrollBar.cpp HeaderCtrl.cpp ArrayCtrl.cpp MultiButton.cpp PopupTable.cpp DropList.cpp DropChoice.cpp Static.cpp Spli
tter.cpp FrameSplitter.cpp SliderCtrl.cpp ColumnList.cpp Progress.cpp AKeys.cpp RichTextView.cpp Prompt.cpp Help.cpp DateTimeCtrl.cpp Bar.cpp MenuItem.cpp MenuBar.cpp ToolButton.cpp ToolBar.cpp ToolTip.cp
p StatusBar.cpp TabCtrl.cpp TreeCtrl.cpp DropTree.cpp DlgColor.cpp ColorPopup.cpp ColorPusher.cpp FileList.cpp FileSel.cpp FileSelUtil.cpp PrinterJob.cpp Windows.cpp Win32.cpp TrayIconWin32.cpp TrayIconX1
1.cpp TrayIconGtk.cpp Update.cpp CtrlUtil.cpp LNGCtrl.cpp Ch.cpp
ChWin32.cpp
ChGtk0.cpp
ChGtk.cpp
CtrlLib.icpp
----- plugin/sqlite3 ( GUI GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX ) (2 / 13)
Sqlite3upp.cpp
sqlite3.c
----- GridCtrl ( GUI GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX ) (3 / 13)
BLITZ: GridCtrl.cpp GridDisplay.cpp GridText.cpp GridBase.cpp GridSort.cpp GridUtils.cpp
----- DropGrid ( GUI GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX ) (4 / 13)
DropGrid.cpp
----- CtrlCore ( GUI GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX ) (5 / 13)
BLITZ: SystemDraw.cpp Frame.cpp CtrlMt.cpp Ctrl.cpp CtrlChild.cpp CtrlPos.cpp CtrlDraw.cpp CtrlMouse.cpp CtrlKbd.cpp CtrlTimer.cpp CtrlClip.cpp LocalLoop.cpp TopWindow.cpp DrawWin32.cpp DrawOpWin32.cpp DrawTe
xtWin32.cpp ImageWin32.cpp MetaFile.cpp UtilWin32.cpp Win32Ctrl.cpp Win32Wnd.cpp Win32Clip.cpp Win32DnD.cpp Win32Proc.cpp TopWin32.cpp DHCtrl.cpp DrawX11.cpp DrawOpX11.cpp DrawTextX11.cpp ImageX11.cpp Uti
lX11.cpp X11Ctrl.cpp X11Wnd.cpp X11Proc.cpp X11Clip.cpp X11DnD.cpp X11Top.cpp X11ImgClip.cpp X11App.cpp X11DHCtrl.cpp GtkDrawOp.cpp GtkDrawText.cpp GtkDrawImage.cpp GdkImage.cpp GtkUtil.cpp GtkX11Util.cpp
GtkCtrl.cpp GtkCapture.cpp GtkWnd.cpp GtkCreate.cpp GtkEvent.cpp GtkTop.cpp GtkClip.cpp GtkDnD.cpp GtkApp.cpp ParseRTF.cpp EncodeRTF.cpp
CtrlCore.icpp
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:11:0: warning: "CurrentTime" redefined [enabled by default]
In file included from /usr/include/X11/Xlib.h:44:0,
from /home/mais/upp/uppsrc/CtrlCore/X11Gui.h:9,
from /home/mais/upp/uppsrc/CtrlCore/CtrlCore.h:22,
from /home/mais/upp/uppsrc/CtrlCore/SystemDraw.cpp:1,
from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:3:
/usr/include/X11/X.h:139:0: note: this is the location of the previous definition
----- PdfDraw ( GUI GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX ) (6 / 13)
BLITZ: TTFStream.cpp TTFStruct.cpp TTFReader.cpp TTFSubset.cpp
PdfDraw.cpp
PdfReport.icpp
----- Draw ( GUI GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX ) (7 / 13)
BLITZ: Font.cpp FontCR.cpp FontWin32.cpp FontFc.cpp Draw.cpp DrawText.cpp DrawData.cpp Drawing.cpp ImageAnyDraw.cpp DrawUtil.cpp DrawTextUtil.cpp Display.cpp Image.cpp ImageBlit.cpp RasterFormat.cpp RasterWri
te.cpp Palette.cpp Raster.cpp RasterEncoder.cpp ImageOp.cpp ImageChOp.cpp ImageScale.cpp MakeCache.cpp DrawRasterData.cpp Cham.cpp SSettings.cpp
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘XDisplay* Upp::Xdisplay()’:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:21:20: error: ‘XDisplay* Upp::Xdisplay()’ redeclared as different kind of symbol
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:263:0:
/home/mais/upp/uppsrc/CtrlCore/DrawX11.cpp:26:13: error: previous declaration of ‘XDisplay* Upp::Xdisplay’
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Window Upp::Xroot()’:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:26:14: error: ‘Window Upp::Xroot()’ redeclared as different kind of symbol
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:263:0:
/home/mais/upp/uppsrc/CtrlCore/DrawX11.cpp:29:13: error: previous declaration of ‘Window Upp::Xroot’
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Upp::String Upp::GetProperty(Window, Atom, Atom)’:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:31:8: error: redefinition of ‘Upp::String Upp::GetProperty(Window, Atom, Atom)’
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:380:0:
/home/mais/upp/uppsrc/CtrlCore/X11App.cpp:41:8: error: ‘Upp::String Upp::GetProperty(Window, Atom, Atom)’ previously defined here
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:40:54: error: ‘Upp::Xdisplay’ cannot be used as a function
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:43:34: error: ‘Upp::Xdisplay’ cannot be used as a function
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:58:18: error: ‘Upp::Xdisplay’ cannot be used as a function
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Atom Upp::XAtomRaw(const char*)’:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:62:6: error: redefinition of ‘Atom Upp::XAtomRaw(const char*)’
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:380:0:
/home/mais/upp/uppsrc/CtrlCore/X11App.cpp:13:6: error: ‘Atom Upp::XAtomRaw(const char*)’ previously defined here
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:64:30: error: ‘Upp::Xdisplay’ cannot be used as a function
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Atom Upp::XAtom(const char*)’:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:67:6: error: redefinition of ‘Atom Upp::XAtom(const char*)’
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:380:0:
/home/mais/upp/uppsrc/CtrlCore/X11App.cpp:18:6: error: ‘Atom Upp::XAtom(const char*)’ previously defined here
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Upp::dword Upp::X11mods(Upp::dword)’:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:96:7: error: redefinition of ‘Upp::dword Upp::X11mods(Upp::dword)’
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:326:0:
/home/mais/upp/uppsrc/CtrlCore/X11Wnd.cpp:163:7: error: ‘Upp::dword Upp::X11mods(Upp::dword)’ previously defined here
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp: At global scope:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:108:5: error: redefinition of ‘static int Upp::Ctrl::RegisterSystemHotKey(Upp::dword, Upp::Callback)’
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:326:0:
/home/mais/upp/uppsrc/CtrlCore/X11Wnd.cpp:179:5: error: ‘static int Upp::Ctrl::RegisterSystemHotKey(Upp::dword, Upp::Callback)’ previously defined here
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:137:6: error: redefinition of ‘static void Upp::Ctrl::UnregisterSystemHotKey(int)’
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:326:0:
/home/mais/upp/uppsrc/CtrlCore/X11Wnd.cpp:207:6: error: ‘static void Upp::Ctrl::UnregisterSystemHotKey(int)’ previously defined here
In file included from /home/mais/.upp/_out/examples/CtrlCore/GCC.Debug.Debug_Full.Gui.Shared/$blitz.cpp:432:0:
/home/mais/upp/uppsrc/CtrlCore/GtkX11Util.cpp:153:87: error: no ‘GdkFilterReturn Upp::Ctrl::RootKeyFilter(GdkXEvent*, GdkEvent*, gpointer)’ member function declared in class ‘Upp::Ctrl’
----- plugin/bmp ( GUI GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX ) (8 / 13)
CtrlCore: 58 file(s) built in (0:00.44), 7 msecs / file, duration = 3093 msecs, parallelization 100%
BLITZ: Bmp.cpp BmpWrite.cpp Icon.cpp
BmpReg.icpp
DropGrid: 1 file(s) built in (0:00.33), 333 msecs / file, duration = 4966 msecs, parallelization 100%
PdfDraw: 6 file(s) built in (0:00.53), 89 msecs / file, duration = 3105 msecs, parallelization 100%
GridCtrl: 6 file(s) built in (0:00.59), 98 msecs / file, duration = 5761 msecs, parallelization 100%
plugin/sqlite3: 2 file(s) built in (0:00.81), 405 msecs / file, duration = 6082 msecs, parallelization 100%
plugin/bmp: 4 file(s) built in (0:00.38), 95 msecs / file, duration = 1412 msecs, parallelization 97%
Draw: 26 file(s) built in (0:01.21), 46 msecs / file, duration = 4304 msecs, parallelization 74%
CtrlLib: 55 file(s) built in (0:06.33), 115 msecs / file, duration = 12233 msecs, parallelization 83%
There were errors. (0:12.23)
[Updated on: Thu, 14 February 2013 09:35] Report message to a moderator
|
|
|
Re: theide/upp Errors [message #38919 is a reply to message #38912] |
Sun, 27 January 2013 15:18 |
|
Hi slashupp,
slashupp wrote on Sun, 27 January 2013 11:16 | Re-installed upp using deb-package from invothink - nightly
(reason for re-install: strange & inconsistent errors, upp-menubar code hangs, got upp/theide out-of-memory error a few times, ...)
1. version should be 5724, but start-up & [about] says it is 5481
| I just downloaded thepackage and theide seems to be 5724... Did the installation succeed, no errors etc.?
slashupp wrote on Sun, 27 January 2013 11:16 | 2. now I cannot compile anything, following is compiling output:
...
| What is your setting regarding source code updates? Are you using the svn or code from upp deb package? Did you try "Rebuild all"? It seems like some code got duplicated... Deleting the directory with U++ sources and reinstalling / checking it out fresh should help if that is the case.
I don't currently have access to any debian machine, but I can check on Monday if there is anything wrong with the packages.
Best regards,
Honza
|
|
|
Re: theide/upp Errors [message #38924 is a reply to message #38919] |
Sun, 27 January 2013 21:22 |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
Found the problem:
There's no executable within the deb-package.
And yes, there could be other problems with the package as well, as you suggest.
I would very much appreciate if the deb can be fixed soonest - I'm without a usable upp installation now & have a lot of coding to do.
[Updated on: Mon, 28 January 2013 05:26] Report message to a moderator
|
|
|
Re: theide/upp Errors [message #38929 is a reply to message #38924] |
Mon, 28 January 2013 07:16 |
|
slashupp wrote on Sun, 27 January 2013 21:22 | Found the problem:
There's no executable within the deb-package.
And yes, there could be other problems with the package as well, as you suggest.
I would very much appreciate if the deb can be fixed soonest - I'm without a usable upp installation now & have a lot of coding to do.
|
Hi slashupp,
I just checked again and as far as I can tell the package does contain theide executable:
$ dpkg-deb -x /home/h/Downloads/theide_5724-1~sid0_amd64.deb theide
$ tree theide
theide
└── usr
├── bin
│ ├── theide
│ └── umk
└── share
├── applications
│ └── theide.desktop
├── doc
│ └── theide
│ ├── copyright
│ └── changelog.Debian.gz
├── man
│ └── man1
│ ├── theide.1.gz
│ └── umk.1.gz
└── pixmaps
└── theide.png
I tried installing it on debian squeeze machine and it appears to install and run correctly.
I'm affraid I'll need more info from you. Which deb exactly are you using? What distribution, architecture? What is the exact package name etc?
Also, can you please post the output of the following command: dpkg -l | grep -w 'theide\|upp'
Honza
|
|
|
Re: theide/upp Errors [message #38930 is a reply to message #38929] |
Mon, 28 January 2013 07:48 |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
the deb from invothink (as in my sources.list):
deb http://upp.invothink.com/nightly/ wheezy main
I saw this morning that there is a upp AND a theide package shown when I use apt. I have seen and used only the 'upp' option previously, and installed the 'theide'-option this morning - still get errors.
When I used only the 'upp'-option no executable is installed - there is no execuatble in that package.
The 'theide'-option does install an executable (the version is now correct at 5724-wheezy-amd64).
There are no errors or warnings during installation.
Output from: dpkg -l | grep -w 'theide\|upp'
ii theide 5724-1~wheezy0 IDE (not only) for Ultimate++ framework
ii upp 5724-1~wheezy0 C++ library for cross-platform development
The errors I get when compiling:
(SNIP)
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘XDisplay* Upp::Xdisplay()’:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:21:20: error: ‘XDisplay* Upp::Xdisplay()’ redeclared as different kind of symbol
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:263:0:
/usr/share/upp/uppsrc/CtrlCore/DrawX11.cpp:26:13: error: previous declaration of ‘XDisplay* Upp::Xdisplay’
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Window Upp::Xroot()’:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:26:14: error: ‘Window Upp::Xroot()’ redeclared as different kind of symbol
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:263:0:
/usr/share/upp/uppsrc/CtrlCore/DrawX11.cpp:29:13: error: previous declaration of ‘Window Upp::Xroot’
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Upp::String Upp::GetProperty(Window, Atom, Atom)’:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:31:8: error: redefinition of ‘Upp::String Upp::GetProperty(Window, Atom, Atom)’
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:380:0:
/usr/share/upp/uppsrc/CtrlCore/X11App.cpp:41:8: error: ‘Upp::String Upp::GetProperty(Window, Atom, Atom)’ previously defined here
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:40:54: error: ‘Upp::Xdisplay’ cannot be used as a function
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:43:34: error: ‘Upp::Xdisplay’ cannot be used as a function
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:58:18: error: ‘Upp::Xdisplay’ cannot be used as a function
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Atom Upp::XAtomRaw(const char*)’:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:62:6: error: redefinition of ‘Atom Upp::XAtomRaw(const char*)’
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:380:0:
/usr/share/upp/uppsrc/CtrlCore/X11App.cpp:13:6: error: ‘Atom Upp::XAtomRaw(const char*)’ previously defined here
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:64:30: error: ‘Upp::Xdisplay’ cannot be used as a function
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Atom Upp::XAtom(const char*)’:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:67:6: error: redefinition of ‘Atom Upp::XAtom(const char*)’
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:380:0:
/usr/share/upp/uppsrc/CtrlCore/X11App.cpp:18:6: error: ‘Atom Upp::XAtom(const char*)’ previously defined here
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘Upp::dword Upp::X11mods(Upp::dword)’:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:96:7: error: redefinition of ‘Upp::dword Upp::X11mods(Upp::dword)’
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:326:0:
/usr/share/upp/uppsrc/CtrlCore/X11Wnd.cpp:163:7: error: ‘Upp::dword Upp::X11mods(Upp::dword)’ previously defined here
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp: At global scope:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:108:5: error: redefinition of ‘static int Upp::Ctrl::RegisterSystemHotKey(Upp::dword, Upp::Callback)’
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:326:0:
/usr/share/upp/uppsrc/CtrlCore/X11Wnd.cpp:179:5: error: ‘static int Upp::Ctrl::RegisterSystemHotKey(Upp::dword, Upp::Callback)’ previously defined here
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:137:6: error: redefinition of ‘static void Upp::Ctrl::UnregisterSystemHotKey(int)’
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:326:0:
/usr/share/upp/uppsrc/CtrlCore/X11Wnd.cpp:207:6: error: ‘static void Upp::Ctrl::UnregisterSystemHotKey(int)’ previously defined here
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:153:87: error: no ‘GdkFilterReturn Upp::Ctrl::RootKeyFilter(GdkXEvent*, GdkEvent*, gpointer)’ member function declared in class ‘Upp::Ctrl’
(/SNIP)
|
|
|
Re: theide/upp Errors [message #38931 is a reply to message #38930] |
Mon, 28 January 2013 09:08 |
|
slashupp wrote on Mon, 28 January 2013 07:48 | I saw this morning that there is a upp AND a theide package shown when I use apt. I have seen and used only the 'upp' option previously, and installed the 'theide'-option this morning - still get errors.
When I used only the 'upp'-option no executable is installed - there is no execuatble in that package.
The 'theide'-option does install an executable (the version is now correct at 5724-wheezy-amd64).
|
The package upp contains only U++ sources, no executables. TheIDE itself is in package theide (or theide-nogtk for the NOGTK variant). There are also other packages: umk contains only the command-line builder umk and *-dbg packages contain debugging symbols for the executables in theide* and umk packages.
slashupp wrote on Mon, 28 January 2013 07:48 | Output from: dpkg -l | grep -w 'theide\|upp'
ii theide 5724-1~wheezy0 IDE (not only) for Ultimate++ framework
ii upp 5724-1~wheezy0 C++ library for cross-platform development
| This seems correct.
slashupp wrote on Mon, 28 January 2013 07:48 | The errors I get when compiling:
(SNIP)
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:432:0:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp: In function ‘XDisplay* Upp::Xdisplay()’:
/usr/share/upp/uppsrc/CtrlCore/GtkX11Util.cpp:21:20: error: ‘XDisplay* Upp::Xdisplay()’ redeclared as different kind of symbol
In file included from /home/mais/.upp/_out/appdev/CtrlCore/GCC.Debug.Debug_Full.Gu i.Mt.Shared.Sse2/$blitz.cpp:263:0:
/usr/share/upp/uppsrc/CtrlCore/DrawX11.cpp:26:13: error: previous declaration of ‘XDisplay* Upp::Xdisplay’
...
(/SNIP)
|
I believe this is not really related to the packaging. Can you answer the questions I asked before:Quote: | What is your setting regarding source code updates? Are you using the svn or code from upp deb package? Did you try "Rebuild all"?
| If you are not sure about the settings, just post the configuration from the file $(HOME)/.upp/theide/updates.xml. Also, what directories is your assembly pointing to? You can find that in $(HOME)/.upp/theide/<assembly_name>.var.
Honza
|
|
|
|
Re: theide/upp Errors [message #38934 is a reply to message #38932] |
Mon, 28 January 2013 10:57 |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
(edit)
no, it didn't go away - a rebuild all later & the errors are back
[As you say it's not really related to the packaging, I found that
commenting the '#define' and '#undef' of 'CurrentTime' in CtrlCore.h makes the errors in the ..[/SNIP] I mentioned in a previous post go away ... I wonder why ...]
[Updated on: Mon, 28 January 2013 11:41] Report message to a moderator
|
|
|
Re: theide/upp Errors [message #38935 is a reply to message #38934] |
Mon, 28 January 2013 12:30 |
|
Hi slashupp,
So in the end I found out is just an error in version 5724. It works fine in 5740.
I just manually started rebuilding the packages (there is some problems with the automatic nightly updates :-/ ) and I'll let you know as soon as they are available.
Honza
|
|
|
|
|
Re: theide/upp Errors [message #38938 is a reply to message #38937] |
Mon, 28 January 2013 15:12 |
|
Hi slashupp,
The debs for version 5739 are up now, you can try to update.
Regarding the out-of-memory error: I have no idea, never saw it before. Let's see if it has the same problem with the new version...
Honza
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 12:09:35 CEST 2024
Total time taken to generate the page: 0.09627 seconds
|
|
|