Code Monkey home page Code Monkey logo

Comments (4)

csestili avatar csestili commented on September 25, 2024

As a workaround, I made my own common/version.h with what seems to be missing:

#ifndef __INCLUDE_VERSION_H_
#define __INCLUDE_VERSION_H_

#define BUILD_COMMIT "fake_commit"
#define BUILD_DATE "fake_date"

#endif // __INCLUDE_VERSION_H_

And make seems to complete. Output:

mkdir -p ./build/common
g++ -Irpi -Icommon -I../ClearUI/src -I../ext/Adafruit-GFX-Library -I../ext/Adafruit_SSD1306 -Ilard -MMD -MP -DRPI -DARDUINO=100 -fdata-sections -ffunction-sections -O2  -c common/message.cpp -o build/common/message.cpp.o
mkdir -p ./build/ClearUI
g++ -Irpi -Icommon -I../ClearUI/src -I../ext/Adafruit-GFX-Library -I../ext/Adafruit_SSD1306 -Ilard -MMD -MP -DRPI -DARDUINO=100 -fdata-sections -ffunction-sections -O2  -c ../ClearUI/src/ClearUI_Display.cpp -o build/ClearUI/ClearUI_Display.cpp.o
mkdir -p ./build/ClearUI
g++ -Irpi -Icommon -I../ClearUI/src -I../ext/Adafruit-GFX-Library -I../ext/Adafruit_SSD1306 -Ilard -MMD -MP -DRPI -DARDUINO=100 -fdata-sections -ffunction-sections -O2  -c ../ClearUI/src/ClearUI_Field.cpp -o build/ClearUI/ClearUI_Field.cpp.o
mkdir -p ./build/ClearUI
g++ -Irpi -Icommon -I../ClearUI/src -I../ext/Adafruit-GFX-Library -I../ext/Adafruit_SSD1306 -Ilard -MMD -MP -DRPI -DARDUINO=100 -fdata-sections -ffunction-sections -O2  -c ../ClearUI/src/ClearUI_Input.cpp -o build/ClearUI/ClearUI_Input.cpp.o
mkdir -p ./build/ClearUI
g++ -Irpi -Icommon -I../ClearUI/src -I../ext/Adafruit-GFX-Library -I../ext/Adafruit_SSD1306 -Ilard -MMD -MP -DRPI -DARDUINO=100 -fdata-sections -ffunction-sections -O2  -c ../ClearUI/src/ClearUI_Layout.cpp -o build/ClearUI/ClearUI_Layout.cpp.o
mkdir -p ./build/Adafruit-GFX-Library
g++ -Irpi -Icommon -I../ClearUI/src -I../ext/Adafruit-GFX-Library -I../ext/Adafruit_SSD1306 -Ilard -MMD -MP -DRPI -DARDUINO=100 -fdata-sections -ffunction-sections -O2  -c ../ext/Adafruit-GFX-Library/Adafruit_GFX.cpp -o build/Adafruit-GFX-Library/Adafruit_GFX.cpp.o
mkdir -p ./build/Adafruit_SSD1306
g++ -Irpi -Icommon -I../ClearUI/src -I../ext/Adafruit-GFX-Library -I../ext/Adafruit_SSD1306 -Ilard -MMD -MP -DRPI -DARDUINO=100 -fdata-sections -ffunction-sections -O2  -c ../ext/Adafruit_SSD1306/Adafruit_SSD1306.cpp -o build/Adafruit_SSD1306/Adafruit_SSD1306.cpp.o
mkdir -p ./build/lard
g++ -Irpi -Icommon -I../ClearUI/src -I../ext/Adafruit-GFX-Library -I../ext/Adafruit_SSD1306 -Ilard -MMD -MP -DRPI -DARDUINO=100 -fdata-sections -ffunction-sections -O2  -c lard/mock.cpp -o build/lard/mock.cpp.o
mkdir -p ./build/lard
g++ -Irpi -Icommon -I../ClearUI/src -I../ext/Adafruit-GFX-Library -I../ext/Adafruit_SSD1306 -Ilard -MMD -MP -DRPI -DARDUINO=100 -fdata-sections -ffunction-sections -O2  -c lard/Wire.cpp -o build/lard/Wire.cpp.o
cc  ./build/rpi/args.cpp.o ./build/rpi/bicycle.cpp.o ./build/rpi/configuration.cpp.o ./build/rpi/midi.cpp.o ./build/common/cell.cpp.o ./build/common/display.cpp.o ./build/common/looper.cpp.o ./build/common/message.cpp.o ./build/ClearUI/ClearUI_Display.cpp.o ./build/ClearUI/ClearUI_Field.cpp.o ./build/ClearUI/ClearUI_Input.cpp.o ./build/ClearUI/ClearUI_Layout.cpp.o ./build/Adafruit-GFX-Library/Adafruit_GFX.cpp.o ./build/Adafruit_SSD1306/Adafruit_SSD1306.cpp.o ./build/lard/mock.cpp.o ./build/lard/Wire.cpp.o -o build/bicycle -Wl,--gc-sections -lstdc++ -lm -lasound 2>&1 | tee ./build/link_out
=== missing ===

from bicycle.

csestili avatar csestili commented on September 25, 2024

Ah, I suspect that something did not work, because bicycle does not show up in the aconnect list:

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 20: 'Arturia BeatStep Pro' [type=kernel,card=1]
    0 'Arturia BeatStep Pro MIDI 1'
    1 'Arturia BeatStep Pro MIDI 2'

from bicycle.

mzero avatar mzero commented on September 25, 2024

I discovered earlier that common/version.h - which is an auto generated file - doesn't get generated if it isn't there already..... will need to find a fix for the Makefile...

But that said - the contents are irrelevant for functioning.... so after you run it (build/bicycle) - I'm a little perplexed that it doesn't show up...

from bicycle.

csestili avatar csestili commented on September 25, 2024

Ah, oops, I forgot to start both amidiminder and bicycle.

To do this:

cd projects
./amidiminder/build/amidiminder &
cd bicycle
./build/bicycle &

Once I do this, I can see bicycle in the aconnect list:

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
        Connecting To: 128:0
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 20: 'Arturia BeatStep Pro' [type=kernel,card=1]
    0 'Arturia BeatStep Pro MIDI 1'
    1 'Arturia BeatStep Pro MIDI 2'
client 129: 'bicycle' [type=user,pid=600]
    0 'controllers     '
    1 'synths          '

Note that I can only run ./build/bicycle from inside the bicycle root dir because it looks for bicycle.config. For best ease of use, it might be good for bicycle (the executable file) to assume that bicycle.config is one dir up.

from bicycle.

Related Issues (2)

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.