Comments (7)
I just merged some PRs, see if this is still happening
from vorb.
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.
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.
Likely the commented out code to addCDelegate is the reason that is failing as Function is part of this stuff.
from vorb.
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.
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.
Yeah, shit, all this code was freaking craaaazy
from vorb.
Related Issues (20)
- Hiding unused parameters behind VORB_UNUSED.
- Hunter's Yaml-CPP Version Can't Compile In VS2017 HOT 9
- Cristian
- ValueMediator.h Issue
- App.config
- DistanceSpriteFont
- Input polling
- Mouse operations
- Array Functionality
- Script namespaces
- Script add references to simple function pointers HOT 1
- INodeReader/Writer
- vvox::TextureAtlasMapper
- Window backbuffer and size
- Event Ownership
- Replace YAML-CPP with something more trustworthy
- Path:isNice() HOT 2
- Graphics API check HOT 1
- ColorRGB(A) Downcast
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vorb.