Comments (5)
I'd suggest to double-check the actual value of variable LIB_INSTALL_DIR set by CMake in the cache. Using the spell you wrote, it seems to assign the absolute path, while the description says it should contain a relative path. With a minor modification, this works for me:
cmake -DCMAKE_INSTALL_PREFIX="/tmp/mt32" -DLIB_INSTALL_DIR:PATH=lib -Dlibmt32emu_SHARED=OFF ../
<skip...>
Install the project...
-- Install configuration: ""
-- Installing: /tmp/mt32/lib/libmt32emu.a
<skip...>
from munt.
Indeed, it uses an absolute path. With -DLIB_INSTALL_DIR=lib
, the build directory is getting prepended, so it ends up as <build_dir>/lib
.
-DLIB_INSTALL_DIR:PATH=lib
on the other hand does the right thing.
In any event, I'm not sure this should be called LIB_INSTALL_DIR
? The standard name for this in most software that uses cmake is CMAKE_INSTALL_LIBDIR
. See:
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
from munt.
See the code on master branch ;)
from munt.
Ah, oops. Forgot to check current git master. I use munt as a git submodule and have it pointed to the latest libmt32emu tag.
This bug report is actually invalid then, because on current git master, -DLIB_INSTALL_DIR=lib
works just fine anyway, as does -DCMAKE_INSTALL_LIBDIR=lib
.
Sorry for the noise :-P
from munt.
No problem
from munt.
Related Issues (20)
- DOSBox Patch LCD messages to LCDProc
- Problem writing reverb settings over SysEx HOT 3
- Dosbox r4479: MIDI:Can't find device:mt32 HOT 2
- [Feature Request] Partial exhaustion indicator in UI HOT 4
- [UI Feature Request] Numeric entry Output Gain control
- Make UI better self-documenting
- Application crashes occasionally when a new JACK audio device is started
- UI may show obsolete info when a pinned synth is stopped
- Add basic unit tests
- Improve emulation accuracy of partial allocator implemented in old-gen devices
- New Output Gain textboxes don't work well on Windows HOT 1
- Provide callback to inform clients about events of synth engine running out of available partials
- Add visual indication for events when the synth engine exceeds the currently available partials
- is there any documentation on how to use mt32emu? HOT 2
- SHA1 digests in ROMInfo objects may be initialised incorrectly HOT 1
- SteamOS 3.5 - Client 128: 'Munt MT-32' Misssing HOT 5
- The geometry of the floating LCD can become inaccessible HOT 5
- mt32emu-qt: add command to CLI for opening one or more MIDI port(s) at startup
- More of a question to the creator.
- Guides or information on dumping MT-32 ROM? HOT 5
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 munt.