bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to compile commoncpp2-1.0.13 for win32?


From: taraben . a
Subject: Re: how to compile commoncpp2-1.0.13 for win32?
Date: Sun, 21 Dec 2003 18:58:09 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

Hi Wolfgang,

ah yes ;-) I got the same trouble so I added in \win32\c++\config.h
#include <stdio.h>
directly after the
#ifndef CCXX_CONFIG_H_
#define CCXX_CONFIG_H_
statements.

HTH,

Adib.

Wolfgang wrote:
Hello,

i still have problems to build commonc++ for the win32 platform. pls let me appologize in advance, if i did not follow the etiquette of this mailinglist by attaching so much compiler output. the reason is simply that i hope that someone can fingerpoint to what i am doing wrong.

for my last attempt to crosscompile i used the makefile that Adib provided in the recent mail (Thank your for that!) and changed only the reference to minggw. here the output of my attempt to compile for win32 on my linux box (debiin unstable):

=======snip====
/common-c++/commoncpp2-1.0.13/win32$ make -f Makefile.tst
i586-mingw32msvc-c++ -c -I. -I../include -I/usr/i586-mingw32msvc/include -DHAVE_CONFIG_H -D_GNU_SOURCE -include ../win32/cc++/config.h -g -O2 -mthreads -o ../win32/../win32/thread.o ../src/thread.cpp
In file included from /usr/lib/gcc-lib/i586-mingw32msvc/3.3.1/include/c++/
i586-mingw32msvc/bits/c++io.h:35,
                 from /usr/lib/gcc-lib/i586-mingw32msvc/3.3.1/include/c++/
bits/fpos.h:44,
                 from /usr/lib/gcc-lib/i586-mingw32msvc/3.3.1/include/c++/
bits/char_traits.h:46,
                 from /usr/lib/gcc-lib/i586-mingw32msvc/3.3.1/include/c++/
string:47,
                 from ../include/cc++/strchar.h:49,
                 from ../include/cc++/exception.h:54,
                 from ../include/cc++/thread.h:58,
                 from ../src/thread.cpp:43:
/usr/lib/gcc-lib/i586-mingw32msvc/3.3.1/include/c++/cstdio:167: error: `
   snprintf' not declared
/usr/lib/gcc-lib/i586-mingw32msvc/3.3.1/include/c++/cstdio:177: error: `
   snprintf' not declared
make: *** [../win32/thread.o] Fehler 1
...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]