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

helloworld project not building on Windows 10 #197

Open
mourendxu opened this issue Nov 26, 2021 · 2 comments
Open

helloworld project not building on Windows 10 #197

mourendxu opened this issue Nov 26, 2021 · 2 comments

Comments

@mourendxu
Copy link

mourendxu commented Nov 26, 2021

Windows 10 20H2
Visual Studio Community 2019 16.7.4
Cmake v 3.22.0
Ruby 3.0.2p107

I followed "How to Create a new module" and ran the ruby on script/create_package.rb. I ran the build and all, and I got a whole bunch of LNK2019 unresolved external symbol errors.

Here is one of them:
npackage_test.hello-world.obj : error LNK2019: unresolved external symbol sysmem_newptr referenced in function "__int64 __cdecl c74::min::min_attr_getter(struct
c74::min::minwrap<class hello_world,void> *,struct c74::max::object *,long *,struct c74::max::atom * *)" (??$min_attr_getter@Vhello_world@@@min@c74@@YA_JPEAU?$minwrap@Vhello_world@
@x@01@PEAUobject@max@1@PEAJPEAPEAUatom@41@@z) [C:\Users\Da Xu\Documents\Max 8\Packages\npackage_test\build\source\projects\npackage_test.hello-world\npackage_test.hello-world.vcxpr
oj]

Thank you!

@mourendxu
Copy link
Author

Just want to add, I built min-devkit just fine from scratch.

@isabelgk
Copy link
Contributor

Thanks for the report @mourendxu . This is fairly low priority at the moment, but it looks like the Ruby scripts could use some testing on Windows. I notice that there's a \n in the error output you've pasted, so my initial suspicion is that line endings aren't being handled properly.

Glad to know that building from scratch is working though!

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

No branches or pull requests

2 participants