From: Romain L. <rom...@wa...> - 2003-10-18 12:04:57
|
Hi, John Spiegel a =E9crit : > I'm having problems getting tilp compiled on windows.=20 > It keeps looking for "inttypes.h". I'm not sure what > provides that for windows. Any help would be > appreciated. If you want to compile TiLP on Windows, you should not use the TiLP SDK. Th= e SDK is provided for building apps against libs. The best thing to do: retrieve source code of 3 libs and TiLP. Uncompress t= hem and rebuild. But, do you really want to do that ? It may be a bit tedi= ous... >=20 > JOhn >=20 > ----------------------------------------- > Compiling... > Avr_link.c > c:\program files\tilp-sdk\cables\src\cabl_def.h(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > Dev_link.c > c:\program files\tilp-sdk\cables\src\cabl_def.h(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > dfl_link.c > c:\program files\tilp-sdk\cables\src\dfl_link.c(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > Par_link.c > c:\program files\tilp-sdk\cables\src\par_link.c(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > Ser_link.c > c:\program files\tilp-sdk\cables\src\cabl_def.h(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > slv_link.c > c:\program files\tilp-sdk\cables\src\intl.h(37) : > fatal error C1083: Cannot > open include file: 'libintl.h': No such file or > directory > Tie_link.c > c:\program files\tilp-sdk\cables\src\intl.h(37) : > fatal error C1083: Cannot > open include file: 'libintl.h': No such file or > directory > Tig_link.c > c:\program files\tilp-sdk\cables\src\cabl_def.h(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > Vti_link.c > c:\program files\tilp-sdk\cables\src\intl.h(37) : > fatal error C1083: Cannot > open include file: 'libintl.h': No such file or > directory > Vtl_link.c > c:\program files\tilp-sdk\cables\src\cabl_def.h(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > Error.c > c:\program files\tilp-sdk\cables\src\intl.h(37) : > fatal error C1083: Cannot > open include file: 'libintl.h': No such file or > directory > Intrface.c > c:\program files\tilp-sdk\cables\src\intl.h(37) : > fatal error C1083: Cannot > open include file: 'libintl.h': No such file or > directory > Ioports.c > c:\program files\tilp-sdk\cables\src\cabl_def.h(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > Logging.c > c:\program files\tilp-sdk\cables\src\intl.h(37) : > fatal error C1083: Cannot > open include file: 'libintl.h': No such file or > directory > porttalk.c > c:\program files\tilp-sdk\cables\src\cabl_def.h(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > Probe.c > c:\program files\tilp-sdk\cables\src\probe.c(38) : > fatal error C1083: Cannot > open include file: 'inttypes.h': No such file or > directory > timodules.c > c:\program files\tilp-sdk\cables\src\intl.h(37) : > fatal error C1083: Cannot > open include file: 'libintl.h': No such file or > directory > type2str.c > c:\program files\tilp-sdk\cables\src\intl.h(37) : > fatal error C1083: Cannot > open include file: 'libintl.h': No such file or > directory > verbose.c > c:\program files\tilp-sdk\cables\src\cabl_def.h(30) : > fatal error C1083: > Cannot open include file: 'inttypes.h': No such file > or directory > Error executing cl.exe. >=20 > ticables.dll - 19 error(s), 0 warning(s)=20 >=20 >=20 > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel >=20 --=20 Romain Li=E9vin, aka 'roms' =09<ro...@ti...> Site web =09=09=09<http://tilp.info> Messagerie instantan=E9e (ICQ) 43585029 "Linux, y'a moins bien mais c'est plus cher !" |
From: John S. <mi...@ya...> - 2003-11-09 22:56:38
|
What is the recommended means of compiling TiLP libraries on Win32? Is it using mingw? msys? Are there any special defines that need to be set? (__WIN32__ ?) If so, how and where should they be set? In the win32/mingw folder of each library source, there is a README which says to './config4mingw', 'make', and 'make install'. However, there is no config4mingw script. There are some other files that look like they're used for compiling dll's, but no info on how to use them. Thanks for any help! John |
From: Romain L. <rom...@wa...> - 2003-11-10 07:45:48
|
Hi, John Spiegel a écrit : > What is the recommended means of compiling TiLP libraries on Win32? Is > it using mingw? msys? Are there any special defines that need to be > set? (__WIN32__ ?) If so, how and where should they be set? The best tool for compiling TiLP libs is not free: MSVC 5.0 or 6.0. They can be compiled with MinGW (thanks to K. Kofler) but the generated libs can have some problems to be linked. Sincerely, MinGW is a pain of ass :-( > > In the win32/mingw folder of each library source, there is a README > which says to './config4mingw', 'make', and 'make install'. However, > there is no config4mingw script. There are some other files that look Yes, you're right. I did not find this file... Maybe I lost it when merging TiLP with the CVS. There was some target defs in the script as well as i18n options. I don't remember exactly what stuffs they are within. Sorry ! > like they're used for compiling dll's, but no info on how to use them. > > Thanks for any help! > John > > roms. > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel > -- Romain Liévin, aka 'roms' <ro...@ti...> Site web <http://tilp.info> Messagerie instantanée (ICQ) 43585029 "Linux, y'a moins bien mais c'est plus cher !" |
From: John S. <mi...@ya...> - 2003-10-19 08:46:00
|
Ok.. I need to compile it, cause I need to link a python module I'm writing against it. I got MinGW, but I have run into some errors compiling libticables. First, it throws an error about LOCALEDIR (line 87 in intrface.c). I think it's a defined variable (from the gcc command line options). By commenting out line 87, it compiles, but I don't know if that's introducing all sorts of bugs. After that, it builds, but I get these errors about gettext. I believe I have it installed, but I'm not sure if it needs a gcc command line option to link against it or something. Thanks for any help! John ------------------------------------- Creating library file: .libs/libticables.dll.a .libs/ioports.o(.text+0x2f8): In function `io_open': c:/legalstuff/2/libticables-3.7.7/src/ioports.c:402: undefined reference to `dgettext' .libs/slv_link.o(.text+0x31e): In function `slv_init': c:/legalstuff/2/libticables-3.7.7/src/slv_link.c:338: undefined reference to `dgettext' .libs/slv_link.o(.text+0x397):c:/legalstuff/2/libticables-3.7.7/src/slv_link.c:360: undefined reference to `dgettext' .libs/slv_link.o(.text+0x4dc):c:/legalstuff/2/libticables-3.7.7/src/slv_link.c:348: undefined reference to `dgettext' .libs/tie_link.o(.text+0x51e): In function `tie_init': c:/legalstuff/2/libticables-3.7.7/src/tie_link.c:299: undefined reference to `dgettext' .libs/vti_link.o(.text+0x1a1):c:/legalstuff/2/libticables-3.7.7/src/vti_link.c:364: more undefined references to `dgettext' follow .libs/intrface.o(.text+0xda): In function `ticable_init': c:/legalstuff/2/libticables-3.7.7/src/intrface.c:103: undefined reference to `bindtextdomain' .libs/intrface.o(.text+0xfb):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:106: undefined reference to `textdomain' .libs/intrface.o(.text+0x10f):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:108: undefined reference to `dgettext' .libs/intrface.o(.text+0x978): In function `ticable_set_cable': c:/legalstuff/2/libticables-3.7.7/src/intrface.c:592: undefined reference to `dgettext' .libs/intrface.o(.text+0x98f):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:594: undefined reference to `dgettext' .libs/intrface.o(.text+0x9a7):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:595: undefined reference to `dgettext' .libs/intrface.o(.text+0x9be):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:596: undefined reference to `dgettext' .libs/intrface.o(.text+0xac3):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:660: more undefined references to `dgettext' follow .libs/probe.o(.text+0x19c2): In function `probe_io_resources': c:/legalstuff/2/libticables-3.7.7/src/probe.c:1096: undefined reference to `StartPortTalkDriver' .libs/timodules.o(.text+0x23a): In function `search_for_tiusb_node': c:/legalstuff/2/libticables-3.7.7/src/timodules.c:72: undefined reference to `dgettext' .libs/timodules.o(.text+0x29c): In function `search_for_tipar_node': c:/legalstuff/2/libticables-3.7.7/src/timodules.c:89: undefined reference to `dgettext' .libs/timodules.o(.text+0x2fe): In function `search_for_tiser_node': c:/legalstuff/2/libticables-3.7.7/src/timodules.c:106: undefined reference to `dgettext' make[2]: *** [libticables.la] Error 1 make[2]: Leaving directory `/c/legalstuff/2/libticables-3.7.7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/c/legalstuff/2/libticables-3.7.7' make: *** [all] Error 2 --- Romain LIEVIN <rom...@wa...> wrote: > Hi, > > John Spiegel a écrit : > > I'm having problems getting tilp compiled on > windows. > > It keeps looking for "inttypes.h". I'm not sure > what > > provides that for windows. Any help would be > > appreciated. > > If you want to compile TiLP on Windows, you should > not use the TiLP SDK. The SDK is provided for > building apps against libs. > > The best thing to do: retrieve source code of 3 libs > and TiLP. Uncompress them and rebuild. But, do you > really want to do that ? It may be a bit tedious... > > > > > JOhn > > > > ----------------------------------------- > > Compiling... > > Avr_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Dev_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > dfl_link.c > > c:\program > files\tilp-sdk\cables\src\dfl_link.c(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Par_link.c > > c:\program > files\tilp-sdk\cables\src\par_link.c(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Ser_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > slv_link.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Tie_link.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Tig_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Vti_link.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Vtl_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Error.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Intrface.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Ioports.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Logging.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > porttalk.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Probe.c > > c:\program files\tilp-sdk\cables\src\probe.c(38) : > > fatal error C1083: Cannot > > open include file: 'inttypes.h': No such file or > > directory > > timodules.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > type2str.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > verbose.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Error executing cl.exe. > > > > ticables.dll - 19 error(s), 0 warning(s) > > > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product > search > > http://shopping.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback > Program. > > SourceForge.net hosts over 70,000 Open Source > Projects. > > See the people who have HELPED US provide better > services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > TiLP-devel mailing list > > TiL...@li... > > > https://lists.sourceforge.net/lists/listinfo/tilp-devel > > > > > -- > Romain Liévin, aka 'roms' <ro...@ti...> > Site web <http://tilp.info> > Messagerie instantanée (ICQ) 43585029 > "Linux, y'a moins bien mais c'est plus cher !" > > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |