Giter Site home page Giter Site logo

Comments (5)

mglinski avatar mglinski commented on April 28, 2024

Go back to building against 64 bit python. The issue you are having is that you are, for some reason, not including the windows python module libraries in the linker search path. Those missing implementation references are python binary library methods, which the linker can’t find in any of the library files that it was able to locate.

This likely means that the directory containing your win64 compatible python binary library files is not in the path array being checked by the linked.

locate those files and ensure the linker is also looking in that folder.

from udbserver.

paulgrassler avatar paulgrassler commented on April 28, 2024

Hmm, I thought about that but as you can see in the setup output, various python folders are included in the include and library paths. I will try to reinstall python.

What got me to try the 32-bit python version in the first place was that I often see 'win32' mentioned in the attached output and especially because it seemed to me that Visual Studio used the x86 linker from what I was able to see in the output. That is why I thought the whole project is supposed to be built in 32-bit and after the linker errors disappeared I felt somewhat validated. Seems to have been a bunch of misinterpretations then.

Here is the entire output that I get in the console after running 'setup.py install':

setup output.txt

from udbserver.

mglinski avatar mglinski commented on April 28, 2024

win32 in this case is the name of the binary api.

I believe the issue 100% is some python windows dev binary libraries for python not installed or not located in the correct folder.

Try installing a windows python venv using something like Anaconda/miniconda and you might see an option to include windows dev library files. Then try building in that env.

Also make sure you have the Windows SDK installed and in your path.

from udbserver.

bet4it avatar bet4it commented on April 28, 2024

Do you really need to build it by yourself? You could just download the compiled binary from https://github.com/wtdcode/udbserver/suites/13288518790/artifacts/725248477.

from udbserver.

paulgrassler avatar paulgrassler commented on April 28, 2024

Oh, I was not aware of a compiled binary. That looks like it could help me avoid a lot of issues haha. I will try some examples with this. Thank you very much! And thank you @mglinski for your help so far. Was not able to solve the building issues yet. After reinstalling python/anaconda and creating an environment I get new unresolved symbol errors which look more like Windows SDK symbols. However paths to the include and library files of the SDK are included. Well, hopefully the compiled binary works and I will not have to deal with this issues but for completeness sake I will include the output file again.

setup_output2.txt

from udbserver.

Related Issues (10)

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.