-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows RC2 - Mallets won't load - Stk installation missing #3227
Comments
@Umcaruje what build? Windows 10 x64 loads just fine, running out of the box |
It won't load on windows 10 x64 rc2 for me. Weird. Maybe there is something leftover from the previous installation. |
@SirBothersome please do a full uninstall before filing bugs. @Umcaruje this may be a bug with the windows packager. If the RAWWAVES aren't there, it throws this message. Edit: Just realized you're on Linux for one post and Windows for another. Probably still a bug with your STK directory. Generally when default directories are screwed up, it's because the user failed to uninstall the previous version. We really need to do a better cleanup job prior to a fresh install on all platforms. Removing If the RAWWAVES are missing, it's a bug with the Windows packager. If they're there, you need to get in the habit of uninstalling prior to reinstalling (and we should track all of these cleanup efforts for the various platforms). Indirectly related #638, #2933, #1656, #1649 (comment) |
It is. I'm not sure how this was ever working in 1.1 actually better yet the 1.2-rc1 build. There must have been a task to copy the A better permanent home for this logic would be to write this into the Here's the fix for now. -FILE(GLOB RAWWAVES "${CMAKE_INSTALL_PREFIX}/share/stk/rawwaves/*.raw")
-LIST(SORT RAWWAVES)
-INSTALL(FILES ${RAWWAVES} DESTINATION "${DATA_DIR}/stk/rawwaves")
+IF(LMMS_HAVE_STK)
+ FILE(GLOB RAWWAVES "${MINGW_PREFIX}/share/stk/rawwaves/*.raw")
+ LIST(SORT RAWWAVES)
+ INSTALL(FILES ${RAWWAVES} DESTINATION "${DATA_DIR}/stk/rawwaves")
+ENDIF() |
I apologize, but I am quite confused. |
@miketurn a temporary workaround until RC3 is released is to install LMMS 1.2-RC1 and then install LMMS 1.2-RC2 over the top. |
i experienced the same issue on the latest master and wrote an issue for it #6464. was searching for stk installation and found this closed issue instead. |
A long time ago, In the case of STK, it has a formula ready on vcpkg, so I'd look there first, quoting the file(GLOB RAWFILES ${SOURCE_PATH}/rawwaves/*.raw)
file(COPY ${RAWFILES} DESTINATION ${CURRENT_PACKAGES_DIR}/share/libstk/rawwaves) @DomClark or @PhysSong should have experience with how MSVC environment prefixes. Otherwise, it will look something like this: IF(LMMS_HAVE_STK)
IF(MSVC)
# MSVC uses "share/libstk"
FILE(GLOB RAWWAVES "${<<FIXME_CURRENT_PACKAGES_DIR>>}/share/libstk/rawwaves/*.raw")
ELSE()
# MINGW uses "share/stk"
FILE(GLOB RAWWAVES "${MINGW_PREFIX}/share/stk/rawwaves/*.raw")
ENDIF()
LIST(SORT RAWWAVES)
INSTALL(FILES ${RAWWAVES} DESTINATION "${DATA_DIR}/stk/rawwaves")
ENDIF() |
Folder [data]/stk/rawaves is missing. Replace it and it works. Other findings:
In the newly created .xml file, the xml appears. |
I got the same message on my linux computer, but fixed it by installing the
stk
package which was not installed. This is probably related to our build system.The text was updated successfully, but these errors were encountered: