Comments (2)
Hi Kevin,
I'm not sure either--- but I don't think that routine used anymore. (needs
to be deleted)
The pixymon code is on a steep curve, so it's likely broken for some OS's,
and messy in parts.
thanks,
--rich
On Mon, Nov 4, 2013 at 2:36 PM, Electronic Kiwi [email protected]:
Hey,
I am a backer of the pixy project on kickstarter and out of my own self
interest I started to try to compile the pixy host application on Linux
(both my Laptop and my stationary PC run Fedora 19).
The first thing that the compiler complained about are the lines 739 and
740 in pixy/host/pixymon/renderer.cpp:unsigned int addr = (unsigned int)comps; unsigned int paddr = (unsigned int)&comps;
Here you try to cast a int16_t* into an unsigned int which does not work,
because at least with my gcc version on linux you need an unsigned long
int to hold the value of a pointer.
While this fixes the error emitted by the compiler:
Why do you try to cast a pointer to an integer in the first place? On a
system with virtual memory this is generally not a good idea. At least you
should use a reinterpret_cast to show that you know what you are doing.
Since addr and paddr are only used to initialize k and l, I can not
figure out what your intent with this is.Kevin
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.
Charmed Labs
www.charmedlabs.com
from pixy.
This issue seems to be fixed. I think you can close it.
from pixy.
Related Issues (20)
- Linux not supporting firmware 1.4.3
- pixy_init doesn't return a value HOT 2
- New "bug definition file HOT 1
- libpixyusb_swig python bindings not working in linux HOT 6
- get_blocks via USB and python HOT 7
- http://www.cmucam.org is currently down HOT 7
- debian packaging HOT 7
- Difficult to know if sensor is healthy when using I2C HOT 1
- QFSFileEngine::open: No file name specified HOT 3
- Which firmware has hd resolution ?
- http://www.cmucam.org is down since yesterday HOT 1
- libpixyusb_swig not installing correctly
- http://www.cmucam.org/ 403 Forbidden HOT 2
- lsusb does NOT show anything about cmucam5 .... HOT 3
- Compile PixyCam without Keil
- Code Development HOT 1
- Failed to retrieve Pixy firmware version. Pixy Error: Invalid command HOT 4
- Is there a method of saving image or short video to SD? HOT 1
- buildpixymon.sh references src directory that do not exist HOT 1
- Windows line endings HOT 3
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 pixy.