...
>> I just made the sources available with subversion. Can you check that
>> everything is okay? When you'll give me the okay, I'll publish
>> cURLpp-0.6.0.
>
> OK. I'll give it a try.
I hacked up a Makefile.msvc for the examples. Not all of them build on
msvc 7.1. I'm attaching it here; should stay in examples/
>>> Yes, I will provide a README.Win32 ASAP.
>
> Maybe wait for this before making the 0.6.0 release.
Here's the README.WIN32 file.
PS: I don't plan to maintain visual studio project files (I prefer the
makefiles), nor anyone else does, as I understand. Won't be better to remove them?
PS2: What should I do with the files in utilspp/? Should I build a static
library and link it with curlpp? These makefile.msvc completely ignore the
directory.
--
Giuseppe "Cowo" Corbelli ~\/~ My software: http://cowo.yoda2000.net
-<! Non c'e' niente da dire in proposito. Tutto quello che uno deve fare e'
colpire i tasti giusti al momento giusto, e lo strumento suona da solo. !>-
J.S. Bach
Read the README file first.
As of version 0.6.0 curlpp has been built and run on win32.
However, keep in mind that win32 is not the main development platform:
support and fixes won't likely come as easily as on Unixes.
Information contained in this file does not apply to cygwin builds.
So far the only supported/tested compiler is Microsoft Visual C++ 7.1 (2003),
but any modern C++ compiler should do the job.
*) Building curlpp with MSVC 7.1
The preferred way to build curlpp with msvc7.1 is by using the supplied
makefiles and nmake.
Steps to build curlpp:
Open a command prompt where curlpp sources are
set LIBCURL_PATH=/where/curl/is/installed
cd curlpp/
nmake -f Makefile.msvc CFG=<Configuration>
where <Configuration> is one of
- release
- release-dll
- debug
- debug-dll
output files will be in <Configuration> directory.
DLL configurations will build a .dll library file and a .lib library import
file; static configurations will build the .lib library only.
Building examples:
Use the Makefile.msvc in the examples/ directory.
To build example XY use
nmake -f Makefile.msvc exampleXY
The makefile requires the libcurlpp.lib file to be in the examples/
directory; after building curlpp copy it here.
Some of the examples won't compile. Maybe this will be fixed in a future
release.
<---
Giuseppe "Cowo" Corbelli, cowo at lugbs dot linux dot it
#############################################################
#
# Makefile for building libcurlpp examples with MSVC
# All examples are linked against curlpp release static library
# Giuseppe "Cowo" Corbelli - cowo at lugbs dot linux dot it
#
# Usage: nmake -f Makefile.msvc all
# Should be invoked from examples/ directory
# Edit the LIBCURL_PATH or set LIBCURL_PATH envvar
#
##############################################################
LIB_NAME = libcurlpp.lib
LIB_NAME_DEBUG = libcurlppd.lib
#############################################################
!IFNDEF LIBCURL_PATH
LIBCURL_PATH = ../../curl/include
!ENDIF
CCNODBG = cl.exe /MD /O2 /DNDEBUG /GR /Y-
CCDEBUG = cl.exe /MDd /Od /Gm /Zi /D_DEBUG /GZ /GR
CFLAGS = /I ../ /I "$(LIBCURL_PATH)/include" /DCURLPP_STATICLIB /nologo /W3 /GX /DWIN32 /YX /FD /c
LNKLIB = link.exe /INCREMENTAL:NO /OPT:NOREF
LFLAGS = /nologo /LIBPATH:"$(LIBCURL_PATH)/lib" $(LIB_NAME) $(CURLLIB)
CURLLIB = libcurl_imp.lib
CC = $(CCNODBG) $(CFLAGSLIB)
LNK = $(LNKLIB) $(LFLAGS)
example01 : example01.o
$(LNK) /out:example01.exe example01.o
example02 : example02.o
$(LNK) /out:example02.exe example02.o
example03 : example03.o
$(LNK) /out:example03.exe example03.o
example04 : example04.o
$(LNK) /out:example04.exe example04.o
example05 : example05.o
$(LNK) /out:example05.exe example05.o
example06 : example06.o
$(LNK) /out:example06.exe example06.o
example07 : example07.o
$(LNK) /out:example07.exe example07.o
example08 : example08.o
$(LNK) /out:example08.exe example08.o
example09 : example09.o
$(LNK) /out:example09.exe example09.o
example10 : example10.o
$(LNK) /out:example10.exe example10.o
example11 : example11.o
$(LNK) /out:example11.exe example11.o
TARGET = \
example01 \
example02 \
example03 \
example04 \
example05 \
example06 \
example07 \
example08 \
example09 \
example10 \
example11
all : $(TARGET)
.SUFFIXES: .cpp .o
.cpp.o:
$(CC) $(CFLAGS) /Fo"$@" $<
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2006-01-23