我尝试编译pgmodeler 0.7.2(https://github.com/pgmodeler/pgmodeler/releases)的来源,但我有问题:
C:\Users\Krzysztof\Desktop\pgmodeler-0.7.2\libpgconnector\src\resultset.cpp:19: In file included from ..\..\pgmodeler-0.7.2\libpgconnector\src\resultset.cpp:19:0:
C:\Users\Krzysztof\Desktop\pgmodeler-0.7.2\libpgconnector\src\resultset.h:32: error: libpq-fe.h: No such file or directory
#include <libpq-fe.h>
^
In file included from ..\..\pgmodeler-0.7.2\libpgconnector\src\resultset.cpp:19:0:
..\..\pgmodeler-0.7.2\libpgconnector\src\resultset.h:32:22: fatal error: libpq-fe.h: No such file or directory
#include <libpq-fe.h>
^
compilation terminated.
我的XML / PostgreSQL变量配置:
windows {
PGSQL_LIB = C:/Program Files/PostgreSQL/9.3/lib/libpq.dll
PGSQL_INC = C:/Program Files/PostgreSQL/9.3/include
XML_INC = C:/Qt/5.4/mingw491_32/bin/include
XML_LIB = C:/Qt/5.4/mingw491_32/bin/include/libxml2-2.7.8.win32/bin/libxml2.dll
}
答案 0 :(得分:0)
尝试:
PGSQL_LIB = "C:/Program Files/PostgreSQL/9.3/lib/libpq.dll"
PGSQL_INC = "C:/Program Files/PostgreSQL/9.3/include"
(“... / Program Files / ...” - 有空格)