-
Notifications
You must be signed in to change notification settings - Fork 0
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
A guide to compiling for a dummy in windows #3
Comments
Hi Henrique, First you should download some programs: GIT: https://gitforwindows.org/ and one compiler (for 64 bits if you Supercollider is 64 bits) With git you should download Supercollider sources from github: Then follow the instructions given on: https://github.com/sonoro1234/MyUGens If everything goes ok it would be a great surprise!! |
Unable to point out by myself my own mistake and being as much optimistic as I can, I dare say it's almost got there but not quite... :-)
...and so on for every subsequent building... |
1 - You should not run cmake from 2 - The resulting cmake command would be:
I dont know what is in another point is that cmake says:
According to https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html I thing that it is because cmake is generating a |
1 - Let me expound the directories contents for your examination:
2 - And now let me delineate the commands executed:
3 - The subsequent "errors":
Let me know if you want the "CMakeOutput.log" fully discriminated... |
You were building supercollider. The errors are:
You should not run from there but from
buildMyUGens should be empty and not contain cmake-3.18.3-win64-x64 that should be were it was in the other build (or perhaps you dont need it at all because I think MSVC has cmake included) the error in the cmake command is: the last argument points to the repository to be built so in
you are pointing to build supercollider.
|
"And on the seventh day" it will get an end, I believe (jajaja), but, in the meantime though, what we got are: 1 - "CMake" is not recognized as an internal or external command, so I set the path myself:
2 - "buildMyUGens" is now an empty directory:
3 - Since "MyUGens" is the last argument for
4 - The "warning" and the "error":
|
MyUGens repository should not be inside supercollider repository but in a sibling folder (side by side): So inside So the cmake command should be:
|
Oh, dear Victor, it seems that some magic happened this time! I was getting stuck on the meaning of
*note: the most recurring warning during the process concerned the "truncation/conversion" from "double" to "float" and from "float" to "int" with a possible data loss. Getting further in the process, let me share things that go far beyond my comprehension: 1 - 2 - For each "UGen" built into "buildMyUGens" directory I have subfolders containing If it seems that the compilation process well succeed, what is the next step? |
if you used I have just tried building with MSVC and there is an error in PitchTracker compilation, I have corrected the code so you should git clone MyUGens again. Or if you dont want to clone again you can just update using the following commands from inside MyUGens directory
You can set (you should move them to any of the folders that supercollider will point when asking for
Dont mess with this files, they are generated for the build process but they are not what you want. |
...and finally the rabbit came out of the hat! The "telling lines" appeared this time to report every file installed and the Things that extrapolate the purpose of this issue could be stated this way: I'm gonna meditate upon this journey and try to apply such great learning in a Manjaro machine; another resolution is keeping studying Lua2SC so that someday I can contribute to the "write sc files" issue. Any last recommendation you could feel inclined to draw will be highly appreciated. What remains is my gratitude for your spirit and generosity. P.S. - Since you mentioned that if anyone interested in having sc classes for any other UGen you could possibly write them under the condition that somebody could test them, I'd love to address my interest in experimenting with your trombone/trumpet physical model. |
I would appreciate it if you could write, now that you have had the experience, some kind of instructions about the process necessary for compiling MyUGens in windows. It would be addressed to people with your background and situation and I would add it to the readme.
Just added AdachiAyers sc classes. AdachiAyers is difficult to use because output frequency depends on flip, mouth pressure and delay length. In Lua2SC I implemented some functions for getting flip and delay for a given desired output frequency and mouth pressure in the piece 7thtrumpet. Also implemented a control feedback delay loop for achieving the same goal that I will push to the examples. |
Hola, estimado Victor.
This issue is being submitted mainly for the purpose of elucidating the compilation procedures taking a "non-programmer" facing a windows machine into consideration. Any regard given would be in the best interest of the community.
Thanks in advance for the patience and understanding.
The text was updated successfully, but these errors were encountered: