Code Monkey home page Code Monkey logo

Comments (3)

ooyamams avatar ooyamams commented on August 15, 2024

Hi, Thank you for reporting.
But we have not maintained a Windows support for a long time.
We are discussing about it. Please wait.

Or we welcome to your pull request!

from pg_bulkload.

1803 avatar 1803 commented on August 15, 2024

I figured BinaryParamis a reserved name for some other type in some of libraries, so I renamed it to LocalBinaryParamthroughout the whole project.
Then I simply removed __attribute__format strings because Visual Studio doesn't seem to know what that is, although mingw was ok with it.
After that I was able to build pg_bulkload_exe, but I still fail building the dll. Here's the errors I get:

1>parser_binary.obj : error LNK2001: unresolved external symbol LocalBinaryParam
1>parser_binary.obj : error LNK2001: unresolved external symbol BinaryDumpParams
1>pg_btree.obj : error LNK2001: unresolved external symbol wal_level
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterDumpParams
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterClose
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterCreate
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterInit
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterParam
1>reader.obj : error LNK2001: unresolved external symbol pg_enc2name_tbl
1>writer_buffered.obj : error LNK2001: unresolved external symbol ON_DUPLICATE_NAMES
1>writer_buffered.obj : error LNK2001: unresolved external symbol get_relation_name
1>writer_parallel.obj : error LNK2001: unresolved external symbol setenv
1>...\pg_bulkload_319\msvc\/bin/x64/9.0/lib//pg_bulkload.dll : fatal error LNK1120: 12 unresolved externals

Some of these references seem to be related to libpq.lib or postgres.lib, but others (especially LocalBinaryParam since we implement it on our own) I have no idea why they can't be resolved.

from pg_bulkload.

ooyamams avatar ooyamams commented on August 15, 2024

Hi @1803 , Thank you for a more detail information.
But unfortunately we can't support Windows environments because we don't have Visual Studio and a developer of experience of Windows environments. So we couldn't help you.
If you could resolve this issue, please share the knowledge.

from pg_bulkload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.