![]() MyPostgreSQLInstallation\MyPostgreSQLVersion\includeĪfter setting up a project, make the following changes to build mysql_fdw in Visual Studio: MyPostgreSQLInstallation\MyPostgreSQLVersion\include\server MyPostgreSQLInstallation\MyPostgreSQLVersion\include\server\port\win32 MyPostgreSQLInstallation\MyPostgreSQLVersion\include\server\port\win32_msvc In C/C++ -> General -> Additional Include Directories, add the following folders in the following order: To complete the configuration of your project, add the necessary includes:.In Linker -> General -> Link Library Dependencies, select No.In Linker -> General -> Additional Library Directories, select Edit and add the path to the lib folder in your PostgreSQL installation.In Linker -> Input -> Additional Dependencies, select Edit and enter the following:Īdditionally, ensure that Inherit From Parent or Project Defaults is checked.In Linker -> Manifest File -> Generate Manifest, select No.įollow the steps below to add the required dependencies:.In Configuration Properties -> C/C++ -> Advanced -> Compile As, select Compile as C Code.In Configuration Properties -> C/C++ -> Code Generation -> Enable C++ Exceptions, select No.In Configuration Properties -> General -> Configuration Type, select Dynamic Library.In the Configuration menu, select All Configurations.Right-click your project and click Properties.If you are building for a 64-bit system, click Build -> Configuration Manager and in Active Solution Platform select 圆4.h files from the mysql_fdw source.įollow the steps below to configure your project: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |