请提供一个linux 下运行aspose pdf c++ 的例子

我是ubuntu环境, 您 提供的 Aspose.PDF.Cpp.21.8.Linux 中有文件夹 example 请问这个example 怎么运行起来? 有没有说明文档, 解释一下环境需要哪些前提, gcc, cmake 还需要别的吗? 另外运行编译的方法也希望说明一下.

我现在的状况的是运行 ./build_clang.sh 之后报如下异常

sunxiao@sunxiao-PC:~/aspose/example$ ./build_clang.sh

– The CXX compiler identification is Clang 7.0.1

– Check for working CXX compiler: /usr/bin/clang++

– Check for working CXX compiler: /usr/bin/clang++ – works

– Detecting CXX compiler ABI info

– Detecting CXX compiler ABI info - done

– Detecting CXX compile features

– Detecting CXX compile features - done

– Project name: Aspose.Pdf.Cpp.Example

– Configuring done

– Generating done

– Build files have been written to: /home/sunxiao/aspose/example/build

Scanning dependencies of target Aspose.Pdf.Cpp.Example

[ 50%] Building CXX object CMakeFiles/Aspose.Pdf.Cpp.Example.dir/source/main.cpp.o

make[2]: *** 没有规则可制作目标“…/…/lib/libAspose.Pdf.Cpp_clang7_libstdcpp.so”,由“Aspose.Pdf.Cpp.Example” 需求。 停止。

make[1]: *** [CMakeFiles/Makefile2:73:CMakeFiles/Aspose.Pdf.Cpp.Example.dir/all] 错误 2

make: *** [Makefile:84:all] 错误 2

./build_clang.sh:行12: ./Aspose.Pdf.Cpp.Example: 没有那个文件或目录

sunxiao@sunxiao-PC:~/aspose/example$

我怀疑是不是少 一个 叫 …/…/lib/libAspose.Pdf.Cpp_clang7_libstdcpp.so
的库啊? 请问这个库是你们提供的吗? 貌似不是自动生成的. 请告诉我这个库得到的方法

我搞定了 谢谢 :handshake: 是解压的时候少解压出文件了

@mxudong

很高兴知道它对您有用。