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: Installation, Compiling and Running of theide » error compiling latest uvs2 ide
error compiling latest uvs2 ide [message #4611] Wed, 16 August 2006 20:42 Go to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi,

I tried to build theide with uvs sources and got the following error in the RichEdit package:

----- RichEdit ( GUI GCC BLITZ FREEBSD ) (16 / 31)
BLITZ: Ruler.cpp UnitEdit.cpp Editor.cpp Speller.cpp Kbd.cpp Mouse.cpp Cursor.cpp Undo.cpp Modify.cp
	p Formating.cpp ParaFormat.cpp TableUndo.cpp Table.cpp Tool.cpp
In file included from /home/masu/upp_uvs/out/RichEdit/GCC32.Blitz.Gui/$blitz.cpp:44:
/home/masu/upp_uvs/uppsrc/RichEdit/Modify.cpp: In member function `void RichEdit::Insert(int, const 
	RichText&, bool)':
/home/masu/upp_uvs/uppsrc/RichEdit/Modify.cpp:100: error: no matching function for call to `RichEdit
	::SetupLanguage(Vector<int>)'
/home/masu/upp_uvs/uppsrc/RichEdit/Editor.cpp:378: note: candidates are: void RichEdit::SetupLanguag
	e(Vector<int>&)

Matthias


931b81e7ea53320dccc37375b34b38c3
Re: error compiling latest uvs2 ide [message #4612 is a reply to message #4611] Wed, 16 August 2006 21:06 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13995
Registered: November 2005
Ultimate Member
Try RichEdit.h 374:

void SetupLanguage(pick_ Vector<int>& lng);

Mirek
Re: error compiling latest uvs2 ide [message #4613 is a reply to message #4612] Wed, 16 August 2006 21:27 Go to previous messageGo to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Ok, this error is resolved, but I had to also change the method parameter in cpp file.
I got a new error in RichEdit package:

----- RichEdit ( GUI GCC BLITZ FREEBSD ) (16 / 31)
BLITZ: Ruler.cpp UnitEdit.cpp Editor.cpp Speller.cpp Kbd.cpp Mouse.cpp Cursor.cpp Undo.cpp Modify.cpp For
	mating.cpp ParaFormat.cpp TableUndo.cpp Table.cpp Tool.cpp
In file included from /home/masu/upp_uvs/out/RichEdit/GCC32.Blitz.Gui/$blitz.cpp:17:
/home/masu/upp_uvs/uppsrc/Core/Topt.h: In function `void Swap(T&, T&) [with T = const int]':
/home/masu/upp_uvs/uppsrc/Core/Topt.h:13:   instantiated from `void IterSwap(I, I) [with I = const int*]'
	
/home/masu/upp_uvs/uppsrc/Core/Algo.h:805:   instantiated from `void Sort(I, I, const Less&) [with I = co
	nst int*, Less = StdLess<int>]'
/home/masu/upp_uvs/uppsrc/Core/Algo.h:838:   instantiated from `void Sort(T&) [with T = const Vector<int>
	]'
/home/masu/upp_uvs/uppsrc/RichEdit/Editor.cpp:379:   instantiated from here
/home/masu/upp_uvs/uppsrc/Core/Topt.h:10: error: assignment of read-only reference `a'
/home/masu/upp_uvs/uppsrc/Core/Topt.h:10: error: assignment of read-only reference `b'
Find.cpp
RichEdit.icpp
RichEdit: 16 file(s) built in (0:24.74), 1546 msecs / file, duration = 24776 msecs

There were errors. (1:28.06)

Matthias
Re: error compiling latest uvs2 ide [message #4616 is a reply to message #4613] Wed, 16 August 2006 23:04 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13995
Registered: November 2005
Ultimate Member
Sorry Smile

Editor.cpp 377:

void RichEdit::SetupLanguage(pick_ Vector<int>& _lng)
{
Vector<int>& lng = const_cast<Vector<int>&>(_lng);

...or just sync uvs2

Mirek
Re: error compiling latest uvs2 ide [message #4617 is a reply to message #4616] Wed, 16 August 2006 23:46 Go to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Builds fine now, thanks Smile.

Matthias
Previous Topic: Linux upgrade
Next Topic: Several versions of upp: the best structure of Upp directories?
Goto Forum:
  


Current Time: Sat Jul 20 20:28:57 CEST 2024

Total time taken to generate the page: 0.02150 seconds