mediaarea / zenlib Goto Github PK
View Code? Open in Web Editor NEWLicense: zlib License
License: zlib License
#58 was possibly incomplete, similar issue with pseudo full-qualified path; verbose make:
CFLAGS: -mthreads -mtune=generic -O2 -pipe
LDFLAGS: -pipe -static-libgcc -static-libstdc++
make install
Scanning dependencies of target mediainfo
[ 0%] Building C object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/ThirdParty/md5/md5.c.o
[ 0%] Building C object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c.o
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c: In function 'aes_ecb_encrypt':
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c:165:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf);
^
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c: In function 'aes_ecb_decrypt':
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c:227:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf);
^
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c: In function 'aes_cbc_encrypt':
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c:296:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf);
^
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c: In function 'aes_cbc_decrypt':
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c:394:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf);
^
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c: In function 'aes_cfb_encrypt':
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c:506:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf);
^
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c: In function 'aes_cfb_decrypt':
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c:634:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf);
^
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c: In function 'aes_ofb_crypt':
H:/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c:772:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf);
^
[ 1%] Building C object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aescrypt.c.o
[ 1%] Building C object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aeskey.c.o
[ 2%] Building C object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aestab.c.o
[ 2%] Building C object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/ThirdParty/sha1-gladman/sha1.c.o
[ 3%] Building C object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/ThirdParty/sha2-gladman/sha2.c.o
[ 3%] Building C object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/ThirdParty/hmac-gladman/hmac.c.o
[ 4%] Building CXX object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/MediaInfo/File__Analyze.cpp.o
In file included from H:/dev/mabs/build/libmediainfo-git/Source/MediaInfo/File__Analyze.cpp:16:0:
H:/dev/mabs/build/libmediainfo-git/Source/MediaInfo/Setup.h:21:10: fatal error: ZenLib/Conf.h: No such file or directory
#include "ZenLib/Conf.h"
^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/mediainfo.dir/build.make:255: CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/MediaInfo/File__Analyze.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/mediainfo.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
[ 1%] Building CXX object CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/MediaInfo/File__Analyze.cpp.o
In file included from H:/dev/mabs/build/libmediainfo-git/Source/MediaInfo/File__Analyze.cpp:16:0:
H:/dev/mabs/build/libmediainfo-git/Source/MediaInfo/Setup.h:21:10: fatal error: ZenLib/Conf.h: No such file or directory
#include "ZenLib/Conf.h"
^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/mediainfo.dir/build.make:255: CMakeFiles/mediainfo.dir/H_/dev/mabs/build/libmediainfo-git/Source/MediaInfo/File__Analyze.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/mediainfo.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Can repo support M1 simulator for iOS , currently, i must use Rosetta mode for build & run, but it quite slow
see summary. I see the version has been bumped with a changelog entry indicating a release, but there is no release on Git Hub or git tag available.
Doable (see #59 (comment)).
1>------ Build started: Project: zen, Configuration: Debug x64 ------
1>zen.vcxproj -> C:\Users\evpob\Documents\GitHub\ZenLib\Project\CMake\CMakeBuild\Debug\zend.lib
2>------ Build started: Project: INSTALL, Configuration: Debug x64 ------
2>-- Install configuration: "Debug"
2>CMake Error at cmake_install.cmake:40 (file):
2> file INSTALL cannot find
2> "C:/Users/evpob/Documents/GitHub/ZenLib/Project/CMake/CMakeBuild/DEBUG/zend.pdb".
No PDB file generated with VS2017.
ZenLib/Source/Example/ZenLib_Test.cpp
Line 35 in 2c9728b
[bcc32 Error] ZenLib_Test.cpp(35): E2285 Could not find a match for 'operator ZtringListList::=(const wchar_t *)'
Full parser context
ZenLib_Test.cpp(19): parsing: int main(char,char * *)
ZenLib/Source/ZenLib/ZtringListList.cpp
Line 384 in 508085e
I cannot use Cygwin and CMake on Windows 11. I want to use it for a CGO project, but CGO does not support MSVC. Therefore, I chose Cygwin and CMake, with GCC and G++ as the compilers (version 11.4), and Ninja as the generator. After installing the compilers with Cygwin, I noticed that a macro similar to 'unix' appears related to the compiler. There is also a recognition error in the CMakeLists.txt file.
I'm using jb-alvarado's media-autobuild suite, which also builds libzen for MediaInfo. Your project recently had a few commits, whereas "mabs" was not updated in relation to libzen, so I wonder if there is a mistake in your patches which inserts a pseudo full-qualified source path into CMake scripts in an MSYS2 environment, where adding a relative path would have been suitable, or replacing the whole path with the full-qualified one be required:
LDFLAGS: -pipe -static-libgcc -static-libstdc++
make install
Scanning dependencies of target zen
[ 4%] Building CXX object CMakeFiles/zen.dir/H_/dev/mabs/build/libzen-git/Source/ZenLib/Conf.cpp.o
[ 8%] Building CXX object CMakeFiles/zen.dir/H_/dev/mabs/build/libzen-git/Source/ZenLib/CriticalSection.cpp.o
<command-line>:0:2: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:2: warning: ISO C++11 requires whitespace after the macro name
[ 12%] Building CXX object CMakeFiles/zen.dir/H_/dev/mabs/build/libzen-git/Source/ZenLib/Dir.cpp.o
<command-line>:0:2: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:3: error: expected primary-expression before '/' token
<command-line>:0:4: error: 'dev' was not declared in this scope
<command-line>:0:8: error: 'mabs' was not declared in this scope
<command-line>:0:13: error: 'msys64' was not declared in this scope
<command-line>:0:20: error: 'D_FILE_OFFSET_BITS' was not declared in this scope
<command-line>:0:20: note: suggested alternative: 'FILE_OPEN_IF'
<command-line>:0:20: error: expected ';' at end of member declaration
<command-line>:0:39: error: expected unqualified-id before numeric constant
<command-line>:0:3: error: expected primary-expression before '/' token
<command-line>:0:4: error: 'dev' was not declared in this scope
<command-line>:0:8: error: 'mabs' was not declared in this scope
<command-line>:0:13: error: 'msys64' was not declared in this scope
<command-line>:0:20: error: 'D_FILE_OFFSET_BITS' was not declared in this scope
<command-line>:0:20: note: suggested alternative: 'FILE_OPEN_IF'
<command-line>:0:20: error: expected ';' at end of member declaration
<command-line>:0:39: error: expected unqualified-id before numeric constant
make[2]: *** [CMakeFiles/zen.dir/build.make:87: CMakeFiles/zen.dir/H_/dev/mabs/build/libzen-git/Source/ZenLib/CriticalSection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/zen.dir/build.make:111: CMakeFiles/zen.dir/H_/dev/mabs/build/libzen-git/Source/ZenLib/Dir.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/zen.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
[ 4%] Building CXX object CMakeFiles/zen.dir/H_/dev/mabs/build/libzen-git/Source/ZenLib/CriticalSection.cpp.o
<command-line>:0:2: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:3: error: expected primary-expression before '/' token
<command-line>:0:4: error: 'dev' was not declared in this scope
<command-line>:0:8: error: 'mabs' was not declared in this scope
<command-line>:0:13: error: 'msys64' was not declared in this scope
<command-line>:0:20: error: 'D_FILE_OFFSET_BITS' was not declared in this scope
<command-line>:0:20: note: suggested alternative: 'FILE_OPEN_IF'
<command-line>:0:20: error: expected ';' at end of member declaration
<command-line>:0:39: error: expected unqualified-id before numeric constant
make[2]: *** [CMakeFiles/zen.dir/build.make:87: CMakeFiles/zen.dir/H_/dev/mabs/build/libzen-git/Source/ZenLib/CriticalSection.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/zen.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Hi.
I found that libzen (ZenLib) in fedora has devel package with Provides unversioned pkgconfig(libzen).
But in mediainfo it versioned: pkgconfig(libmediainfo) = 20.03
So it seems not packaging problem.
Can you solve that?
It is really require cmake 3.0?
Can I use some patch or trick to build Zenlib with cmake 2.8.12.2? Only this version available in RHEL/CentOS 6 and 7.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.