Style:  Aqua  Graphite  Dark 
    TabSRMM
*
   
Please login or register. Forgot your password?
linktree TabSRMM  >  TabSRMM support  >  Discussions
linktree Topic: Nightly builds od TabSRMM
Members: 2190  •  Posts: 10348  •  Topics: 1749
Please welcome fsylviadurhami, our newest member.
0 Members and 1 Guest are viewing this topic.
 
Topic: Nightly builds od TabSRMM, Started by Serioga  (Read 7158 times) Search this topic *
Pages: 1 2 [All] |   Go Down
Forum Member
*****

Karma: 1
Posts: 17
Hi Nightwish,
Are there any possibilities to test nightly builds of your plugin?
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
Hi Nightwish,
Are there any possibilities to test nightly builds of your plugin?

No, sorry. Unless you build your own from CVS.

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Guest
Never did that (and not sure it'll work) so it's a totally noob question, but:

-where do I find the CVS?
-which exactly are the tools that I need for compiling any of the plugins (or core) correctly, presuming they would work on Win98SE?

Sorry, I'm ashamed for not knowing these basic things, but I never had a chance to get too close to coding on PC... :eek:
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
For some cvs info see here: http://www.miranda.or.at/forums/index.php/topic,3.0.html

Then you need a compiler. For tabSRMM, you can use MingW32/GCC which is freely available (but still a pretty huge install). Alternativly, Visual Studio .NET does it aswell, but a full install of that beast including MSDN will take a few gigs of hd space and it will eat RAM like nothing else :)

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Guest
Thanks, I was hoping for some direct links to the "monsters", but I'll be fine.
Do you think my 64 MB RAM and 2GB free HDD space will do?  :eek:

EDIT:
Personal question(s): which one do you use most and which version would you recommend me? I see a testing version of the Tortoise CVS, as I hate commandline appz, too. Do you use that as well, or you have other software? Geez, I'm so lame!!! :(
« Last Edit: May 11, 2005, 18:37:44 by Drugwash »
Forum Member
*****

Karma: 1
Posts: 82
Quote
Thanks, I was hoping for some direct links to the "monsters", but I'll be fine.
Do you think my 64 MB RAM and 2GB free HDD space will do?


And wincvs/cvsnt for CVS access.
Forum Member
*****

Karma: 4
Gender: Male
Posts: 129
Urban Rider...
Yeah... I also tried to compile stuff by myself... I had everything set... Had the code with TortoiseCVS... Had the Mingw installed... but didn't know what to do next... :D all the helpfiles and documents - too complicated for me, so I gave up... :/ though I still have everything installed... :D
Guest
I'm totally lost... :(
Do I really need all those GCC, binutils, MSYS, W32API, etc? Damn, I'm fallin' apart... I don't understand anything... :'(
Forum Member
*****

Karma: 0
Posts: 66
Why compile a new version every day? When it's stable and new features is present, Nightwish always makes a release...
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
I'm totally lost... :(
Do I really need all those GCC, binutils, MSYS, W32API, etc? Damn, I'm fallin' apart... I don't understand anything... :'(

Yes, you need at least GCC, binutils, Win32Api, MingW32 runtime and maybe more.

A good way to get *everything* with a working package is Dev-Cpp. It has the advantage that you get a relatively decent IDE on top of GCC/MingW32, including a C/C++ source code editor, project manager and more.

Of course, everything for free...

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Guest
Thank you very much! I'll do my best not to screw things up too badly! ;D
(Don't expect miracles, though...  :P )
Guest
As I  presumed, no miracles happened. I got it all figured out, except for the project file (tabsrmm.dev). It's too old (21.oct.2004) and claims for some header files that are not there anymore.
So, would you take a few minutes to update the project file for Dev-C++, or should I just create a new project, add all known files and go with the flow? There's too much work invested there and I don't wanna screw it up.
And another thing: as tabSRMM is directly related to the core (and maybe to some other plugins), shouldn't I have those downloaded as well? I remember I read something like that in a post, some time ago, but I didn't pay too much attention at that time.
I know, I should RTFM, but no Help or FAQ can replace a few quick expert advices. So please, be gentle with me.  ;)
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
As I  presumed, no miracles happened. I got it all figured out, except for the project file (tabsrmm.dev). It's too old (21.oct.2004) and claims for some header files that are not there anymore.
So, would you take a few minutes to update the project file for Dev-C++, or should I just create a new project, add all known files and go with the flow? There's too much work invested there and I don't wanna screw it up.
And another thing: as tabSRMM is directly related to the core (and maybe to some other plugins), shouldn't I have those downloaded as well? I remember I read something like that in a post, some time ago, but I didn't pay too much attention at that time.
I know, I should RTFM, but no Help or FAQ can replace a few quick expert advices. So please, be gentle with me.  ;)

The makefiles are up to date.

If you have installed everything ok, you can open a command line, change to the directory where you have installed the tabsrmm sources, and type:

make -f Makefile.ansi

to build the non-unicode version.

Using Makefile.W32 builds the unicode version.

As for Dev-Cpp - I don't use it, so I cannot maintain the .dev files any longer.

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Forum Member
*****

Karma: 4
Gender: Male
Posts: 129
Urban Rider...
Heh... cool... I almost got it working...  8) but the compilator shows an error:

