GithubHelp home page GithubHelp logo

Comments (5)

pkulchenko avatar pkulchenko commented on June 10, 2024

The problem is that the last released version of ZeroBraneStudio (1.90) is built with a 10-year old version of wxLua/wxWidgets -- so none of the enhancements to wxWidgets over the last 10 years are available.

@KeyWorksRW, the current version of the IDE is using wxwidgets v3.1.4, which is only a bit over 2 years old (you can see the exact version of wxwidgets and wxlua used in the Help | About screen). You can definitely build your own version to point users to, but even the current version should work if 3.1 is a dependency. I do plan to release a newer version of wxwidgets at some point, but I don't have immediate plans for this, as there is nothing in the IDE that would use the new functionality and in fact I found several regressions with wxwidgets 3.3 comparing to the current version (for example, displaying generated images in tab labels doesn't work for me).

from zerobranestudio.

KeyWorksRW avatar KeyWorksRW commented on June 10, 2024

The about box states that the version of wxLua is 3.0.0 -- which if correct, means that I cannot generate any code which uses properties or controls introduced in 3.1 using a version of wxLua which was presumably built on wxWidgets 3.0. Am I missing something in my understanding of what your editor provides in regards to wxLua code?

from zerobranestudio.

pkulchenko avatar pkulchenko commented on June 10, 2024

What does it say about the version of the IDE itself? Can you include a screenshot?

This is a bit strange, as you seem not be using the last release (1.90). This is the commit that added binaries for pre-release version of wxwidgets 3.1.4 and it should show Built with wxWidgets 3.1.4, wxLua 3.0.0.8, Scintilla 3.7.2.

from zerobranestudio.

KeyWorksRW avatar KeyWorksRW commented on June 10, 2024

The wx shared library will be wxLua -- which means if you set LUA_CPATH to point to it, and run the code outside of the editor using Lua, then you will be using wxLua 3.0.0.8. Which means if I generate code for Lua devs to use with the library that's part of your toolset, then I must generate assuming wxLua 3.0.0.8. The reason I would even suggest devs do that is for those that don't want to take all the steps necessary to build their own copy of the library.

In any event, not to worry -- since you do not have plans to release an updated version of your editor, nor are there any official binaries of wxLua 3.2, I need to find another alternative if I'm going to be generating wxLua code in my designer. I appreciate your taking the time to respond!

from zerobranestudio.

pkulchenko avatar pkulchenko commented on June 10, 2024

I think there may be some confusion, as wxlua is not a standalone dll and needs to be used with wxwidgets; also having wxlua 3.0.0.8 doesn't preclude it being used with wxwidgets 3.1.4, which is the exact configuration that the current version of the IDE is shipped with.

I can compile wxlua/wxwidgets binaries, but it's easier to get the binaries from the IDE installation, which should work with your code (assuming it requires wxwidgets 3.1+).

from zerobranestudio.

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.