| > 1- I am using VS.NET(VC++ 7.0) compiler. does it matter?
Well, several things won't work (some GUI definitions might
conlict, such as MESSAAGE_MAP's handlers)
> the 2 related constants, but still have compile error:
Problem detected: the current sources can't compile without
mutexes ; here's the patch (this will be included in the
next release or prerelease)
diff -rubd httrack-3.20.orig/src/htsnostatic.c httrack-
3.20/src/htsnostatic.c
--- httrack-3.20.orig/src/htsnostatic.c Tue Jul 9 18:59:45
2002
+++ httrack-3.20/src/htsnostatic.c Wed Jul 10 19:46:18
2002
@@ -69,9 +69,11 @@
/* Init hash */
PTHREAD_KEY_CREATE(&hts_static_key, hts_destroyvar);
#endif
+#endif
}
/* Set specific thread value */
+#if USE_BEGINTHREAD
#if HTS_WIN
#else
{
diff -rubd httrack-3.20.orig/src/htsthread.h httrack-
3.20/src/htsthread.h
--- httrack-3.20.orig/src/htsthread.h Tue Jul 9 18:59:45
2002
+++ httrack-3.20/src/htsthread.h Wed Jul 10 19:46:18
2002
@@ -74,9 +74,18 @@
#endif
-int htsSetLock(PTHREAD_LOCK_TYPE * hMutex,int lock);
+#else
+
+#define PTHREAD_LOCK_TYPE void*
+#define PTHREAD_KEY_TYPE void*
+#define PTHREAD_KEY_CREATE(ptrkey, uninit) do { *
(ptrkey)=(void*)NULL; } while(0)
+#define PTHREAD_KEY_DELETE(key) do { key=
(void*)NULL; } while(0)
+#define PTHREAD_KEY_SET(key, val, ptrtype) do { key=
(void*)(val); } while(0)
+#define PTHREAD_KEY_GET(key, ptrval, ptrtype) do { *
(ptrval)=(ptrtype)(key); } while(0)
#endif
+
+int htsSetLock(PTHREAD_LOCK_TYPE * hMutex,int lock);
#if USE_PTHREAD
unsigned long _beginthread( void* ( *start_address )( void
* ), unsigned stack_size, void *arglist );
> it says that can not find configure file, I checked no
file
> exist in perl directory having 'configure' name
Err, unless you use ssl, you won't need cygwin/perl
> May I ask you to describe for programmers the complete
way
> that they can compile your source on windows platforms?
Hum, I'll have to write some detailed procedure
| |