On Tue, 2019-09-17 at 10:12 -0700, Ken Levin wrote:
> "C:\Program files (x86)\cmake\bin\cmake" -G "MinGW Makefiles"
> "C:\PBWin10\AnsiCSamples\LearnCPP\PoDoFo\src" -
Hi,
the path you specify to CMake (on the second line above) is supposed to
point to the root checkout of PoDoFo, not to the 'src' subdirectory.
What I usually do is this:
cd /my/podofo/checkout
mkdir _build
cd _build
cmake -G "MinGW Makefiles" .. \
-DCMAKE_INSTALL_PREFIX=xxxx \
-Dxxxxxx
where the two dots above reference the checkout root, where the main
CMakeLists.txt file is located.
This is similar to what the README.html file says for the Windows
build [1], where they use ..\podofo-src. I guess you took the commands
from there. What you changed is that the podofo-debug is not created
under the checkout directory, but beside it and you confused podofo-src
with podofo\src (the first is with a dash, the second as a path
delimiter). The suggested directory structure in the README.html file
is (say checked out in C:\Projects):
C:\Projects
podofo-src
cmake
doc
examples
.....
src
.....
CMakeLists.txt
.....
podofo-debug
Note the podofo-src and podofo-debug are at the same level. Whenever I
say "checkout" above, it can be replaced with "unpack tarball with
sources".
Bye,
zyx
[1]
https://sourceforge.net/p/podofo/code/HEAD/tree/podofo/trunk/README.html#l364
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users