Code: [Select]
msgdialog.c: In function `DlgProcMessage':
msgdialog.c:4419: error: structure has no member named `lpUsedDefChar'
mingw32-make: *** [Release_MINGW32_UNICODE/msgdialog.o] Error 1
Forum Member
*****

Karma: 7
Gender: Male
Posts: 124
Woohooo:
Code: [Select]
          Alt-NumPad+ and AltNumPad- cycle tabs (same as CtrlPgUp/Dn)
The only thing to do... is to compile it :D

edit: Hmm, I'm probably lame too, I just don't know where to type this "make -f makefile.w32" ...in command line it says "unknown command MAKE". By "command line" you mean the C:\Windows\system32\command.com, right?

edit2: Well, nowotny helped me a lot (thanks again). I finally made the "make" to "make" :D I got stuck with the same error as nowotny does. In the attachment, there is a full progress what the compiler does (I have no idea what :)).
Nightwish... are we doing something wrong? (I think we do :D) ...This is not about "getting the latest version of tabsrmm" it's about "compiling the first source ever with success" (at least for me :)). Please help us oh mighty skiller ;D
« Last Edit: May 13, 2005, 10:46:48 by Koki.v3 »

---------------------------
;D Sorry for my English ;D
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
Heh... cool... I almost got it working...  8) but the compilator shows an error:

Code: [Select]
msgdialog.c: In function `DlgProcMessage':
msgdialog.c:4419: error: structure has no member named `lpUsedDefChar'
mingw32-make: *** [Release_MINGW32_UNICODE/msgdialog.o] Error 1

It's a MingW32 bug in the richedit.h file. The gettextex structure is wrong there... It defines the member lpUsedDefaultChar, but it has to be lpUsedDefChar.

So a quick edit of richedit.h will solve this (you can find it in the include subdirectory of your MingW32 installation.

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Guest
Quote
The makefiles are up to date.
If you have installed everything ok, you can open a command line, change to the directory where you have installed the tabsrmm sources, and type:
make -f Makefile.ansi
to build the non-unicode version.
And so I did. I can't remember the hundreds of errors received.
So I ask one more time: is there ANYTHING else that I have to download and/or install, besides Dev-C++ and tabSRMM sources from CVS? Thank you.
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
Quote
The makefiles are up to date.
If you have installed everything ok, you can open a command line, change to the directory where you have installed the tabsrmm sources, and type:
make -f Makefile.ansi
to build the non-unicode version.
And so I did. I can't remember the hundreds of errors received.
So I ask one more time: is there ANYTHING else that I have to download and/or install, besides Dev-C++ and tabSRMM sources from CVS? Thank you.

Hundreds of errors.. most likely, missing include files.

Besides tabSRMM source, you also need parts of miranda source, especially the \include directory. Also, the directory structure needs to stay intact, basically, it looks like...

Code: [Select]
- root folder
+ include
+ plugins
+--tabsrmm
+ protocols
+ src
.. and a few more

include must not be empty.

Best way to get all is to check out an entire miranda source tree. This will include tabSRMM, of course.

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Guest
Thanks very much!
(Couldn't you've said that the first time?!  :P )
Forum Member
*****

Karma: 7
Gender: Male
Posts: 124
Thanks Nightwish... this one (nowotny and I were talking about) is gone.
BUT :) (and you know what)... another error occured - it's the last command in the makefile.

