fengwang / Stable-Diffusion-NCNN

Stable Diffusion inference in pure C++
60 stars 5 forks source link

missing arugments #4

Open xalteropsx opened 1 year ago

xalteropsx commented 1 year ago

 g++ -o test test.cpp -funsafe-math-optimizations -Ofast -flto=auto  -funroll-all-loops -pipe -march=native -std=c++20 -Wall -Wextra `pkg-config --cflags --libs ncnn`  -lstdc++ -pthread -Wl,--gc-sections -flto -fopt-info-vec-optimized
ParserError:
Line |
   1 |  … tra `pkg-config --cflags --libs ncnn`  -lstdc++ -pthread -Wl,--gc-sec …
     |                                                                ~
     | Missing argument in parameter list.
fengwang commented 1 year ago

Do you have pkgconf and ncnn installed? What is the output of pkg-config --cflags --libs ncnn?