Code Monkey home page Code Monkey logo

Comments (24)

duanqn avatar duanqn commented on May 20, 2024 2

Well then I need to declare static linkage as "not supported" for nyan. Sounds good?

from nyan.

heinezen avatar heinezen commented on May 20, 2024 1

@duanqn No that's just the test tool for checking the parser. I think we can remove it from release builds.

from nyan.

heinezen avatar heinezen commented on May 20, 2024 1

@duanqn New release is pushed and should be ready.

from nyan.

heinezen avatar heinezen commented on May 20, 2024 1

I created #110 so we don't forget.

from nyan.

duanqn avatar duanqn commented on May 20, 2024 1

FYI, I have added nyan to vcpkg via microsoft/vcpkg#32250 .

from nyan.

duanqn avatar duanqn commented on May 20, 2024

Working on this PR: microsoft/vcpkg#32250

from nyan.

heinezen avatar heinezen commented on May 20, 2024

Hi, I think this is a pretty good idea!

#106 would result in a version bump / new release so this would be good time for packaging. It will probably be merged alongside SFTtech/openage#1515 which is still a 1-2 weeks away from completion. However, it would be a relatively stable release for use in openage.

from nyan.

duanqn avatar duanqn commented on May 20, 2024

Hi @heinezen , when porting the current nyan to vcpkg I got this error:

warning: The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets.

    D:\packages\nyan-lang_x86-windows\bin\nyancat.exe

warning: The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets.

    D:\packages\nyan-lang_x86-windows\debug\bin\nyancat.exe

Is this nyancat.exe (on Windows) necessary for nyan?

from nyan.

duanqn avatar duanqn commented on May 20, 2024

Got it. Thanks. I'll see if I can register it as "tools". If not, I'll remove it.

from nyan.

TheJJ avatar TheJJ commented on May 20, 2024

nyancat was intended as a formatter/check/print/coloring tool, but right now it's just for testing validity. so for packaging we currently don't need it, but it may be useful later if we add the features. if vcpkg has no nyan package so far, i'd favor naming it nyan instead of nyan-lang, since it will contain nyan.dll etc and not nyan-lang.dll.

from nyan.

duanqn avatar duanqn commented on May 20, 2024

Hi @TheJJ , I will put nyancat in the vcpkg package as a tool binary.
As for the name of the package. I'm using nyan-lang because vcpkg favors the name from repology. Looks like this nyan is called nyan-lang and nyan points to https://github.com/shibumi/nyan.

from nyan.

duanqn avatar duanqn commented on May 20, 2024

@duanqn New release is pushed and should be ready.

Got it. Will update to 0.3.0 on vcpkg side.

from nyan.

duanqn avatar duanqn commented on May 20, 2024

Hi @TheJJ , there are build failures on UWP. Can you have a look?
install-x64-uwp-dbg-out.log

Also, all static linkage builds failed because nyan produces dynamic libs. If we don't want to support static libs, I can disable the static builds.

from nyan.

duanqn avatar duanqn commented on May 20, 2024

Also the build failed on OSX. I don't understand the errors. Looks like an issue with the compiler?
install-x64-osx-dbg-out.log

from nyan.

heinezen avatar heinezen commented on May 20, 2024

Also the build failed on OSX. I don't understand the errors. Looks like an issue with the compiler?

@duanqn AppleClang is notorious for being out-of-date, so maybe that's where the problems come from? Can you try normal clang and check if that works out? Just tested it with the current build on Ubuntu and it compiles fine in Clang 15.

from nyan.

duanqn avatar duanqn commented on May 20, 2024

@heinezen Could be. However, I cannot change the clang version in their build pipelines because it should represent the reality of OSX... I'm going to disable OSX build (until their compiler catches up with everyone else).

from nyan.

heinezen avatar heinezen commented on May 20, 2024

@heinezen Could be. However, I cannot change the clang version in their build pipelines because it should represent the reality of OSX... I'm going to disable OSX build (until their compiler catches up with everyone else).

Understandable but frustrating. AppleClang is now 2 standards behind with this.

from nyan.

duanqn avatar duanqn commented on May 20, 2024

@heinezen Meanwhile, can you check the UWP build errors?
Also, do we plan to support a static library build?

from nyan.

TheJJ avatar TheJJ commented on May 20, 2024

adding a static library option is simple, what would we need it for? i like dynamic linking :)

from nyan.

TheJJ avatar TheJJ commented on May 20, 2024

At the moment it is not supported, yes. But it's not hard to add, if we have a good reason it can be done of course :)

from nyan.

duanqn avatar duanqn commented on May 20, 2024

Looks like the UWP failure is because SymInitialize does not exist in UWP. Any ideas on how to fix it?

from nyan.

heinezen avatar heinezen commented on May 20, 2024

@duanqn As far as I understand it, there's no equivalent and UWP simply does not allow most debug thing to be build. So we have to check for the UWP build and remove the dbghelp.h references entirely.

from nyan.

heinezen avatar heinezen commented on May 20, 2024

https://cmake.org/cmake/help/latest/variable/WINDOWS_STORE.html seems to inducate UWP support

from nyan.

heinezen avatar heinezen commented on May 20, 2024

nicely done :)

from nyan.

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.