Home » Community » U++ community news and announcements » U++ 2017 beta
Re: U++ 2017 beta [message #47168 is a reply to message #47151] |
Sun, 25 December 2016 09:23 |
MrSarup
Messages: 30 Registered: December 2016
|
Member |
|
|
Hello Mirek,
In my post above, you notice description of errors during compilation. This resulted becaused I made a mistake from the following link here:
http://www.ultimatepp.org/www$uppweb$download$en-us.html
Here, I downloaded 5431 because there is rpm in there! My mistake was not to see the date.
Anyway, the correct URL for Stable release should be the following, which the redirection needs to take in there:
https://sourceforge.net/projects/upp/files/upp/2015.2/
As I use Cento 7, I obviously downloaded from the link given there under "Fedora" and "Stable releases"! Consequently, I have installed "successfully" a version build 5431 prepared in middle ages. After starting to work with gcc, I immediately found this out!
Now I downloaded the nightly build 10577M.
Inside the upp-x11-src-10577M.tar.gz, the upp.spec has a wrong rpmbuild command. This should be as follows:
rpmbuild -tb --define 'version 10577M' --define "date $(LC_TIME=En date '+%a %b %d %Y')" upp-x11-src-10577M.tar.gz
...
#define version 10577M
Do correct this. I do find a lot of relative use of path, which is just a headache. The best is to use absolute path that could be substituted. Define once and generate with absolute parameters, instead of relative path.
After this, i.e. executing the above command for rpmbuild in bold, I could not build or compile theIDE with the above command. This is obviously the equivalent of a sequence of entering in the untarred dir and executing make from there.
On Centos 7 64bits, the version 10577M may not get build (or on any linux for that matter) because it is not ready yet. Or there is something that I am still missing or not doing the right thing. Following are the errors:
mkdir -p /root/rpmbuild/BUILD/upp-x11-src-10577M/out/plugin/bmp//home/cxl/Scripts/GCCMK.bm-Gcc-Gui-Linux-Mt-Posix-Shared/
mkdir -p /root/rpmbuild/BUILD/upp-x11-src-10577M/out/RichText//home/cxl/Scripts/GCCMK.bm-Gcc-Gui-Linux-Mt-Posix-Shared/
mkdir -p /root/rpmbuild/BUILD/upp-x11-src-10577M/out/plugin/png//home/cxl/Scripts/GCCMK.bm-Gcc-Gui-Linux-Mt-Posix-Shared/
c++ -c -x c++ -O3 -ffunction-sections -fdata-sections -std=c++0x -I. -pthread -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -DflagGUI -DflagMT -DflagGCC -DflagSHARED -DflagLINUX -DflagPOSIX -DflagMAIN ide/BaseDlg.cpp -o /root/rpmbuild/BUILD/upp-x11-src-10577M/out/ide//home/cxl/Scripts/GCCMK.bm-Gcc-Gui-Linux-Main-Mt-Posix-Shared/BaseDlg.o
In file included from ./Core/Core.h:329:0,
from ./Esc/Esc.h:4,
from ./ide/Core/Core.h:4,
from ./ide/Common/Common.h:4,
from ide/ide.h:4,
from ide/BaseDlg.cpp:1:
./Core/Map.hpp: In member function 'void Upp::Index<T>::Sweep()':
./Core/Map.hpp:268:8: error: call of overloaded 'Sort(Upp::Vector<int>&)' is ambiguous
Sort(b);
^
./Core/Map.hpp:268:8: note: candidates are:
In file included from ./Core/Core.h:269:0,
from ./Esc/Esc.h:4,
from ./ide/Core/Core.h:4,
from ./ide/Common/Common.h:4,
from ide/ide.h:4,
from ide/BaseDlg.cpp:1:
./Core/Sort.h:119:6: note: void Upp::Sort(Range&) [with Range = Upp::Vector<int>]
void Sort(Range& c)
^
./Core/Sort.h:125:6: note: void Upp::Sort(Range&&) [with Range = Upp::Vector<int>&]
void Sort(Range&& c) { Sort(c); }
^
In file included from ./Core/Core.h:329:0,
from ./Esc/Esc.h:4,
from ./ide/Core/Core.h:4,
from ./ide/Common/Common.h:4,
from ide/ide.h:4,
from ide/BaseDlg.cpp:1:
./Core/Map.hpp: In member function 'void Upp::AMap<K, T, V>::Sweep()':
./Core/Map.hpp:590:8: error: call of overloaded 'Sort(Upp::Vector<int>&)' is ambiguous
Sort(b);
^
./Core/Map.hpp:590:8: note: candidates are:
In file included from ./Core/Core.h:269:0,
from ./Esc/Esc.h:4,
from ./ide/Core/Core.h:4,
from ./ide/Common/Common.h:4,
from ide/ide.h:4,
from ide/BaseDlg.cpp:1:
./Core/Sort.h:119:6: note: void Upp::Sort(Range&) [with Range = Upp::Vector<int>]
void Sort(Range& c)
^
./Core/Sort.h:125:6: note: void Upp::Sort(Range&&) [with Range = Upp::Vector<int>&]
void Sort(Range&& c) { Sort(c); }
^
make: *** [/root/rpmbuild/BUILD/upp-x11-src-10577M/out/ide//home/cxl/Scripts/GCCMK.bm-Gcc-Gui-Linux-Main-Mt-Posix-Shared/BaseDlg.o] Error 1
make: Leaving directory `/root/rpmbuild/BUILD/upp-x11-src-10577M/uppsrc'
error: Bad exit status from /root/rpmbuild/tmp/rpm-tmp.Bwwh4d (%build)
RPM build errors:
Bad exit status from /root/rpmbuild/tmp/rpm-tmp.Bwwh4d (%build)
[Updated on: Sun, 25 December 2016 09:35] Report message to a moderator
|
|
|
|
|
U++ 2017 beta
By: mirek on Thu, 22 December 2016 09:25
|
|
|
Re: U++ 2017 beta
By: MrSarup on Thu, 22 December 2016 20:25
|
|
|
Re: U++ 2017 beta
By: mirek on Thu, 22 December 2016 23:00
|
|
|
Re: U++ 2017 beta
By: MrSarup on Sun, 25 December 2016 08:02
|
|
|
Re: U++ 2017 beta
By: Klugier on Sun, 25 December 2016 21:29
|
|
|
Re: U++ 2017 beta
By: omari on Mon, 26 December 2016 13:36
|
|
|
Re: U++ 2017 beta
By: mr_ped on Fri, 23 December 2016 04:02
|
|
|
Re: U++ 2017 beta
By: koldo on Fri, 23 December 2016 10:28
|
|
|
Re: U++ 2017 beta
By: MrSarup on Sun, 25 December 2016 09:23
|
|
|
Re: U++ 2017 beta
By: MrSarup on Sun, 25 December 2016 09:52
|
|
|
Re: U++ 2017 beta
By: mirek on Sun, 25 December 2016 10:02
|
|
|
Re: U++ 2017 beta
By: mirek on Sun, 25 December 2016 09:52
|
|
|
Re: U++ 2017 beta
By: MrSarup on Sun, 25 December 2016 11:24
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: mirek on Sun, 01 January 2017 21:51
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: MrSarup on Wed, 28 December 2016 13:31
|
|
|
Re: U++ 2017 beta
By: mirek on Wed, 28 December 2016 16:53
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: MrSarup on Wed, 28 December 2016 20:53
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: Klugier on Wed, 28 December 2016 23:15
|
|
|
Re: U++ 2017 beta
By: amrein on Thu, 29 December 2016 08:44
|
|
|
Re: U++ 2017 beta
By: mirek on Sun, 01 January 2017 21:54
|
|
|
Re: U++ 2017 beta
By: mirek on Sun, 01 January 2017 22:03
|
|
|
Re: U++ 2017 beta
By: MrSarup on Mon, 02 January 2017 06:09
|
|
|
Re: U++ 2017 beta
By: mirek on Mon, 02 January 2017 22:31
|
|
|
Re: U++ 2017 beta
By: mirek on Mon, 02 January 2017 21:42
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: amrein on Tue, 03 January 2017 14:22
|
|
|
Re: U++ 2017 beta
By: mirek on Tue, 03 January 2017 14:59
|
|
|
Re: U++ 2017 beta
By: amrein on Wed, 04 January 2017 01:04
|
|
|
Re: U++ 2017 beta
By: MrSarup on Wed, 04 January 2017 07:28
|
|
|
Re: U++ 2017 beta
By: mirek on Wed, 04 January 2017 07:59
|
|
|
Re: U++ 2017 beta
By: mirek on Wed, 04 January 2017 08:03
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: MrSarup on Wed, 04 January 2017 08:47
|
|
|
Re: U++ 2017 beta
By: MrSarup on Wed, 04 January 2017 09:00
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: mirek on Wed, 04 January 2017 10:28
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: Tom1 on Wed, 04 January 2017 12:32
|
|
|
Re: U++ 2017 beta
By: mirek on Wed, 04 January 2017 12:38
|
|
|
Re: U++ 2017 beta
By: Tom1 on Wed, 04 January 2017 13:20
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: mirek on Wed, 04 January 2017 14:39
|
|
|
Re: U++ 2017 beta
By: Tom1 on Wed, 04 January 2017 15:29
|
|
|
Re: U++ 2017 beta
By: mirek on Thu, 05 January 2017 08:38
|
|
|
Re: U++ 2017 beta
By: Tom1 on Thu, 05 January 2017 09:17
|
|
|
Re: U++ 2017 beta
By: mirek on Wed, 04 January 2017 14:49
|
|
|
Re: U++ 2017 beta
|
|
|
Re: U++ 2017 beta
By: mirek on Wed, 04 January 2017 15:47
|
|
|
Re: U++ 2017 beta
By: Klugier on Wed, 04 January 2017 22:32
|
|
|
Re: U++ 2017 beta
By: mirek on Thu, 05 January 2017 08:23
|
|
|
Re: U++ 2017 beta
By: mr_ped on Thu, 05 January 2017 05:01
|
|
|
Re: U++ 2017 beta
By: mirek on Thu, 05 January 2017 08:20
|
Goto Forum:
Current Time: Tue May 07 13:18:59 CEST 2024
Total time taken to generate the page: 0.03339 seconds
|