id3-go | ID3 library for Go
kandi X-RAY | id3-go Summary
kandi X-RAY | id3-go Summary
ID3 library for Go
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of id3-go
id3-go Key Features
id3-go Examples and Code Snippets
Community Discussions
Trending Discussions on id3-go
QUESTION
I am currently trying to set up a Go project, and considering I am running Windows, while the other 2 developers are working on a Mac, I have some trouble with installing a few packages.
After trying to install the packages with cmd, I was only able to install 2 out of 4. The other two needed gcc.
Therefore, I installed MinGW. I was able to install a third package that way, but now I am stuck on https://github.com/mikkyang/id3-go.
It seems to depend on another underlying project, https://github.com/djimenez/iconv-go. The moment I try to go install
id3-go, I am always left with this error:
ANSWER
Answered 2017-Feb-25 at 15:09I've met the same problem when I want to go install github.com/google/gopacket
which need CGO
. It's because your libiconv2.a
is generated by other compiler, so it's incompatible with mingw32 compiler as the error message says. We need generate the static lib with the mingw32 toolset:
- find libiconv-2.dll(the coresonding dynamic library) in your PC
- run
gendef
(located in C:\TDM-GCC-64\x86_64-w64-mingw32\bin in my 64-bit Windows ) on those filesgendef libiconv-2.dll
, this will generate libiconv2.def file Then generate the static library:
dlltool --as-flags=--64 -m i386:x86-64 -k --output-lib libiconv2.a --input-def libiconv2.def
copy libiconv2.a to proper location.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install id3-go
To access the tag of a file, first open the file using the package's Open function. It's also a good idea to ensure that the file is closed using defer.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page