Bo Peng wrote:
On 6/15/06, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:
Hello Bo,

I still have this linking problem with included boost:

link /nologo /OUT:msvc\qt4\lyx.exe /LIBPATH:msvc\libs
/LIBPATH:D:\program\Qt\4.1
\lib /LIBPATH:D:\program\Qt\4.1\lib /LIBPATH:D:\program\GnuWin32\lib
lyxbase_pre.lib mathed.lib insets.lib frontends.lib qt4.lib
controllers.lib graphics.lib support.lib lyxbase_post.lib
included_boost_signals.lib included_boost_regex.lib
included_boost_filesystem.lib included_boost_iostreams.lib QtCore4.lib
QtGui4.lib shlwapi.lib shell32.lib advapi32.lib zdll.lib gdi32.lib
msvc\common\main.obj
LINK : fatal error LNK1104: cannot open file
'libboost_signals-vc80-mt-s-1_33_1.lib'

As far as I remember, this concerns a macro

#define BOOST_ALL_NO_LIB 1'

Yes I have this:

#define BOOST_ALL_NO_LIB 1


in src/config.h. Can you check it? The only possibility that this get
lost is that you replace src/config.h with a autotools generated
config.h.

Nope:

/* src/config.h.  Generated by scon.  */

Please find attached my complete config.h.

Abdel.
/* src/config.h.  Generated by scon.  */

/* -*- C++ -*- */
/*
 * ile config.h
 * This file is part of LyX, the document processor.
 * Licence details can be found in the file COPYING.
 *
 * This is the compilation configuration file for LyX.
 * It was generated by scon.
 * You might want to change some of the defaults if something goes wrong
 * during the compilation.
 */

#ifndef _CONFIG_H
#define _CONFIG_H
/* Define to 1 if you have the <io.h> header file. */
#define HAVE_IO_H 1

/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1

/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1

/* Define to 1 if you have the <locale> header file. */
#define HAVE_LOCALE 1

/* Define to 1 if you have the <process.h> header file. */
#define HAVE_PROCESS_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/time.h> header file. */
/* #undef HAVE_SYS_TIME_H */

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <sys/utime.h> header file. */
#define HAVE_SYS_UTIME_H 1

/* Define to 1 if you have the <sys/socket.h> header file. */
/* #undef HAVE_SYS_SOCKET_H */

/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */

/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */

/* Define to 1 if you have the <utime.h> header file. */
/* #undef HAVE_UTIME_H */

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the <strings.h> header file. */
/* #undef HAVE_STRINGS_H */

/* Define to 1 if you have the <direct.h> header file. */
#define HAVE_DIRECT_H 1

/* Define to 1 if you have the <istream> header file. */
#define HAVE_ISTREAM 1

/* Define to 1 if you have the <ostream> header file. */
#define HAVE_OSTREAM 1

/* Define to 1 if you have the <ios> header file. */
#define HAVE_IOS 1

/* Define to 1 if you have the <argz.h> header file. */
/* #undef HAVE_ARGZ_H */

/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1

/* Define to 1 if you have the <alloca.h> header file. */
/* #undef HAVE_ALLOCA_H */

/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1

/* Define to 1 if you have the <stdint.h> header file. */
/* #undef HAVE_STDINT_H */

/* Define to 1 if you have the <sys/param.h> header file. */
/* #undef HAVE_SYS_PARAM_H */

/* Define to 1 if you have the `open' function. */
#define HAVE_OPEN 1

/* Define to 1 if you have the `close' function. */
#define HAVE_CLOSE 1

/* Define to 1 if you have the `popen' function. */
/* #undef HAVE_POPEN */

/* Define to 1 if you have the `pclose' function. */
/* #undef HAVE_PCLOSE */

/* Define to 1 if you have the `_open' function. */
#define HAVE__OPEN 1

/* Define to 1 if you have the `_close' function. */
#define HAVE__CLOSE 1

/* Define to 1 if you have the `_popen' function. */
#define HAVE__POPEN 1

/* Define to 1 if you have the `_pclose' function. */
#define HAVE__PCLOSE 1

/* Define to 1 if you have the `getpid' function. */
#define HAVE_GETPID 1

/* Define to 1 if you have the `_getpid' function. */
#define HAVE__GETPID 1

/* Define to 1 if you have the `mkdir' function. */
#define HAVE_MKDIR 1

/* Define to 1 if you have the `_mkdir' function. */
#define HAVE__MKDIR 1

/* Define to 1 if you have the `putenv' function. */
#define HAVE_PUTENV 1

/* Define to 1 if you have the `mktemp' function. */
#define HAVE_MKTEMP 1

/* Define to 1 if you have the `mkstemp' function. */
/* #undef HAVE_MKSTEMP */

/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1

/* Define to 1 if you have the `count' function. */
#define HAVE_STD_COUNT 1

/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1

/* Define to 1 if you have the `stpcpy' function. */
/* #undef HAVE_STPCPY */

/* Define to 1 if you have the `strcasecmp' function. */
/* #undef HAVE_STRCASECMP */

/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1

/* Define to 1 if you have the `strtoul' function. */
#define HAVE_STRTOUL 1

/* Define to 1 if you have the `alloca' function. */
/* #undef HAVE_ALLOCA */

/* Define to 1 if you have the `__fsetlocking' function. */
/* #undef HAVE___FSETLOCKING */

/* Define to 1 if you have the `mempcpy' function. */
/* #undef HAVE_MEMPCPY */

/* Define to 1 if you have the `__argz_count' function. */
/* #undef HAVE___ARGZ_COUNT */

