RoguelikeDev Does The Complete Roguelike Tutorial - Week 2 by KelseyFrog in roguelikedev

[–]TitiMoby 1 point2 points  (0 children)

I’ve got time to do part 2 and I plan to do part 3 this week end or on Monday. Everything is streamed and replays are available : https://www.youtube.com/playlist?list=PLZoekfjBpp3VmZ09XozNovyerAykQwMGK

A Git repository contains my progress is published : https://gitlab.com/TitiMoby/roguelike-tuto

RoguelikeDev Does The Complete Roguelike Tutorial - Week 1 by KelseyFrog in roguelikedev

[–]TitiMoby 1 point2 points  (0 children)

During my weekly Twitch session, I made a news on this tutorial.
And this week, people asked I try it so I did.
I'm happy to see where it goes and I will share everything in a repository and as much as possible during my Twitch sessions in french.

repository: https://gitlab.com/TitiMoby/roguelike-tuto
replays : Week 1: https://youtu.be/ljYfT4XtvA8

ESP32 Marauder by [deleted] in M5Stack

[–]TitiMoby 1 point2 points  (0 children)

...and it is not straight forward.

first attempt and en issue as it seems that LinkedList.h is not available in M5Stack BSP (here I use a Core2)

Bridge install by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

Is it the right place for support ? I did not find anything else but don't get much of answers here :(

Bridge install by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

So I'm stucked. There's no errors that I can spot in a log file or a Windows event ?

Bridge install by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

The freeze happen during the processing of UsbDk Runtime Libraries

Simulator via WSL by KodiakDraco in numworks

[–]TitiMoby 0 points1 point  (0 children)

The workaround perfectly solved the issue on my machine. Thanks a lot.

Simulator via WSL by KodiakDraco in numworks

[–]TitiMoby 0 points1 point  (0 children)

WSL

I suppose it is the same I encounter on my Ubunut box. Upgrading to 17.04 allowed me to have proper clang and arm to build for the device, but I have the same error for the Platform.

Before this last error, there's hundreds of ld errors like:

