Craig,
This is the current command I am using. The static lib seems to build
ok, but some of the other podofo projects fail because they cant find
libfreetype.lib. Now as you see in my command I am using
libfreetype.dll.a. I just reinstalled the freettype 2.3.5 prebuilts and
I don't see a .lib. 

Is there something else wrong in my cmake command?

"c:\Program Files\CMake 2.4\bin\cmake.exe" -G "Visual Studio 8 2005" ..
-DCMAKE_INCLUDE_PATH=c:\progra~1\gnuwin32\include
-DCMAKE_LIBRARY_PATH=c:\progra~1\gnuwin32\lib
-DCMAKE_INSTALL_PREFIX=c:\progra~1\PoDoFo -DLIBFREETYPE_FOUND=TRUE
-DLIBFREETYPE_FT2BUILD_H=c:\progra~1\gnuwin32\include
-DLIBFREETYPE_FTHEADER_H=c:\progra~1\gnuwin32\include\freetype2
-DLIBFREETYPE_LIB=c:\progra~1\gnuwin32\lib\libfreetype.dll.a
-DLIBJPEG_H=c:\progra~1\gnuwin32\include
-DLIBJPEG_LIB=c:\progra~1\gnuwin32\lib\jpeg.lib
-DLIBRARY_OUTPUT_PATH=c:\development\build\lib
-DLIBZ_H=c:\development\build\zlib\include
-DLIBZ_LIB=c:\development\build\zlib\lib\zdll.lib
-DPODOFO_BUILD_SHARED=0 

-----Original Message-----
From: Craig Ringer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 07, 2007 8:54 AM
To: Sargrad, Dave
Cc: [email protected]
Subject: Re: [Podofo-users] trying to build podofo using visual studio

Sargrad, Dave wrote:
> Your right. This is the setup I used once I started to use the 
> pre-built freetypes. This looked a bit different when I tried to build
freetype.
> My two-step goal today is:
> 1] get podofo built (probably linked statically) and the test apps 
> running using pre-built freetype, zlib, and jpeglib.
> 2] same as 1 except with freetype, zlib, and jpeglib perhaps as source

> builds (1 or all of them)

Good plan.

I should note that I regularly build PoDoFo on win32 using GnuWin32 and 
VC++. This means less on Windows than on other platforms since it's much
harder to get two win32 systems configured the same, and harder to know
when they are in fact configured subtly differently. Nonetheless, it's
always built pretty much out of the box since I got CMake builds
working, so I'm very interested in finding out what's going wrong for
you. Maybe it's something we can detect in the CMake code and warn
about.

> Assuming that I have success with step 1, I'll take step 2 as far as I

> can today.
> 
> I am also starting to add all the cache parameters to the generator 
> command line (as opposed to an independent use of -i). When I post 
> this new command line, it will help to expose that much more of my 
> configuration.

Great. When you do, if you still have any issues please include the
generated CMakeCache.txt file and the full CMake command line output or
post it to a pastebin where I can see it.

--
Craig Ringer

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to