/* Define to 1 if you have the `__argz_next' function. */
/* #undef HAVE___ARGZ_NEXT */

/* Define to 1 if you have the `__argz_stringify' function. */
/* #undef HAVE___ARGZ_STRINGIFY */

/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1

/* Define to 1 if you have the `tsearch' function. */
/* #undef HAVE_TSEARCH */

/* Define to 1 if you have the `getegid' function. */
/* #undef HAVE_GETEGID */

/* Define to 1 if you have the `getgid' function. */
/* #undef HAVE_GETGID */

/* Define to 1 if you have the `getuid' function. */
/* #undef HAVE_GETUID */

/* Define to 1 if you have the `wcslen' function. */
#define HAVE_WCSLEN 1

/* Define to 1 if you have the `asprintf' function. */
/* #undef HAVE_ASPRINTF */

/* Define to 1 if you have the `wprintf' function. */
#define HAVE_WPRINTF 1

/* Define to 1 if you have the `snprintf' function. */
/* #undef HAVE_SNPRINTF */

/* Define to 1 if you have the `printf' function. */
#define HAVE_POSIX_PRINTF 1

/* Define to 1 if you have the `fcntl' function. */
/* #undef HAVE_FCNTL */

/* Define to 1 if you have the `intmax_t' type. */
/* #undef HAVE_INTMAX_T */

/* Define to 1 if you have the `intmax_t' type. */
/* #undef HAVE_INTMAX_T */

/* Define to 1 if you have the `long double' type. */
#define HAVE_LONG_DOUBLE 1

/* Define to 1 if you have the `long long' type. */
#define HAVE_LONG_LONG 1

/* Define to 1 if you have the `wchar_t' type. */
#define HAVE_WCHAR_T 1

/* Define to 1 if you have the `wint_t' type. */
/* #undef HAVE_WINT_T */

/* Define to 1 if you have the `uintmax_t' type. */
/* #undef HAVE_INTTYPES_H_WITH_UINTMAX */

/* Define to 1 if you have the `uintmax_t' type. */
/* #undef HAVE_STDINT_H_WITH_UINTMAX */

/* Define to 1 if you have the `std::istreambuf_iterator<std::istream>' type. */
#define HAVE_DECL_ISTREAMBUF_ITERATOR 1

/* Define is sys/types.h does not have pid_t */
#define pid_t int

/* Define if your C++ compiler puts C library functions in the global namespace 
*/
#define CXX_GLOBAL_CSTD 1

/* Define to 1 if you have the `gdi32' library (-lgdi32). */
#define HAVE_LIBGDI32 1

/* Define to 1 if you have the `iconv' library (-liconv). */
/* #undef HAVE_ICONV */

/* Define to 1 if you have the `c' library (-lc). */
/* #undef HAVE_LIBC */

/* Define to 1 if you have the `Aiksaurus' library (-lAiksaurus). */
/* #undef HAVE_LIBAIKSAURUS */

/* Define if your <locale.h> file defines LC_MESSAGES. */
/* #undef HAVE_LC_MESSAGES */

/* Define as const if the declaration of iconv() needs const. */
/* #undef ICONV_CONST */

/* Name of package */
#define PACKAGE "lyx"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"

/* Define to the full name of this package. */
#define PACKAGE_NAME "LyX"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "LyX 1.4.2svn"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "lyx"

/* Define to the version of this package. */
#define PACKAGE_VERSION "1.4.2svn"

#define DEVEL_VERSION 1

/* Define if you want assertions to be enabled in the code */
#define ENABLE_ASSERTIONS 1

/* Define to 1 if translation of program messages to the user's native anguage 
is requested. */
/* #undef ENABLE_NLS */

/* Define this if you want to see the warning directives put here and there by 
the developpers to get attention */
/* #undef WITH_WARNINGS */

/* libstdc++ concept checking */
#define _GLIBCXX_CONCEPT_CHECKS 1

#define BOOST_ALL_NO_LIB 1

#define AIKSAURUS_H_LOCATION

#define USE_WINDOWS_PACKAGING 1

/* #undef BOOST_POSIX */

/* Define if mkdir takes only one argument. */
#define MKDIR_TAKES_ONE_ARG 1

/* Define to the type of arg 1 for `select'. */
#define SELECT_TYPE_ARG1 int

/* Define to the type of arg 2, 3, 4 for `select'. */
#define SELECT_TYPE_ARG234 int *

/* Define to the type of arg 5 for `select'. */
#define SELECT_TYPE_ARG5 struct timeval *

/************************************************************
 ** You should not need to change anything beyond this point */

#ifndef HAVE_STRERROR
#if defined(__cplusplus)
extern "C"
#endif
char * strerror(int n);
#endif

#ifdef HAVE_MKSTEMP
#ifndef HAVE_DECL_MKSTEMP
#if defined(__cplusplus)
extern "C"
#endif
int mkstemp(char*);
#endif
#endif

#if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
#  define USE_BOOST_FORMAT 1
#else
#  define USE_BOOST_FORMAT 0
#endif

#define BOOST_USER_CONFIG <config.h>

#if !defined(ENABLE_ASSERTIONS)
#  define BOOST_DISABLE_ASSERTS 1
#endif
#define BOOST_ENABLE_ASSERT_HANDLER 1

#define BOOST_DISABLE_THREADS 1
#define BOOST_NO_WREGEX 1
#define BOOST_NO_WSTRING 1

#ifdef __CYGWIN__
#  define BOOST_POSIX 1
#endif

#if defined(HAVE_NEWAPIS_H)
#  define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
#endif

#endif

Reply via email to