|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Building & using U++ without TheIDE
Re: Building & using U++ without TheIDE [message #11364 is a reply to message #11360] |
Mon, 10 September 2007 01:48 |
sergei
Messages: 94 Registered: September 2007
|
Member |
|
|
Thanks for the quick reply.
I did search the forum previously, all I found was outdated MSVC solution files. Now I've seen your new post about icpp, previously I didn't even understand what they were.
I renamed icpp to cpp, inserted dummy functions, but then I don't think these were the cause of my problems (yet?). Static libraries build every cpp, and include every h included, right? (that would explain locale.cpp with no locale.h).
I might be missing something here. Here's what I'm doing:
1) In Code::Blocks (recent nightly build) using MinGW (GCC 3.4.5), I created a static library project.
2) Copied everything from uppsrc folder to project folder, added all cpp (including icpp, renamed to cpp so they get compiled), h and rc.
3) Defined PLATFORM_WIN32 in project options.
4) Ran build all. Got a bunch of warnings and an error.
Warning are mostly signed/unsigned. One was more serious:
Core\Util.h:283: warning: `class Upp::CharFilterTextTest' has virtual functions but non-virtual destructor
Error:
CbGen\CppGen.cpp:: In function `void CallbackGen(Upp::String, Upp::String, int, Upp::String, Upp::String)':
CbGen\CppGen.cpp:27: error: no match for 'operator<<' in 'String(((const char*)"template <class OBJECT, class METHOD")) << If(Upp::String, Upp::String)(Upp::operator+(const char*, const Upp::String&)(((const Upp::String&)((const Upp::String*)(&classdef)))))'
That was on:
String cl_temp = String("template <class OBJECT, class METHOD") << If(classdef, ", " + classdef) << ">";
I changed that to (not sure if correct, just wanted to continue):
String cl_temp = String("template <class OBJECT, class METHOD");
cl_temp <<= If(classdef, ", " + classdef);
cl_temp <<= ">";
Tried to rebuild. Even more warnings - signed/unsigned, and virtual for PrintPageDraw. It also found that:
Item& AddMenu(const String& t, const UPP::Image& m, Callback c) { AddMenu(t, m, c); }
Didn't return a value though it should.
And again an error. This time in Core\t.h:
INITBLOCK_(COMBINE3(LNG_MODULE, LNG_VERB, LNG_VERA))
{
static LngEntry__ langset[] = {
#include TFILE
{ 0, NULL }
};
#ifdef LNGMODULE
AddModule(langset, #LNGMODULE);
#else
AddModule(langset);
#endif
}
LngEntry__ and AddModule are undefined.
Included <Core/i18n.h> to this file. Looks like it helped.
Next error: String undefined in i18n, including <Core/String.h> helped.
Next - seems like due to my modifications String got included more than once. And looks like it doesn't have include guards.
OK, I might be able to go on "fixing" the source, but I guess something is wrong if I'm getting all these errors. Or maybe it's due to BLITZ putting all files together and thus solving dependancy problems...
I'd be glad to hear if there is an easy way to solve this. I didn't find a makefile to build U++. I guess taking *.o files from TheIDE could be a solution, but I'd prefer to be able to build a library without TheIDE.
|
|
|
|
|
Building & using U++ without TheIDE
By: sergei on Sun, 09 September 2007 22:03
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sun, 09 September 2007 23:47
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 10 September 2007 01:48
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 10 September 2007 10:16
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 10 September 2007 10:30
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 10 September 2007 12:25
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 10 September 2007 13:56
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 10 September 2007 15:53
|
|
|
Re: Building & using U++ without TheIDE
By: Ulti on Mon, 10 September 2007 16:56
|
|
|
Re: Building & using U++ without TheIDE
By: Zardos on Mon, 10 September 2007 17:17
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 10 September 2007 17:57
|
|
|
Re: Building & using U++ without TheIDE
By: Zardos on Tue, 11 September 2007 09:25
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Tue, 11 September 2007 22:22
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 10 September 2007 17:57
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 10 September 2007 18:09
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 10 September 2007 18:12
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 10 September 2007 18:15
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 10 September 2007 20:59
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 10 September 2007 21:31
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 10 September 2007 22:35
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Tue, 11 September 2007 22:16
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Tue, 11 September 2007 02:21
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Tue, 11 September 2007 22:21
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 12 September 2007 02:25
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 12 September 2007 09:20
|
|
|
Re: Building & using U++ without TheIDE
By: Novo on Wed, 12 September 2007 18:20
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 12 September 2007 18:47
|
|
|
Re: Building & using U++ without TheIDE
By: Novo on Wed, 12 September 2007 20:04
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 12 September 2007 22:01
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 12 September 2007 12:31
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 12 September 2007 14:25
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 12 September 2007 15:22
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 12 September 2007 17:34
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 12 September 2007 18:00
|
|
|
Re: Building & using U++ without TheIDE
By: Novo on Wed, 12 September 2007 18:31
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Thu, 13 September 2007 01:19
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Thu, 13 September 2007 05:45
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Thu, 13 September 2007 02:21
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Thu, 13 September 2007 15:43
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Thu, 13 September 2007 23:58
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Fri, 14 September 2007 02:21
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sat, 15 September 2007 20:11
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Sat, 15 September 2007 21:22
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sat, 15 September 2007 22:00
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Sat, 15 September 2007 22:16
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sat, 15 September 2007 22:48
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Sun, 16 September 2007 01:43
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sun, 16 September 2007 01:55
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sun, 16 September 2007 01:58
|
|
|
Re: Building & using U++ without TheIDE
By: cbpporter on Mon, 17 September 2007 07:53
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 17 September 2007 10:10
|
|
|
Re: Building & using U++ without TheIDE
By: cbpporter on Mon, 17 September 2007 10:53
|
|
|
Re: Building & using U++ without TheIDE
By: tvanriper on Tue, 18 September 2007 02:35
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Sat, 15 September 2007 18:57
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sat, 15 September 2007 22:06
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 17 September 2007 11:07
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 17 September 2007 11:22
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 17 September 2007 13:50
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 17 September 2007 15:46
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 17 September 2007 18:33
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 17 September 2007 22:20
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 17 September 2007 22:28
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 17 September 2007 23:47
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Tue, 18 September 2007 00:08
|
|
|
Re: Building & using U++ without TheIDE
By: unodgs on Tue, 18 September 2007 08:30
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Tue, 18 September 2007 00:32
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Tue, 18 September 2007 03:04
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Tue, 18 September 2007 18:05
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Tue, 18 September 2007 19:04
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 19 September 2007 00:43
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 19 September 2007 09:34
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 19 September 2007 10:12
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 19 September 2007 10:45
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 19 September 2007 11:18
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 19 September 2007 11:33
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 19 September 2007 11:39
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 19 September 2007 12:22
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 19 September 2007 12:39
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 19 September 2007 11:40
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 19 September 2007 14:22
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 19 September 2007 23:06
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 19 September 2007 23:56
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Thu, 20 September 2007 05:39
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Thu, 20 September 2007 13:29
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Thu, 20 September 2007 14:51
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Thu, 20 September 2007 15:11
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Thu, 20 September 2007 21:57
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Fri, 21 September 2007 03:36
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Fri, 21 September 2007 09:49
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Fri, 21 September 2007 13:41
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sat, 22 September 2007 00:16
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Sat, 22 September 2007 00:18
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sun, 23 September 2007 10:54
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Sun, 23 September 2007 16:22
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Sun, 23 September 2007 20:51
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Tue, 25 September 2007 11:44
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Tue, 25 September 2007 16:18
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Tue, 25 September 2007 23:07
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 26 September 2007 00:52
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 26 September 2007 13:41
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 26 September 2007 15:13
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 26 September 2007 18:25
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 26 September 2007 18:44
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 26 September 2007 19:26
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 26 September 2007 21:01
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 26 September 2007 22:56
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Tue, 09 October 2007 19:14
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Tue, 09 October 2007 23:39
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 10 October 2007 00:02
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 10 October 2007 00:51
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Thu, 11 October 2007 05:40
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 15 October 2007 00:35
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 15 October 2007 07:27
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 15 October 2007 10:48
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 15 October 2007 12:18
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 17 October 2007 19:12
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Wed, 17 October 2007 21:58
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Wed, 17 October 2007 22:54
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Thu, 18 October 2007 01:34
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Thu, 18 October 2007 14:44
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Thu, 18 October 2007 17:49
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Sun, 21 October 2007 02:54
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sun, 21 October 2007 22:26
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 22 October 2007 01:39
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sat, 27 October 2007 19:40
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Sun, 28 October 2007 02:04
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Mon, 29 October 2007 00:38
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Thu, 01 November 2007 12:30
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Sun, 04 November 2007 12:34
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 05 November 2007 09:06
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Mon, 05 November 2007 11:10
|
|
|
Re: Building & using U++ without TheIDE
By: sergei on Tue, 06 November 2007 14:07
|
|
|
Re: Building & using U++ without TheIDE
By: mirek on Tue, 06 November 2007 21:19
|
Goto Forum:
Current Time: Tue May 14 09:26:43 CEST 2024
Total time taken to generate the page: 0.03525 seconds
|
|
|