Comments (13)
You need to compile FlatBuffers and use the compiler ('flatc') to generate those files by giving it the FBS files from "spark-schemas/".
For example:
flatc -c --scoped-enums "ServiceTypes.fbs" would produce ServiceTypes_generated.h.
I'm refactoring that part of the code at the moment (aiming to merge it in a few days but we'll see how it goes) so this will be done automatically when you build the project.
If it helps, there's an Ember IRC channel on QuakeNet called #ember. I'm usually there, if you need help with getting it to compile.
from ember.
@Chaosvex Thanks!
from ember.
@ryancheung You need to comment the "pragma warn" in Affinity.cpp out otherwise clang errors. Also when installing botan via brew you need to add --dev for the latest version aka: "brew install botan --dev"
from ember.
@nawuko Thanks for notifying. I now get another error:
/Users/Ryan/EmberEmu/Ember/src/login/LoginSession.cpp:34:25: error: no viable overloaded '='
handler_.execute_async = [&](auto& action) {
macOS: 10.12
clang++ version: Apple LLVM version 8.0.0 (clang-800.0.38)
from ember.
@nawuko BTW, brew install botan --dev
would install botan-1.10.13, but Ember requires at least version1.11.
So I have to manually download botan-1.11 and compile it.
from ember.
It seems that using Linux for compiling would be much easier.
from ember.
There shouldn't be much difference between compiling it for Linux and Mac. Ember used Botan 1.10 last week but it was updated to take advantage of some additions to 1.11.
Regarding the flatc error you posted in IRC, I should have mentioned that Sessions.fbs isn't used anywhere, so you can ignore it. You might also need to add the option "--no-union-value-namespacing" if you're using a newer version of flatc than I am.
/Users/Ryan/EmberEmu/Ember/src/login/LoginSession.cpp:34:25: error: no viable overloaded '='
handler_.execute_async = [&](auto& action) {
Try changing the auto&
to just auto
. If that fails, replace it with std::shared_ptr<Action>
. If even that fails, you could temporarily checkout commit d6dd083.
Things are slightly awkward to get working at the moment since the spark-new branch needs to be merged back into development to get continuous integration back but that should be done pretty soon.
from ember.
@Chaosvex Thanks, replacing it with std::shared_ptr works.
from ember.
@Chaosvex Finally there're some errors in cmake's INSTALL
commands:
Install the project...
-- Install configuration: ""
-- Up-to-date: /ember/login
CMake Error at src/login/cmake_install.cmake:57 (file):
file INSTALL cannot find "/Users/Ryan/EmberEmu/Ember/configs/login".
Call Stack (most recent call first):
src/cmake_install.cmake:32 (include)
cmake_install.cmake:34 (include)
And I found this line
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/configs/login/ DESTINATION ${CMAKE_INSTALL_PREFIX})
in many files, which is wrong since there's no configs/login directory in configs directory. There's only a login.conf
file in it.
from ember.
Thanks. The install part isn't really used at the moment. I'll probably just remove it.
from ember.
@ryancheung Maybe you have an old version installed. brew is installing botan 1.11 just fine on macOS 10.12. https://i.imgur.com/D17FB2P.png
from ember.
@nawuko I fount that command flag of latest brew to install development version of package is --devel
not --dev
.
from ember.
Oh yea, my shell autocompletes args. So for future reference its --devel
from ember.
Related Issues (14)
- DBC parser disk definitions
- DBC field optimisations
- Metrics reports incorrect pool size
- `Compliance::GAME` codepath in `compute_x` does not use passed `salt` parameter HOT 2
- `compute_x` does not use leading zeroes from `salt` parameter HOT 1
- `generate_client_proof` does not use leading zeros for `salt` parameter HOT 1
- `generate_client_proof` does not use leading zeros for `B` parameter (and possibly `A`) HOT 1
- DBC loader endianness
- BigInt to vec conversion incorrectly removes leading big endian 0 byte for S key HOT 2
- SRP Client incorrectly calculates session key because of leading zeros HOT 1
- DBC parser logging HOT 1
- DBC validation HOT 1
- Hello there! HOT 1
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 ember.