Coder Social home page Coder Social logo

golp's People

Contributors

btoews avatar draffensperger avatar fabianwe avatar gaffo avatar jordancurve avatar kenanhh avatar solanu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

golp's Issues

cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

Hi I'm trying to use your package on Windows and I get this message while I'm trying to compile the basic example on README.md:

# github.com/draffensperger/golp
cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

Is there something I can do to make it works?

Thank you!

incorrect install instructions for linux re lpsolve location

Your instructions in the readme say that it should be in lib/lpsolve but the lp.go actually says ./lpsolve. Which is it?

Also when you say "Project" I'm not sure where you want that to be... is that $GOPATH? or is that the code Im using to use lpsolve, or is it actualy in $GOPATH/src/github.com/draffenspeerger/golp/lpsolve?

installation under debian linux

Might be good to note in the docs that golp works great under Debian 8 if you delete the two "#cgo linux" lines and run:

sudo apt-get install liblpsolve55-dev

Issues on Ubuntu 20.04.3 LTS

I have followed your documentation for Debian 8+ and Linux distributions, but it did not deliver the expected result. However, I have found a solution without forking this repo and modifying #cgo lines in lp.go.

You can set LDFLAGS and CFLAGS with environment variables like:

export CGO_LDFLAGS=" -llpsolve55 -lm -ldl -lcolamd"
export CGO_CFLAGS="-I/usr/include/lpsolve"

Documentation should probably be updated and I will submit a small PR for README.md.

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.