libIrcClient
-
- Posts: 385
- Joined: Oct 16, 2005 0:15
- Location: USA
- Contact:
-
- Posts: 605
- Joined: Feb 18, 2006 13:30
- Location: Alexandria / Egypt
- Contact:
I'm not sure, but the lib is cross-platform.. :)blahboybang wrote:can you make a linux port?
it should compile on linux, unfortunately i don't have a working linux box atm :(Operating System : All 32-bit MS Windows (95/98/NT/2000/XP), All BSD Platforms (FreeBSD/NetBSD/OpenBSD/Apple Mac OS X), All POSIX (Linux/BSD/UNIX-like OSes), FreeBSD, Linux, OpenBSD, Solaris, HP-UX
can you try to compile it on your system?
get the source package here:
http://sourceforge.net/project/showfile ... _id=311575
if you manage to compile it, the fb headers should work (yet you'll have to replace the winsock dependency)
please post back with the result, so we can merge the headers/libs ;)
good luck :)
-
- Posts: 385
- Joined: Oct 16, 2005 0:15
- Location: USA
- Contact:
I already recompiled it, but the headers still have many errors.
btw, I have no idea how to replace the winsock dependancy.
Code: Select all
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
/usr/share/freebasic/inc/lircc/libircclient.bi(41) : error 57: Illegal specification, at parameter 2 (in_set) of irc_add_select_descriptors()
declare function irc_add_select_descriptors cdecl alias "irc_add_select_descriptors" (byval session as irc_session_t ptr, byval in_set as fd_set ptr, byval out_set as fd_set ptr, byval maxfd as integer ptr) as integer
^
/usr/share/freebasic/inc/lircc/libircclient.bi(41) : error 57: Illegal specification, at parameter 3 (out_set) of irc_add_select_descriptors()
declare function irc_add_select_descriptors cdecl alias "irc_add_select_descriptors" (byval session as irc_session_t ptr, byval in_set as fd_set ptr, byval out_set as fd_set ptr, byval maxfd as integer ptr) as integer
^
/usr/share/freebasic/inc/lircc/libircclient.bi(42) : error 57: Illegal specification, at parameter 2 (in_set) of irc_process_select_descriptors()
declare function irc_process_select_descriptors cdecl alias "irc_process_select_descriptors" (byval session as irc_session_t ptr, byval in_set as fd_set ptr, byval out_set as fd_set ptr) as integer
^
/usr/share/freebasic/inc/lircc/libircclient.bi(42) : error 57: Illegal specification, at parameter 3 (out_set) of irc_process_select_descriptors()
declare function irc_process_select_descriptors cdecl alias "irc_process_select_descriptors" (byval session as irc_session_t ptr, byval in_set as fd_set ptr, byval out_set as fd_set ptr) as integer
^
/usr/share/freebasic/inc/lircc/libircclient.bi(61) : error 57: Illegal specification, at parameter 3 (size) of irc_target_get_nick()
declare sub irc_target_get_nick cdecl alias "irc_target_get_nick" (byval target as zstring ptr, byval nick as zstring ptr, byval size as size_t)
^
/usr/share/freebasic/inc/lircc/libircclient.bi(62) : error 57: Illegal specification, at parameter 3 (size) of irc_target_get_host()
declare sub irc_target_get_host cdecl alias "irc_target_get_host" (byval target as zstring ptr, byval nick as zstring ptr, byval size as size_t)
-
- Posts: 605
- Joined: Feb 18, 2006 13:30
- Location: Alexandria / Egypt
- Contact:
-
- Posts: 605
- Joined: Feb 18, 2006 13:30
- Location: Alexandria / Egypt
- Contact:
looks like I'll add the linux version.....
[I'll edit this post with a link once I have it]
Oz~
:: Edit ::
This is what i get for only reading the first few posts :P
Well, if DrV is already on it, then I won't start...
`-> DrV, if you need a break from it, send to over to me: alex DOT barry AT gmail DOT com
[I'll edit this post with a link once I have it]
Oz~
:: Edit ::
This is what i get for only reading the first few posts :P
Well, if DrV is already on it, then I won't start...
`-> DrV, if you need a break from it, send to over to me: alex DOT barry AT gmail DOT com
I have compiled the new lircc (2.1) for linux and have the win32 binarys
this should be 100% cross-platform
I haven't tested the headers yet, but they should be fine
without further adu, here is the file:
freebasic lircc 2.1
Oz~
::EDIT ::
Those headers had some errors, and the example didn't work, so here is the fixed files:
lircc 2.1
this should be 100% cross-platform
I haven't tested the headers yet, but they should be fine
without further adu, here is the file:
freebasic lircc 2.1
Oz~
::EDIT ::
Those headers had some errors, and the example didn't work, so here is the fixed files:
lircc 2.1
DCC SEND/GET
If anyone could write an example on how to make the bot accept files from other users it'd be greatly appreciated. I've tried and tried but I cannot seem to make it work unfortunately.
Cheers. /Peter
Cheers. /Peter
Re: DCC SEND/GET
Darn, never mind that. I was just being plain stupid. I'll try to clean it up and post the example here whenever I get the time.peck wrote:If anyone could write an example on how to make the bot accept files from other users it'd be greatly appreciated. I've tried and tried but I cannot seem to make it work unfortunately.
Cheers. /Peter