Giter Site home page Giter Site logo

C++ Issues about halite-ii HOT 15 CLOSED

halitechallenge avatar halitechallenge commented on May 28, 2024
C++ Issues

from halite-ii.

Comments (15)

julskast avatar julskast commented on May 28, 2024

https://forums.halite.io/t/bug-reports-and-sharp-edges/105/3

from halite-ii.

markstev avatar markstev commented on May 28, 2024

Regarding 1a, this was on linux (ubuntu) using a droplet instance I created about a year ago. Maybe I should just keep my machine more up to date, but a year isn't that old. I am not a compiler expert, but my understanding is that just adding the flag "-static" to the compile options should make the compiled binary less susceptible to environment differences between where you compiled and where users run it, with the downside of making the binary larger and slower to compile (though I doubt those are significant issues in the context of halite).

from halite-ii.

snaar avatar snaar commented on May 28, 2024

1a was fixed already some time ago, can you double-check? 1b is in progress - I expect to release it in about a day or two.

from halite-ii.

snaar avatar snaar commented on May 28, 2024

If you want, you can try cpp-client branch in Snaar/Halite-II - the communication with server is good now, but everything else is ugly.

from halite-ii.

markstev avatar markstev commented on May 28, 2024

Thanks! I'm on my way to work now, but I'll try it tonight.

from halite-ii.

snaar avatar snaar commented on May 28, 2024

Actually, if you got the binary from website just now recently, maybe it's a sign website has old build. @harikmenon can you check if website pack has recent halite build?

from halite-ii.

harikmenon avatar harikmenon commented on May 28, 2024

I built it at 6:00 pm last night, any changes after that?

from halite-ii.

snaar avatar snaar commented on May 28, 2024

Ok I've just checked both https://halite.io/assets/downloads/Halite2_Linux-x64.zip and https://halite.io/assets/downloads/Halite2_C++_Linux-x64.zip and they both have statically linked halite:

$ ldd halite 
	not a dynamic executable

What does ldd say on your machine?

from halite-ii.

snaar avatar snaar commented on May 28, 2024

C++ client in github should be good for linux/gcc now. I know that MSVC is broken right now for sure, I'll look at it later. Not sure about clang.

from halite-ii.

snaar avatar snaar commented on May 28, 2024

Fixed MSVC.

from halite-ii.

harikmenon avatar harikmenon commented on May 28, 2024

@snaar , do you want me to build and deploy executables for all platforms?

from halite-ii.

snaar avatar snaar commented on May 28, 2024

Yes! We can close the issue then. I'll still have updates to the library coming, but they are all going to be mostly cosmetic.

from halite-ii.

snaar avatar snaar commented on May 28, 2024

Oh, to be clear, this is cpp client, not halite, so we don't need to pre-build anything, just update the cpp starter kit, right?

from halite-ii.

harikmenon avatar harikmenon commented on May 28, 2024

Oh okay my bad. Looks good. Closing this now

from halite-ii.

snaar avatar snaar commented on May 28, 2024

@markstev feel free to reopen if you have more data about static linking not actually being static

from halite-ii.

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.