Comments (7)
from ctroller.
Nevermind. I fixed it by adding ./ to the makefile.
from ctroller.
For future reference:
Unixes don't run executables in the current directories unless you explicitly tell them to. See here why that is.
You either tell them run the bannertool
that you provided by saying ./bannertool
(what you did), or you place bannertool
in a directory that is in your $PATH
(what I'd recommend).
from ctroller.
Building linux executable...
make[1]: Entering directory `/home/maya/Desktop/ctroller-master/linux'
Creating directories
Beginning release build
Compiling: src/main.c -> build/release/main.o
src/main.c: In function ‘main’:
src/main.c:134:12: warning: missing initializer for field ‘version’ of ‘struct hidinfo’ [-Wmissing-field-initializers]
struct hidinfo hid = {};
^
In file included from include/ctroller.h:6:0,
from src/main.c:31:
include/hid.h:69:14: note: ‘version’ declared here
uint16_t version;
^
In file included from src/main.c:31:0:
include/ctroller.h:18:37: error: ‘VERSION_MAJOR’ undeclared (first use in this function)
#define CTROLLER_VERSION MAKEBCDVER(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
^
include/ctroller.h:12:7: note: in definition of macro ‘MAKEBCDVER’
((major & 0xf) << 8 | (minor & 0xf) << 4 | (patch & 0xf))
^
src/main.c:152:36: note: in expansion of macro ‘CTROLLER_VERSION’
if (hid.version != CTROLLER_VERSION) {
^
include/ctroller.h:18:37: note: each undeclared identifier is reported only once for each function it appears in
#define CTROLLER_VERSION MAKEBCDVER(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
^
include/ctroller.h:12:7: note: in definition of macro ‘MAKEBCDVER’
((major & 0xf) << 8 | (minor & 0xf) << 4 | (patch & 0xf))
^
src/main.c:152:36: note: in expansion of macro ‘CTROLLER_VERSION’
if (hid.version != CTROLLER_VERSION) {
^
include/ctroller.h:18:52: error: ‘VERSION_MINOR’ undeclared (first use in this function)
#define CTROLLER_VERSION MAKEBCDVER(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
^
include/ctroller.h:12:28: note: in definition of macro ‘MAKEBCDVER’
((major & 0xf) << 8 | (minor & 0xf) << 4 | (patch & 0xf))
^
src/main.c:152:36: note: in expansion of macro ‘CTROLLER_VERSION’
if (hid.version != CTROLLER_VERSION) {
^
include/ctroller.h:18:67: error: ‘VERSION_PATCH’ undeclared (first use in this function)
#define CTROLLER_VERSION MAKEBCDVER(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
^
include/ctroller.h:12:49: note: in definition of macro ‘MAKEBCDVER’
((major & 0xf) << 8 | (minor & 0xf) << 4 | (patch & 0xf))
^
src/main.c:152:36: note: in expansion of macro ‘CTROLLER_VERSION’
if (hid.version != CTROLLER_VERSION) {
^
make[2]: *** [build/release/main.o] Error 1
make[1]: *** [release] Error 2
make[1]: Leaving directory `/home/maya/Desktop/ctroller-master/linux'
make: *** [linux] Error 2
from ctroller.
i did all the steps but i'm getting an error
i hope you would kindly help me
from ctroller.
could ya please give the .cia file please???
from ctroller.
Hi @yellomonkey, you probably did not build ctroller
from a git-repository. See issue #2 why you get that error. To build ctroller
, you either clone the repository and let it build from there or wait for the next commit that should fix out-of-git building/versioning.
If you want to download the latest release of ctroller
, just got to the release tab, you'll find a .cia
file there.
Thank you for reporting, but the next time I'd urge you to open a new issue on the tracker, that makes things easier to organize.
from ctroller.
Related Issues (14)
- AUR package bannertool-git does not build HOT 2
- Crash at startup HOT 3
- WiFi error
- [Feature Request] Touchpad as Button zones? HOT 3
- Netwotk interface is not configured
- 3ds/types.h no such directory while building 3ds section HOT 2
- An Exception Occurred HOT 1
- For any other linux version? HOT 5
- Building outside of a git repository fails because of undefined macros HOT 1
- Screen rotation changes constantly HOT 4
- CIA file gives a "An exception occured" HOT 10
- Mouse is absolute, and therefore pretty useless, maybe use EV_REL instead?
- When built using the latest version of devkitarm and ctrulib, opening the app with no wifi connection will cause a data abort. HOT 2
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 ctroller.