Coder Social home page Coder Social logo

zenlib's People

Contributors

1480c1 avatar almic-stardust avatar bugwelle avatar cjee21 avatar drizt avatar ericonr avatar evpobr avatar g-maxime avatar genisysram avatar guillaumeroques avatar hyperair avatar jaeguly avatar jeromemartinez avatar kiyolee avatar kodawah avatar kolcha avatar leodavidson avatar maxpozdeev avatar mediaareaci avatar pavel-pimenov avatar rkrauseics avatar robux4 avatar tribouille avatar underground78 avatar vascom avatar wiiaboo avatar xhmikosr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zenlib's Issues

After fixing libzen: libmediainfo doesn't install, missing ZenLib/Conf.h

#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

CMake INSTALL target fails with VS2017

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.

C++Builder 10.2.3

ZLL=L"11;12;13\r\n21;22;23\r\n31;32;33";

[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 * *)

It seems there is a bit of an issue when compiling with Cygwin and CMake on Windows.

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.

Installing libzen fails with directory fractions in wrong scope

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

pkgconfig without version

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?

CMake 3.0 or higher is required

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.