|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Building & using U++ without TheIDE
Re: Building & using U++ without TheIDE [message #12409 is a reply to message #12403] |
Sun, 28 October 2007 02:04 |
sergei
Messages: 94 Registered: September 2007
|
Member |
|
|
There aren't any legal issues with BSD licences - you only have to mark them as modified (and open-source them too, but that will happen anyway).
I agree that as a general practice that would be bad, but I'm only talking about these few:
zlib - used in Core, thus simply has to be modified for SCU to work. Last update in 2005 - unlikely to change.
jpg - Often used. Last update in 1998 - won't change.
png, tif, bz2 - these are still rather active, so changes could be submitted to them. However, I doubt my modifications will be accepted - they are neither bugfixes nor functionality improvements, simply modifications for the plugin to make it work in another way.
I think that only z and png are used in all GUI apps. Thus they are a must. Rest aren't vital for trying out / working with U++. Modification to the (old) png version are simply adding casts. I'll try the latest version later. As I said, "big" ones like sqlite could be compiled in a separate lib.
In short - vital is zlib and png (hopefully new version will just work).
I still have no idea how to solve ReplaceText. That's really a technical challenge - how to make it work with headers and a single CPP file that has to include all of U++. Any help would be welcome.
Options:
1) The way I do it now - #include all packages headers into a single header (UppBase.h) included into program file. #include first all headers, then all sources of all packages into a single CPP file (UppBase.cpp). On MinGW that makes ReplaceText declared in UppBase.h become ReplaceTextA, and implementation in UppBase.cpp becomes ReplaceTextA too. On MSVC, ReplaceText in UppBase.h stays ReplaceText, yet implementation in UppBase.cpp becomes ReplaceTextA - error.
2) The way I did it before - #include everything into a single header (UppBase.h) - can be done per-package (pkg1hdr, pkg1src, pkg2hdr, pkg2src, ...). Then it will work on MinGW and MSVC (all will become ReplaceTextA). But then, every build, even a tiny change in program, will trigger full rebuild of U++ source (in first option that didn't happen since U++ source was in a never-changing UppBase.cpp).
3) Combine option 1 with option 2 - #include U++ per-package into UppBase.cpp, and only the headers into UppBase.h. ReplaceText will become ReplaceTextA in UppBase.cpp in both declaration and implementation, both MinGW and MSVC. However, in UppBase.h, ReplaceText will become ReplaceTextA only on MinGW, and will stay ReplaceText in MSVC - error.
Funny, but polluting the global namespace helps SCU
Hmm, this could also be hacked by #defining ReplaceText ReplaceTextA in RichEdit.h... Is it better than changing the function name?
|
|
|
|
|
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 Jun 08 06:57:31 CEST 2024
Total time taken to generate the page: 0.03400 seconds
|
|
|