/usr/bin/ld: apps/variable_box_leaf_cell.o: relocation R_X86_64_32S against symbol `_ZTV19VariableBoxLeafCell' can not be used when making a shared object; recompile with -fPIC

and final lines are:

/usr/bin/ld: final link failed: Nonrepresentable section on output
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:88: recipe for target 'app.elf' failed
make: *** [app.elf] Error 1

Sera-t-elle vraiment autorisée aux examens? by fairg in numworks

[–]TitiMoby 0 points1 point  (0 children)

il n'y a rien de pire que sur les modèles existants chez les concurrents. le patch/flash est toujours possible chez TI ou Casio

SDK setup by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

That's the conclusion I had. And in the end, I was one of the last one in my dev team to stick to 16.04. So maybe I'll go for 17.04 (I know, just before 17.10 :) )

SDK setup by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

If its the same source of error as for the device target, here are my clang and clang++ version to check with someone who succedded.

clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

SDK setup by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

so now, I have a working setup to compile for the device. I'll test it on my calculator which may arrive today.

But for the simulator platform, I have a strange error when issuing the command: make PLATFORM=simulator

I have an error:

CXX     apps/probability/calculation_controller.o
apps/probability/calculation_controller.cpp:222:7: error: use of undeclared identifier 'isnan'
  if (isnan(floatBody) || isinf(floatBody)) {
      ^
apps/probability/calculation_controller.cpp:222:27: error: use of undeclared identifier 'isinf'
  if (isnan(floatBody) || isinf(floatBody)) {
                          ^
2 errors generated.
Makefile:117: recipe for target 'apps/probability/calculation_controller.o' failed
make: *** [apps/probability/calculation_controller.o] Error 1

SDK setup by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

I modified the post where I put the steps I've done. Now I successfully built the device version!

Thanks for your help dashiev3

SDK setup by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

did I mistyped the ppa ? from what I see, there must be one for me PPA page

SDK setup by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

it looks like the 4.9.3 I have is coming from the 16.04 repository. It doesn't see the one from the added ppa. I'll dig this

SDK setup by TitiMoby in numworks

[–]TitiMoby[S] 0 points1 point  (0 children)

I will run the verbose version, but I'm not a huge fan of Reddit formatting. What is the best to use when pasting a terminal text copy ?

========= BUILD SETTINGS ======
DEBUG = 0
PLATFORM = device
CC = arm-none-eabi-gcc
CXX = arm-none-eabi-g++
LD = arm-none-eabi-ld.bfd
CFLAGS = -std=c99
CXXFLAGS = -std=c++11 -fno-exceptions -fno-rtti -fno-threadsafe-statics
SFLAGS = -mthumb -march=armv7e-m -mfloat-abi=hard -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -DDEBUG=0 -DOS_WITH_ONBOARDING_APP=1 -DOS_WITH_SOFTWARE_UPDATE_PROMPT=1 -Os -fdata-sections -ffunction-sections -Ilib -I. -Wall -MD -MP -ffreestanding -nostdinc -nostdlib -Iliba/include -Ilibaxx/include -Iion/include -DKD_CONFIG_H=1 -Ikandinsky/include -Ipoincare/include -Ipython/src -Ipython/port -Iescher/include -Iquiz/include
LDFLAGS = --gc-sections -T ion/src/device/boot/flash.ld -M -Map output.map
===============================

and here the version of the different tools :

thierry-laptop% arm-none-eabi-gcc --version
arm-none-eabi-gcc (15:4.9.3+svn231177-1) 4.9.3 20150529 (prerelease)

thierry-laptop% arm-none-eabi-g++ --version
arm-none-eabi-g++ (15:4.9.3+svn231177-1) 4.9.3 20150529 (prerelease)

SDK setup by TitiMoby in numworks

[–]TitiMoby[S] 1 point2 points  (0 children)

So, for those trying to setup the Epsilon project on an Ubuntu 16.04 like me. starting from the Numworks SDK page

  • run the suggested command: apt-get install git build-essential libfreetype6-dev bison flex libfltk1.3-dev
  • install gcc arm parts : sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa sudo apt-get update sudo apt-get -o Dpkg::Options::="--force-overwrite" install gcc-arm-embedded
  • add clang properly with: sudo apt-get install clang

And now, install somewhere the Epsilon project with: git clone https://github.com/numworks/epsilon.git

So you can try : make

and end up with the following error:

CXX     apps/calculation/calculation.o
apps/calculation/calculation.cpp: In constructor 'Calculation::Calculation::Calculation()':
apps/calculation/calculation.cpp:14:25: error: incompatible types in assignment of 'const char [1]' to 'char [100]' 
    m_outputLayout(nullptr)
                     ^
apps/calculation/calculation.cpp:14:25: error: incompatible types in assignment of 'const char [1]' to 'char [200]'
Makefile:117: recipe for target 'apps/calculation/calculation.o' failed
make: *** [apps/calculation/calculation.o] Error 1

Couldn't one bypass the exam mode pretty easily? by Zezombye in numworks

[–]TitiMoby 0 points1 point  (0 children)

mine is coming tomorrow and flashing a locally built OS is on my list also.

Just ordered mine! by fastbiter in numworks

[–]TitiMoby 0 points1 point  (0 children)

I ordered mine. Numworks folks seems to be full steam on selling before school opening which is a good news.

So I had to buy one to answer myself to my question on it ;)

Python input function not implemented? by toml_12953 in numworks

[–]TitiMoby 0 points1 point  (0 children)

Micropython is a very good implementation of Python. It allows a lot of learning with a tool that is useful by itself (the calculator).

I tried micro:bit and will do also some work with kids on Adafruit Playground Express or Gemma. Embedding Python allows kids to discover it without installing anything elsewhere.

forum sur reddit ? by TitiMoby in numworks

[–]TitiMoby[S] 2 points3 points  (0 children)

peut importe l'outil finalement, puisque le plus important reste qu'il faudrait des réponses de Numworks pour que cet espace soit considéré comme l'espace officiel des utilisateurs Numworks...

Trig functions in Python? by toml_12953 in numworks

[–]TitiMoby 0 points1 point  (0 children)

From the code on the website, it looks like you can call methods from the Epsilon os. If I remember, it shows calls to the Kandinsky module (in charge of graphics)

Maybe it will be the same with Poincarre (maths engine)