(Navigator)
1.* Photos * | 2.Best/Pano/Minis | 3.My Adventures | 4.Travels | 5.Questions/Answers | 6.Prog | 7.Maps | 8.Cool
(Programming)
1.Unix | 2.* Perl * | 3.PHP | 4.ASP.NET | 5.ASP | 6.Visual C++ | 7.Visual Basic | 8.JavaScript | 9.HTML | 10.CSS |
11.CGI, bin and Perl | 12.Cygwin | 13.Linux | 14.mySQL | 15.Python | 16.robertbody C++ & *.BAT |
17.Unix Notes (live) | 18.Perl Notes (live)

Cygwin

1.Cygwin Setup | 2.Pingus/ClanLib/Hermes | 3.Cool Stuff for Cygwin | 4.My Scripts
Pingus/ClanLib/Hermes
Pingus v0.6.0
(since Apr 2003)
... needs (1) ClanLib (v0.8.0 since Oct 2005)
(2) libxml
(from Dec 2003): "Pingus 0.6.0 works only with ClanLib 0.6.5... will compile with ClanLib 0.7 but it is not playable yet"
ClanLib 0.6.5 (runtime error): ClanLib requires a correctly installed Hermes 1.3.0 or newer to run.
ClanLib needs: • zlib 1.2.3libjpeglibpng

1) Hermes 1.3.3 -
Comment on error: undefined reference to `_WinMain@16'
 gcc -Wl,--base-file,.libs/cygHermes-1.dll-base -Wl,-e,__cygwin_dll_entry@12 -o 
.libs/cygHermes-1.dll .libs/libHermes.la-40.o  
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):: undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
make[2]: *** [libHermes.la] Error 1
2) Hermes 1.3.2 - WORKS !
/home/Owner/utils/Hermes-1.3.3> ll depcomp lt* lib*; cp depcomp lt* lib* ../Hermes-1.3.2
-rwxr-xr-x  1 Owner None  13303 Jul  6  2003 depcomp
-rwxrwxrwx  1 Owner None 173683 Dec  3 14:01 libtool
-rwxr-xr-x  1 Owner None  97712 Feb 14  2001 ltconfig
-rw-r--r--  1 Owner None 157288 Aug 24  2001 ltmain.sh
3) ClanLib 0.6.5 -

ClanLib requires a correctly installed Hermes 1.3.0 or newer to run. fix: comment out #exit; in ./configure (but make sure you have Hermes installed)
checking for DirectFB... configure: WARNING: *** DirectFB 0.9.11 or newer is required. The latest *** version of DirectFB is always available from http://www.directfb.org.
... some error about ConfigGroup fix: //private public: class ConfigGroup
vi /home/Owner/utils/ClanLib-0.6.5/Sources/Core/System/Unix/mutex_pthread.cpp #ifdef __CYGWIN__ #define PTHREAD_MUTEX_FAST_NP PTHREAD_MUTEX_NORMAL #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE #define PTHREAD_MUTEX_ERRORCHECK_NP PTHREAD_MUTEX_ERRORCHECK #define PTHREAD_MUTEX_TIMED_NP PTHREAD_MUTEX_NORMAL #define PTHREAD_MUTEX_ADAPTIVE_NP PTHREAD_MUTEX_NORMAL #endif /* __CYGWIN__ */
Libs/libclanCore.a(datafile_inputprovider.o): In function `_ZNSt11_Deque_baseI18CL_Zipped_PositionSaIS0_EED2Ev': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:(.text+0x65): undefined reference to `_gzread' Libs/libclanCore.a(datafile_inputprovider.o): In function `_ZN23CL_InputSource_Datafile4openEv': /home/Owner/utils/ClanLib-0.6.5/Sources/Core/IOData/Generic/datafile_inputprovider.cpp:199: undefined reference to `_gzdopen' Libs/libclanCore.a(datafile_inputprovider.o): In function `_ZN23CL_InputSource_Datafile5closeEv': /home/Owner/utils/ClanLib-0.6.5/Sources/Core/IOData/Generic/datafile_inputprovider.cpp:218: undefined reference to `_gzclose' fix: in file Setup/Unix/Makefile.app ... add -lz Libs/libclanApp.so: Libs/libclanCore.so $(OBJF_LIB_App) @echo "Building Libs/libclanApp.so" @$(LINK_COMMAND) -Wl,-soname=libclanApp.so.$(D_VERSION_MAJOR) -o Libs/libclanApp.so.$(D_VERSION_MINOR) $(OBJF_LIB_App) -L Libs -lclanCore -lz
source: http://revu.tauware.de/revu1-incoming/clanlib-0507130355/clanlib_0.6.5-1-2.2ubuntu3.diff file: Sources/Display/Display/Generic/blit_alphamask_rle.h line 108: T a = alpha_data[x]; T destval = dst_data[x]; T r = this->lookup_r[(((destval&this->rmask)>>this->rstart)<<8)+a]; T g = this->lookup_g[(((destval&this->gmask)>>this->gstart)<<8)+a]; T b = this->lookup_b[(((destval&this->bmask)>>this->bstart)<<8)+a]; T amix =(r<rstart) + (g<gstart) + (b<bstart); dst_data[x] = amix + *(src_data++); } memcpy(dst_data, dst_buf, sizeof(T)*rep); line 163: T a = alpha_data[x]; T destval = dst_buf[x]; T r = this->lookup_r[(((destval&this->rmask)>>this->rstart)<<8)+a]; T g = this->lookup_g[(((destval&this->gmask)>>this->gstart)<<8)+a]; T b = this->lookup_b[(((destval&this->bmask)>>this->bstart)<<8)+a]; T amix =(r<rstart) + (g<gstart) + (b<bstart); dst_buf[x] = amix + *(src_data++);
Building Libs/libclanDisplay.so /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lHermes collect2: ld returned 1 exit status from: LINK_DISP = -L Libs -lclanCore -L /usr/X11R6/lib -lX11 -lXext -lHermes fix : LINK_DISP = -L Libs -lclanCore -L /usr/X11R6/lib -lX11 -lXext -L /usr/local/lib -lHermes
Sources/Display/Display/X11/display_xwindow.cpp:270: undefined reference to `CL_ClanApplication::app' char *title = "Hi There(rb)"; //CL_ClanApplication::app->get_title();
Building Libs/libclanDisplay.so Cannot export blit_transparent_clip_asm_16bpp: symbol not found Cannot export blit_transparent_clip_asm_32bpp: symbol not found Cannot export blit_transparent_noclip_asm_16bpp: symbol not found Cannot export blit_transparent_noclip_asm_32bpp: symbol not found collect2: ld returned 1 exit status fix: ???

