Coder Social home page Coder Social logo

Comments (7)

Barnold1953 avatar Barnold1953 commented on September 10, 2024

I just merged some PRs, see if this is still happening

from vorb.

JackalopeGit avatar JackalopeGit commented on September 10, 2024

I'm compiling soa on Linux with clang.
Temporary commented out all "addCDelegate" calls, and get it compiled after thousands corrections like case-sensetive-incorrect-slashes-const-lvalue-rvalue-collisions, include orders and more, but get issue on :

MainMenuLoadScreen::build()
-> m_vorbScreenDuration = (m_env["Vorb.MaxDuration"].as<f64>())();
-> RFunction::template<typename... Args> Ret operator()(Args... args) const
-> void Function::rcall(OUT Ret* retValue, Args... args) const        << m_env = NULL
-> EnvironmentHandle getHandle() const { return m_state;  }        << sigsegv

What is "m_env["Vorb.MaxDuration"]", how string literal as an array index works?

from vorb.

caseymcc avatar caseymcc commented on September 10, 2024

I have got the issues in addCDelegate and etc... fixed on at least gcc (haven't tested clang) working through the typos at the moment and a few more items for Linux, likely get to that code in a few.

However m_env is a variable of vorb::script::Environment which has a Function& operator[] (const nString& name); for handling just that.

from vorb.

caseymcc avatar caseymcc commented on September 10, 2024

Likely the commented out code to addCDelegate is the reason that is failing as Function is part of this stuff.

from vorb.

caseymcc avatar caseymcc commented on September 10, 2024

I have the compile fixed for Linux, I don't know if it works though as my linux machine cannot open an opengl context (need to install a driver I think). However looks like I am going to have to make some changes to get the Windows version working with the changes I made for linux. But if you would like to play with the linux code and debug it (not sure I am going to mess with debugging on linux) the branches are here.

https://github.com/caseymcc/Vorb/tree/linux_compile
https://github.com/caseymcc/SoACode-Public/tree/linux_compile

from vorb.

caseymcc avatar caseymcc commented on September 10, 2024

Ok, all changes are merged now. You should be able to compile on linux. I have no clue if it runs on linux but it does still run on windows.

from vorb.

czaloj avatar czaloj commented on September 10, 2024

Yeah, shit, all this code was freaking craaaazy

from vorb.

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.