Code: [Select]
windres.exe: resource.rc:146: syntax error
tabsrmm_private.rc:0: fatal error: when writing output to : Invalid argument
compilation terminated.
MAKE: *** [tabsrmm_private.res] Error 1

Not sure what that means and what I have to do/change.
I don't wanna bug you with this but please... one more time, help me (us).

---------------------------
;D Sorry for my English ;D
Guest
I guess my luck just stopped here... Look what I'm getting:

In file included from trayicon.c:35:
m_toptoolbar.h:107:7: warning: no newline at end of file

In file included from container.c:59:
m_snapping_windows.h:25:28: warning: no newline at end of file

In file included from hotkeyhandler.c:46:
m_Snapping_windows.h:25:28: warning: no newline at end of file

msglog.c: In function `BuildCodePageList':
msglog.c:1384: warning: passing arg 1 of `EnumSystemCodePagesA' from incompatible pointer type

msgoptions.c:853: warning: static declaration of 'DlgProcContainerOptions' follows non-static declaration
msgdlgutils.h:60: warning: previous declaration of 'DlgProcContainerOptions' was here

In file included from msgs.c:37:
m_toptoolbar.h:107:7: warning: no newline at end of file
msgs.c: In function `InitREOleCallback':
msgs.c:1156: warning: assignment from incompatible pointer type

dllwrap.exe --output-def A/libtabsrmm.def --implib A/libtabsrmm.a A/urlctrl.o A/
userprefs.o A/templates.o A/eventpopups.o A/trayicon.o A/formatting.o A/ImageDat
aObject.o A/themes.o A/sendqueue.o A/msgdlgutils.o A/container.o A/containeropti
ons.o A/hotkeyhandler.o A/msgdialog.o A/msglog.o A/msgoptions.o A/msgs.o A/selec
tcontainer.o A/srmm.o tabsrmm_private.res -L"C:/Dev-Cpp/lib" --no-export-all-sym
bols --add-stdcall-alias c:/dev-cpp/lib/libgdi32.a c:/dev-cpp/lib/libole32.a c:/
dev-cpp/lib/libuser32.a c:/dev-cpp/lib/libcomctl32.a c:/dev-cpp/lib/libuuid.a c:
/dev-cpp/lib/libcomdlg32.a  c:/dev-cpp/lib/libstdc++.a -mwindows -s -o ../../bin
/release/plugins/tabsrmm.dll
Bad command or file name


While the warnings are no big deal and it went over them, the last command (and the most important one) will not work. The only thing I think about is a Win9x limitation in strings' length.
You will notice that the I've replaced the default folder Release_MINGW32_ANSI with just A to shorten the string, but to no avail.
I've also created the output folder and it's subfolders D:\miranda\bin\release\plugins\ , while the whole project is located in D:\miranda\.

Now, is there the slightest possibility that I could merge all those .o files into a single one, so I could shorten the command string? Or could it be something else wrong here?
I have to mention that the whole c:\Dev-Cpp\bin\ is in my autoexec.bat's PATH and it's recognized, so calling dllwrap.exe is not an issue (also checked it without parameters and it responded accordingly).
« Last Edit: May 13, 2005, 16:46:52 by Drugwash »
Forum Member
*****

Karma: 4
Gender: Male
Posts: 129
Urban Rider...
Heh... cool... I have just compiled my first plugin ever... :D I'm on winxp and managed to compile both versions... thanks Nightwish for the help...  8)
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
dllwrap.exe --output-def A/libtabsrmm.def --implib A/libtabsrmm.a A/urlctrl.o A/
userprefs.o A/templates.o A/eventpopups.o A/trayicon.o A/formatting.o A/ImageDat
aObject.o A/themes.o A/sendqueue.o A/msgdlgutils.o A/container.o A/containeropti
ons.o A/hotkeyhandler.o A/msgdialog.o A/msglog.o A/msgoptions.o A/msgs.o A/selec
tcontainer.o A/srmm.o tabsrmm_private.res -L"C:/Dev-Cpp/lib" --no-export-all-sym
bols --add-stdcall-alias c:/dev-cpp/lib/libgdi32.a c:/dev-cpp/lib/libole32.a c:/
dev-cpp/lib/libuser32.a c:/dev-cpp/lib/libcomctl32.a c:/dev-cpp/lib/libuuid.a c:
/dev-cpp/lib/libcomdlg32.a  c:/dev-cpp/lib/libstdc++.a -mwindows -s -o ../../bin
/release/plugins/tabsrmm.dll
Bad command or file name

All directories which are used in the Makefile must exist before you start the build. The build tools will not create them when needed.

If you rename directories, you'll need to edit the Makefile(s) aswell.

Also, you need to create the *final* directory (../../bin/release/plugins/ in that case) before you start the build.

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Guest
Directories exist. As I said, after I struggled to make it work with the original paths and names (Release_MINGW32_ANSI folder, relative path ../../bin/release/plugins/), I created a simple A folder in D:\miranda\plugins\tabsrmm\ and modified the MAKEFILE.ANSI accordingly (in fact, I created a duplicate with modified paths). I used even a direct path for the output file (D:\miranda\tabsrmm.dll) instead of the relative one. I checked it over and over again for misspelling or other unmatching things.
Also, for shortening the path, I eventually changed the names of the .o files into numeric ones (01 through 19), also carefully regarding their order and everything.
I did all these gradually, retrying to compile everytime. No success. And damn system won't stop the scrolling when I try to see the dllwrap.exe's help, even though I set it to pause after each page, in autoexec.bat (SET DIRCMD= /P /O:GNE). Reason might be that I'm using the unofficial SP2 for Win98SE which has a modified MS-DOS prompt that behaves much like the Unix systems (direct copy as in the new tabSRMM message window).
Anyway, I just can't get it to pass through that last step. Any other ideas?

EDIT:
I attached the modified makefile, if you wanna check it.


EDIT 2:
I tried with a shortened string  and it actually made a dll.
(D:\miranda\plugins\tabsrmm>dllwrap.exe --output-def A/libtabsrmm.def --implib A/libtabsrmm.a A/01.o -mwindows -s -o D:\miranda\tabsrmm.dll
C:\DEV-CPP\BIN\DLLWRAP.EXE: no export definition file provided.
Creating one, but that may not be what you want
)

EDIT 3:
Definitely it must be a DOS string length limitation. I tried to input a longer command string and all I could input was
dllwrap.exe --output-def A/libtabsrmm.def --implib A/libtabsrmm.a A/01.o A/02.o A/03.o A/04.o A/05.o A/06.o A/07.o A/08.o A09.
Only 127 characters!!! WTF is going on with my Windows?!
« Last Edit: May 13, 2005, 19:23:24 by Drugwash »
Forum Member
*****

Karma: 7
Gender: Male
Posts: 124
Nightwish, please. I know that you are very busy :'(
> http://www.miranda.or.at/forums/index.php/topic,631.msg3656.html#msg3656

---------------------------
;D Sorry for my English ;D
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
Thanks Nightwish... this one (nowotny and I were talking about) is gone.
BUT :) (and you know what)... another error occured - it's the last command in the makefile.

Code: [Select]
windres.exe: resource.rc:146: syntax error
tabsrmm_private.rc:0: fatal error: when writing output to : Invalid argument
compilation terminated.
MAKE: *** [tabsrmm_private.res] Error 1

Not sure what that means and what I have to do/change.
I don't wanna bug you with this but please... one more time, help me (us).

Most likely TCS_HOTTRACK not defined. Check tabsrmm_private.rc, it should look like:
Code: [Select]
// THIS FILE WILL BE OVERWRITTEN BY DEV-C++!
// DO NOT EDIT!

#define UDS_HOTTRACK 0x0100
#define TCS_HOTTRACK 0x0040

#include "resource.rc"
#include "msgwindow.rc"

And yes, Dev-cpp overwrites it which is annoying, because you have to restore it everytime that happens. There is no fix for this, because I don't work with Dev-Cpp and my editor is a bit smarter :)


---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Forum Member
*****

Karma: 7
Gender: Male
Posts: 124
Most likely TCS_HOTTRACK not defined. Check tabsrmm_private.rc, it should look like:
Code: [Select]
// THIS FILE WILL BE OVERWRITTEN BY DEV-C++!
// DO NOT EDIT!

#define UDS_HOTTRACK 0x0100
#define TCS_HOTTRACK 0x0040

#include "resource.rc"
#include "msgwindow.rc"

You were right! The file was modified (i noticed that there was a different sub-icon but I didn't know what that means)... it was like:

Code: [Select]
// THIS FILE WILL BE OVERWRITTEN BY DEV-C++!
// DO NOT EDIT!

#include "resource.rc"

And yes, Dev-cpp overwrites it which is annoying, because you have to restore it everytime that happens. There is no fix for this, because I don't work with Dev-Cpp and my editor is a bit smarter :)

AT LAST !!! It works! God damn it this is awesome! (oh I'm sooooo good :D ...eh what I mean - you're the one!)
Finally I can use these Alt++ and Alt+- hotkeys :)
« Last Edit: May 13, 2005, 20:42:13 by Koki.v3 »

---------------------------
;D Sorry for my English ;D
Guest
So nobody cares about the "retarded" Win98 anymore, huh? Dev-C++ won't make it because of that damn DOS limitation, and VS... well, installing a whole DVD-wide application just for compiling a half-meg dll is just not my intention, not to mention about low HDD space.
Thanks for the help. I'll just go hang myself in some attic...
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
So nobody cares about the "retarded" Win98 anymore, huh? Dev-C++ won't make it because of that damn DOS limitation,

You may be right about that DOS limitations regarding filenames and such on the command line. Didn't think about this, but it may cause problems. I know that the cygwin tools are supposed to work on 9x, and they can provide a nice shell replacement (bash, well known from Linux and other *ix type operating systems).

Quote
and VS... well, installing a whole DVD-wide application just for compiling a half-meg dll is just not my intention, not to mention about low HDD space.

I wouldn't install VS.NET on a machine with less than 256 MB RAM - the old visual C++ 6 should still work on smaller machines, but I cannot guarantee that tabSRMM will compile on it.

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Guest
It's OK, I disabled "Compiling" in my list of wishes. Maybe some other time, when I'll have a better machine... Sorry for wasting your time...
Forum Member
*****

Karma: 4
Gender: Male
Posts: 129
Urban Rider...
The res/leftarrow.ico seems to be missing in the cvs...
Forum Member
*****

Karma: 0
Posts: 2
http://jlinhart.00.spsdk.cz/zlo_.avi

WTF? I'm so hopeless! Some idea to solve this problem? :)
Window isn't refreshing/repainting  :'(
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
http://jlinhart.00.spsdk.cz/zlo_.avi

WTF? I'm so hopeless! Some idea to solve this problem? :)
Window isn't refreshing/repainting  :'(

Looks like an IEView problem. Does it work with the default message log?

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Forum Member
*****

Karma: 0
Posts: 2
http://jlinhart.00.spsdk.cz/zlo_.avi

WTF? I'm so hopeless! Some idea to solve this problem? :)
Window isn't refreshing/repainting  :'(

Looks like an IEView problem. Does it work with the default message log?



Default message log is ok/-:
Forum Member
*****

Karma: 3
Gender: Male
Posts: 97
Didn't want to open a new thread for this and this one seems somewhat related, so... :)
Quote
Log Message:
added support for new xStatus modes (ICQJ Alpha 12 or later)
How will this take effect exactly in TabSRMM?
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2659
Developer
added support for new xStatus modes (ICQJ Alpha 12 or later)
How will this take effect exactly in TabSRMM?
Quote

You will see the new xStatus icons in the info panel (there are now more than only 24).

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Pages: 1 2 [All] |   Go Up« previous next »
linktree TabSRMM  >  TabSRMM support  >  Discussions
linktree Topic: Nightly builds od TabSRMM


Tags:


Related Topics
  Subject / Started by Replies Last post
3 Replies
1560 Views
Last post November 05, 2004, 01:03:12
by neooffs
2 Replies
1028 Views
Last post February 07, 2005, 11:44:36
by Dem_
56 Replies
15513 Views
Last post January 05, 2006, 22:02:25
by andrewabc
0 Replies
4961 Views
Last post April 25, 2006, 02:46:37
by Nightwish
7 Replies
1850 Views
Last post August 17, 2006, 16:51:14
by Nightwish

 
Powered by SMF 2 | SMF © 2006–2010, Simple Machines LLC
XHTML RSS WAP2 Theme by Mirana@at, icons courtesy of FamFam and Crystal

Page created in 0.24 seconds with 24 queries.