Comments (5)
Very belated PR submitted at OpenShot/libopenshot-audio#19, when that's merged this can finally be closed. (Shutting the barn door after the horses are gone, as they say, now that libopenshot-0.2.0 is already released. But, oh well.)
from libopenshot.
Also getting this error on Solus, is there something obvious i'm missing?
from libopenshot.
Just an FYI had to rebuild with ruby bindings disabled -DENABLE_RUBY=OFF to compile. Can provide more details if this gets any attention.
from libopenshot.
I just hit this myself, compiling with gcc 7.3.1 on Fedora 27.
The issue, surprisingly enough, is actually in libopenshot-audio, specifically one of the macros in its header files that libopenshot includes.
I do not even remotely pretend to understand why this fixes the issue or even makes a difference, but the same bug was reported over at open-source-parsers/jsoncpp#214, and a comment there pointed me at the fix.
Here's a diff rooted in the libopenshot-audio-0.1.5
source tree, that shows the fix:
diff -u JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h.orig JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h
--- JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h.orig 2018-02-21 03:54:09.141547407 -0500
+++ JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h 2018-02-21 03:54:36.394066259 -0500
@@ -381,7 +381,8 @@
#if JUCE_WINDOWS && !JUCE_MINGW
return _finite (value) != 0;
#else
- return std::isfinite (value);
+ using namespace std;
+ return isfinite (value);
#endif
}
@@ -391,7 +392,8 @@
#if JUCE_WINDOWS && !JUCE_MINGW
return _finite (value) != 0;
#else
- return std::isfinite (value);
+ using namespace std;
+ return isfinite (value);
#endif
}
Like I said, I don't pretend to understand why that works (I'm not a C++ guy), but if libopenshot-audio is built and installed with the headers patched in that way (or if the headers are manually modified post-install, which is how I originally tested the change), then libopenshot will compile successfully.
(If you're using the libopenshot-0.1.5.tar.gz
release code, though, you also need to apply the fix from pull request #67 in this repo.)
from libopenshot.
Closed with OpenShot/libopenshot-audio#37
from libopenshot.
Related Issues (20)
- document typo. capi should be c-api in the https://github.com/RazrFalcon/resvg HOT 1
- FFmpegReader.GetFrame() crashes when reading a png image HOT 1
- Audio issues when using QtTextReader and QtHtmlReader HOT 1
- Infinite loop using QtTextReader and Timeline sample rate of 48000 HOT 4
- resvg document error HOT 1
- finally build error-not exist the tests directory, so new tests directory fix it. HOT 1
- when build resvg, qt-backend always fail, I have no idea, remove it and set --all-features pass. HOT 1
- 0.3.1: Caption:caption effect (test fails) HOT 3
- Compiling on slackware 14.2 with Python 3.11 fails 'AudioDeviceList' was not declared in this scope HOT 1
- Race condition between FFMpegWriter and ImageWriter tests HOT 1
- Segfaults in Timeline:Multi-threaded Timeline GetFrame HOT 1
- Could NOT find Resvg (missing: Resvg_LIBRARIES Resvg_INCLUDE_DIRS) (found version "") HOT 1
- Where is the main() function or the program entry? HOT 2
- For a new effect that adds a time stamp, should the video metadata be read by openshot-qt or by libopenshot
- Do I really need to build it to use it from a Python script? HOT 1
- Need a little help building on Windows
- fatal error: zmq.hpp: No such file or directory HOT 1
- Does not work after compiling on windows!
- parse_lib_version is broken on new versions of FFmpeg HOT 2
- Test failure with ffmpeg 6.1
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 libopenshot.