Comments (7)
You can just specify the path by setting the CMake variable LANGUAGE_FILE_ISO_639_2. Nothing is hard coded here - the path under usr/share is just a default.
from tagparser.
Great, thanks!
from tagparser.
I updated the build instructions to make it more obvious how to specify this path.
from tagparser.
So I tried what you said and still got the same error. Here are the two cmake commands I tried:
cmake ENABLE_THREAD_LOCAL=OFF
USE_STANDARD_FILESYSTEM=OFF
LANGUAGE_FILE_ISO_639_2="/usr/local/share/iso-codes/json/iso_639-2.json"
-DCMAKE_CXX_FLAGS="-std=c++17"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX="/usr/local"
"/Users/oldfaithful/Local/tageditor/tagparser"
cmake ENABLE_THREAD_LOCAL=OFF
USE_STANDARD_FILESYSTEM=OFF
LANGUAGE_FILE="/usr/local/share/iso-codes/json/iso_639-2.json"
-DCMAKE_CXX_FLAGS="-std=c++17"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX="/usr/local"
"/Users/oldfaithful/Local/tageditor/tagparser"
from tagparser.
Finally figured it out. You have to add -D to your arguments.
-DLANGUAGE_FILE_ISO_639_2="/usr/local/share/iso-codes/json/iso_639-2.json"
Made a lot more sense once I understood this. Lots of places in the docs where you either leave -D off, or show it. I got confused. Now I pretty much see that -D is essential to cmake flags.
from tagparser.
When I say "add …" to the CMake flags I use -D…
because that's the flag. When I say "set CMake variable …" than I omit it because the -D
isn't actually part of the variable name. Maybe I should be more consistent and just use the first version.
from tagparser.
Consistency would help the noobs. Now that I know I just do it properly.
from tagparser.
Related Issues (20)
- Building error HOT 5
- Support multiple strings in ID3v2.4 text frames HOT 1
- Any thoughts of integration with VCPKG? HOT 12
- c++utilities version 5.0.0 HOT 19
- Support reading/writing Matroska cover as tag (rather than an attachment) HOT 6
- Adding multiple TXXX frames to an ID3 tag HOT 4
- Improve support for handling locale information HOT 2
- Build error when used as library in another project HOT 14
- error: use of overloaded operator in mpegaudioframe.cpp:55:123 HOT 4
- Build tagparser without OpenSSL HOT 4
- cmake failed. Format rules for clang-format not found. HOT 6
- How to compile the following examples? HOT 4
- `TagParser::TagValue(float)` no longer works HOT 8
- Build Instructions Abmiguous About the "cpp-utilities" Dependency HOT 5
- endTime().toString() from abstractchapter.h always returns 00:36:00 HOT 3
- In abstracttrack.h, duration() cannot detect the length of tracks in matroska containers; outputs default TimeSpan of zero ticks HOT 3
- Error building on Ubuntu 16.10 HOT 3
- Playstation3 cannot play mp4 files edited the tags HOT 5
- Don't consider TXXX an ID3v2 text frame HOT 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 tagparser.