Comments (8)
As mentioned above you can try libgmock-dev
too. gtest and gmock are needed and Ubuntu seems to split into two packages here.
from plug.
Does the Ubuntu package install a more or less up-to-date version of GTest (1.12.1 is latest)? It should include headers and libraries to work properly. In doubt you can use alternatives, eg. Conan or building GTest from source (that's what CI does).
Is it maybe possible to build without the dependency to Gtest? Thanks in advance!
Of course! You can set UNITTEST
CMake option to OFF
and build without tests / GTest dependency. Either set it through GUI or by passing -DUNITTEST=OFF
to Cmake.
from plug.
Thanks a lot! -DUNITTEST=OFF
did the trick for building plug. Unfortunately I now get ERROR: Invalid effect id: 186 ERROR: Resource busy
when trying to connect to the amp. Interestingly my Mustang III v2 is recognized as Mustang IV v2 when running lsusb. I will need to dig in the udev rules.
from plug.
I see now in the code that usbPID is the same for Mustangs III, IV and V v2. sudo make install
did not put any new rule into /etc/udev/rules.d/ apparently, so I added your 50-mustang.rules manually and rebooted but that did not help. User belongs to the plugdev group.
from plug.
There should be three files installed:
- 50-mustang.rules
- 70-mustang-uaccess.rules
- 70-mustang-plugdev.rules
Do you have the others too?
from plug.
I suspect libgmock-dev
is not installed in your system.
The "cmake .." command fails due to Gtest dependency on Ubuntu Studio 22.04
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find GTest (missing: GTest_Mock_INCLUDE_DIR GTest_Mock_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake/FindGTest.cmake:33 (find_package_handle_standard_args) test/CMakeLists.txt:1 (find_package)
I installed libgtest-dev, build the libraries (got 2 *.a files) and moved them to /usr/lib but cmake still fails as above. Any ideas? Is it maybe possible to build without the dependency to Gtest? Thanks in advance!
from plug.
I suspect you already got through the permission issue, since libusb-1.0
is not complaining about Permission denied
.
Then we probably should move to #6.
I already found that my Mustang I V2 uses a dialect, so it is likely that III, IV do so.
I suggest trying my patch b536b2a.
Thanks a lot!
-DUNITTEST=OFF
did the trick for building plug. Unfortunately I now getERROR: Invalid effect id: 186 ERROR: Resource busy
when trying to connect to the amp. Interestingly my Mustang III v2 is recognized as Mustang IV v2 when running lsusb. I will need to dig in the udev rules.
from plug.
I ran into this issue as well. It looks like on my system (Ubuntu 22.04
) when I install libgtest-dev
it installs version 1.11.0-3
. You mentioned 1.12.1 so perhaps this version is too old?
Otherwise, cmake -DUNITTEST=OFF ..
also worked for me.
Unfortunately, it doesn't look like it's able to find my amp (Mustang LT25)
from plug.
Related Issues (18)
- Invalid amp id: 0 HOT 19
- Loading effects from amp or file does not preserve the position HOT 23
- Fedora 36 FTBFS due to warnings as error - Allow? HOT 3
- FTBFS GCC 13 HOT 2
- Fender G-DEC 30 Compatiblity HOT 1
- 'cmake ..' Fails on Antergos (kernel 5.4.6) HOT 4
- Fender Bronco 40 support? HOT 42
- udev rules installed incorrectly under /usr/lib64/udev HOT 3
- Super Champ XD HOT 3
- Mustang GT 40: No device found HOT 8
- Mustang V v2 amp not recognized. HOT 26
- Could NOT find GTest HOT 8
- Compiling fails in Manjaro HOT 3
- "Invalid amp id: 0" on Mustang I V2 HOT 42
- Fender Rumble LT 25 support? HOT 23
- Fender Mustang 2 - Core Dumped HOT 6
- MacOS compilation HOT 16
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 plug.