Skip to content
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

Fixes to enable building on msvc #4

Merged
merged 3 commits into from
Jul 7, 2023
Merged

Fixes to enable building on msvc #4

merged 3 commits into from
Jul 7, 2023

Conversation

Rossmaxx
Copy link
Contributor

@Rossmaxx Rossmaxx commented Jul 2, 2023

Added a M_PI macro to enable building on msvc. Very minor change, easy merge.

@tresf
Copy link
Member

tresf commented Jul 2, 2023

@Rossmaxx, thanks! I did some quick digging and found the following:

Since #3 doesn't seem to contain this patch, it should be safe to merge, however, the patch needs to land upstream as well. The way we do this currently is to email the author of CMT. Here's the email address:

anti-spam measure - email address hidden -- click to expand

richard [at] muse.demon [dot] co.uk

These older methods of patching would use a .patch file, but it would be created against whatever latest version is available.

http://www.ladspa.org/download/index.html

To that point, since you're working directly with the lmms/cmt submodule, I would invite you to report test results against #3 so that we can get that merged in while we have eyes on it.

@tresf tresf mentioned this pull request Jul 2, 2023
@Rossmaxx
Copy link
Contributor Author

Rossmaxx commented Jul 3, 2023

however, the patch needs to land upstream as well.

forwarded the patch. gmail claims the mail id doesn't exist

since you're working directly with the lmms/cmt submodule, I would invite you to report test results against #3 so that we can get that merged in while we have eyes on it.

noted. will test this week.

@tresf

This comment was marked as outdated.

@tresf
Copy link
Member

tresf commented Jul 3, 2023

gmail claims the mail id doesn't exist

I'll send it to you on Discord.

Discard, I think my email on file was outdated, please try this:

anti-spam measure - email address hidden -- click to expand

richard (at) muse440 (dot) com

@Rossmaxx
Copy link
Contributor Author

Rossmaxx commented Jul 4, 2023

I've sent it to him. Let's wait now.

@Rossmaxx Rossmaxx marked this pull request as draft July 4, 2023 14:50
@Rossmaxx Rossmaxx marked this pull request as ready for review July 7, 2023 05:19
@Rossmaxx
Copy link
Contributor Author

Rossmaxx commented Jul 7, 2023

update : Richard got back to me and after a few back and forth mails, it seems he might merge this fix. I'll get back once he merges it.

src/init.cpp Show resolved Hide resolved
@tresf tresf merged commit 6e6e291 into LMMS:lmms Jul 7, 2023
@tresf
Copy link
Member

tresf commented Jul 7, 2023

@Rossmaxx do you mind chiming in over at LMMS/lmms#6151? I'd like to toggle MSVC back on for this and I assume you've already done it locally.

@Rossmaxx
Copy link
Contributor Author

Rossmaxx commented Jul 7, 2023

do you mind chiming in over at LMMS/lmms#6151?

I would like to but I won't be able to, mainly cause debugging #6758 has started to become a bit of a headache. Let me fix that first.

I'd like to toggle MSVC back on for this and I assume you've already done it locally.

Not yet. Calf plugins are failing. I'll fix that too then I'll look into it.

@tresf
Copy link
Member

tresf commented Jul 7, 2023

I'm sorry, I had forgotten that we have all LadspaEffect plugins blacklisted. No rush and thanks for the patch!

IF(MSVC)
	SET(MSVC_INCOMPATIBLE_PLUGINS
		LadspaEffect
		zynaddsubfx
	)
	message(WARNING "Compiling with MSVC. The following plugins are not available: ${MSVC_INCOMPATIBLE_PLUGINS}")
	LIST(REMOVE_ITEM PLUGIN_LIST ${MSVC_INCOMPATIBLE_PLUGINS})
ENDIF()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants