Comments (2)
So, nobody knows? What I found is that in CMakeLists.txt next strings
#### Enable C++11 (for JUCE)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
explicitly adds the "-std=c++11" key into the g++ output command line and thus the -std=gnu++11
(required under MinGW Windows) when specified, was added as two keys: -std=gnu++11 -std=c++11
instead of replace the second one. And definitely, there is no atoll
in stdlib when -DCMAKE_CXX_FLAGS="-std=c++11"
is used. There is only atol
. So, when I removed the mentioned strings from CMakeLists.txt the -std=gnu++11
was automatically added and compilation continues. Edit: it is just enough to comment out the - set(CMAKE_CXX_EXTENSIONS OFF)
Now, I have number of link errors (see below) to zlib.
...
undefined reference to `inflateInit2_'
...
collect2.exe: error: ld returned 1 exit status
Any clues?
I simply tried to follow the wiki instructions to build under the Windows (MinGW) https://github.com/OpenShot/libopenshot/wiki/Windows-Build-Instructions
from libopenshot-audio.
OK. I solved it by renaming static libs C:\msys64\mingw64\lib\libz.dll.a nofile.dll.a
and C:\msys64\mingw64\lib\libz.a
, thus cmake finds C:/MinGW/bin/zlib1.dll
instead.
Edit: the log with all mentioned changes in code:
https://ci.appveyor.com/project/SuslikV/libopenshot-audio/builds/24157962
Edit2: I wrongly used old MinGW 32 from the CI environment, so messed up with the compile and "bitness". By adding C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\bin
to path - the problem with the zlib linking was solved.
Edit3: even not by adding, just by removing the path to MinGW 32 that I mistakenly added earlier.
from libopenshot-audio.
Related Issues (20)
- Undeclared function error when building on Apple Silicon HOT 2
- Build failure - macOS 11.0 Deprecations HOT 2
- I don't hear five test tones HOT 4
- Playback Audio Devices missing in develop (no sound on Windows) HOT 24
- libopenshot-audio hangs Ubuntu 20.04 apt package manager HOT 1
- Exporting video (Web, YouTube HD), getting an error 'audio codec not found' HOT 3
- Subject: 'Clear audio for people with hard of hearing’ HOT 3
- Sound editor volume problem with Openshot. HOT 1
- cmake error while compiling
- Copious warnings building Juce classes... HOT 5
- Debian patches to uses system libpng, libjpeg and libz HOT 1
- libopenshot-audio fails to build under GCC 9.0.1, errors in Juce code HOT 12
- build problem on FreeBSD amd64 HOT 2
- Generate a version include, for library consumers? HOT 1
- Audo Ducking HOT 3
- Compiling libopenshot-audio using vs2017 HOT 4
- Does this library support recording sounds played by other software? HOT 2
- Audio processing/filtering using LV2 plugins? HOT 3
- JUCE 6 coming soon... 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 libopenshot-audio.