Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
wt c++ を使用して PostgreSQL データベースに接続しようとしましたが、次のようなエラーが表示されます
LINK : fatal error LNK1104: cannot open file 'wtdbopostgresd.lib'
を使用してライブラリ ファイルをビルドする方法はcmake?
cmake
自分で Wt をビルドしましたか、それともバイナリ リリースを使用していますか? 今のところ、バイナリ リリースには postgres バックエンドが含まれていないと思います。
Wt を自分でビルドした場合は、POSTGRES_PREFIX を postgres がインストールされたパスに設定して、必要なヘッダー ファイルとライブラリを見つけられるようにします。