Comments (8)
The source code line triggering the build error is line 35 of Image.h:
explicit Image(std::size_t capacity)
: m_data{capacity, default_init_allocator<uchar>{}} {
m_data.resize(0);
}
from cscore.
What compiler are you using? While this approach optimizes performance (important on embedded systems), it's almost certainly not necessary for desktops. There's a workaround a few lines above for MSVC (which has a similar issue compiling this code) using #ifdef _WIN32
but it could easily be more broadly applied based on the compiler or compiler version in use.
from cscore.
I'm using XCode in the latest macOS. It doesn't look like this code has been tested for building on macOS - I'll make some changes and do a pull request. It should be able to build and run on a desktop just as it does on an embedded system, right?
from cscore.
The python package robotpy-cscore
compiles and runs on OSX (but it uses its own build system), so you should be able to fix it to work without changing source code I suspect... though, I think my build system prefers C++14 if it finds support for that.
from cscore.
I am having the same issue. Has a fix been created yet or is at least in the works?
from cscore.
A fix is in the works.
from cscore.
Running ./gradlew build -PskipAthena with the latest build seems to fix the issue for me.
from cscore.
This has been fixed; the code that caused an issue on Mac is now conditionally compiled so it is used only on Linux.
from cscore.
Related Issues (20)
- Problem building cscore with Raspbian Stretch (Pi 3) HOT 16
- Compression in MjpegServer cannot be set programmatically HOT 4
- Documentation for extending cscore webpage controls? HOT 2
- LifeCam HD-3000 exposure 'quirk' also on LifeCam Cinema HOT 2
- LLVM Headers missing HOT 13
- Log an error message on EACCES/EPERM
- MjpegServer: Improve HTTP request parsing
- Provide information about streams on webpage
- VideoSource.getActualDataRate() throwing Video Exception HOT 4
- Add overloads for each property type
- Boolean property doesn't seem to work in web page HOT 2
- Add a file source and a property for iterating over a directory
- Add a file writing sink?
- Add information page that lists the symlink information for USB cameras HOT 4
- Add information about USB bandwidth allocation HOT 2
- Segfault when using CvSource HOT 3
- Sliders do not update when multiple users are adjusting camera settings HOT 3
- Concatenated HTML in C++
- Have webpage use MjpegServer name identifier instead of CameraServer
- Fix CORS issues
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 cscore.