|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Building & using U++ without TheIDE
Re: Building & using U++ without TheIDE [message #11562 is a reply to message #11553] |
Mon, 17 September 2007 18:33   |
sergei
Messages: 94 Registered: September 2007
|
Member |
|
|
luzr wrote on Mon, 17 September 2007 15:46 |
a) This is unlikely. Also, just the same name is not enough, only same signature is the problem.
b) I do not quite understand this SCU issue. I thought that task is to make possible to use U++ with CodeBlocks and VisualC++. I believe that users rather expect .lib files?
Mirek
|
b) I started with the goal of .lib, yet now I find it rather unattractive due to the 410MB debug lib. With a lib there are 2 possibilities - redistribute it, or redistribute a project to easily build it. 410MB makes the former impossible, and the latter would require maintaining projects for different compilers/IDEs. + even with precompiled headers build time is about 10 mins vs ~1 min in TheIDE.
So what I did now, instead, is use SCU approach to drastically reduce compilation time (it's not much worse than BLITZ's now), partially at the cost of EXE size non-modularity (simple GUI and complex GUI apps will have the same big EXE since the whole CtrlLib package is linked).
I have an interface header for each package, implementing SCU, so when I do: #include <Upp/CtrlLib.h> it's like adding CtrlLib package in TheIDE. These headers are auto-generated from U++ source (using .upp files). So basically, user can work in Code::Blocks, without a static lib (saving space and better debugging), yet with similar fast compiles. Environment becomes quite similar to TheIDE, though there are drawbacks - no embedded help / .lay and .iml editors, and larger EXE size.
I believe these drawbacks aren't too big, and I don't rule out the possibility of building (based on PCH, not SCU) and redistributing a release-only lib to reduce final EXE size.
a) Unlikely? Yes. Yet possible and it happens. IsLeapYear is once a function, another time a macro. BINS is defined in heap and in draw palette, with different values. INITBLOCK/EXITBLOCK also cause conflicts since some happen to appear on the same line number. z.cpp (zlib) is for some reason in Core, and it redefines ASCII_FLAG, HEAD_CRC etc. already defined in plugin/z. RichText/Para.h has Code enum, yet Code is #defined in plugin/z/lib/deflate.h. These are the minor changes in main U++ source I was talking about. That, zlib, and a few casts in png to make it C++ compatible.
P.S. tried to compile on MSVC8. This piece from deflate.h:
#define Freq fc.freq
#define Code fc.code
#define Dad dl.dad
#define Len dl.len
Doesn't let me compile since Code and Len are names of parameters of functions in winnt.h. => RichText/Para.h is fine, zlib should be further modified.
I think I'll just prefix everything troublesome in zlib with "zlib_". Should work. Any demo projects to test zlib? I want to make sure that the library still works after my modifications.
|
|
|
 |
 |
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: Sat Aug 23 15:32:39 CEST 2025
Total time taken to generate the page: 0.06221 seconds
|
|
|