4) ClanLibs 0.8.0 - Compiles fine ... (7,446,046 bytes [Nov 20 2005, 17:25] ClanLib-0.8.0-RC1.gz)

... ddraw.h ... d3d.h ... not found fix--> get directx6_1-cyg.tar.gz from http://www.geocities.com/bpj1138/directx6_1-cyg.tar.gz (referenced here)
... zlib.h ... zconf.h ... not found fix--> copied files: /usr/include/w32api> cp /usr/include/zlib.h . /usr/include/w32api> cp /usr/include/zconf.h . /usr/include/w32api>
Error: ... *LPDIRECTSOUNDCAPTURE8 ... *LPDIRECTSOUNDNOTIFY8 ... not found fix--> /home/Owner/utils/clan/Sources/Sound/SoundProviders/Win32/soundprovider_recorder_directsound.h (add this) typedef struct IDirectSoundCapture *LPDIRECTSOUNDCAPTURE8; typedef struct IDirectSoundNotify *LPDIRECTSOUNDNOTIFY8; //typedef struct IDirectSoundCapture8 IDirectSoundCapture8,*LPDIRECTSOUNDCAPTURE8; //typedef struct IDirectSoundNotify8 IDirectSoundNotify8,*LPDIRECTSOUNDNOTIFY8; // LPDIRECTSOUNDCAPTURE8 dsoundcapture; // LPDIRECTSOUNDNOTIFY8 notify; (before this line) class CL_SoundProvider_Recorder_DirectSound_Session : public CL_SoundProvider_Session, CL_Runnable {
SoundProviders/Win32/soundprovider_recorder_directsound.cpp:44: error: `DirectSoundCaptureCreate8' undeclared Fix--> rename function `DirectSoundCaptureCreate8' to `DirectSoundCaptureCreate' (no 8), and same for Notify
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries ar cru .libs/libclanNetwork.a IRC/irc_connection.o IRC/irc_connection_generic.o IRC/dcc_download.o IRC/dcc_download_generic.o NetSession/inputsource_netpacket.o NetSession/netsession_generic.o NetSession/netstream.o NetSession/outputsource_netstream.o NetSession/netpacket_generic.o NetSession/netpacket.o NetSession/outputsource_netpacket.o NetSession/inputsource_netpacket_generic.o NetSession/netstream_generic.o NetSession/netcomputer_generic.o NetSession/outputsource_netpacket_generic.o NetSession/netcomputer.o NetSession/inputsource_netstream.o NetSession/netsession.o NetSession/netgroup.o Socket/event_trigger_socket.o Socket/outputsource_socket.o Socket/ip_address_getaddr.o Socket/socket_select.o Socket/ip_address.o Socket/inputsource_socket.o Socket/socket.o Socket/ip_address_getsock.o Socket/socket_generic.o NetObjects/netobject_controller_generic.o NetObjects/netobject_client_generic.o NetObjects/netobject_server_generic.o NetObjects/netobject_controller.o NetObjects/netobject_server.o NetObjects/netobject_client.o NetVariables/netvariables.o setupnetwork_win32.o ranlib .libs/libclanNetwork.a creating libclanNetwork.la (cd .libs && rm -f libclanNetwork.la && ln -s ../libclanNetwork.la libclanNetwork.la) make[2]: Leaving directory `/home/Owner/utils/clan/Sources/Network' make[2]: Entering directory `/home/Owner/utils/clan/Sources' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/Owner/utils/clan/Sources' make[1]: Leaving directory `/home/Owner/utils/clan/Sources' Making all in Setup make[1]: Entering directory `/home/Owner/utils/clan/Setup' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/Owner/utils/clan/Setup' Making all in pkgconfig make[1]: Entering directory `/home/Owner/utils/clan/pkgconfig' make[1]: Leaving directory `/home/Owner/utils/clan/pkgconfig' make[1]: Entering directory `/home/Owner/utils/clan' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/Owner/utils/clan'
Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-LLIBDIR' linker flag
http://lmlinux.com/distros/slackware/ - downloading Slackware 10.2
Counter:
Last Updated: Sat, December 3, 2005 21:57