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

Jamoma Windows_x64 not working #1012

Open
matcham opened this issue Sep 14, 2016 · 13 comments
Open

Jamoma Windows_x64 not working #1012

matcham opened this issue Sep 14, 2016 · 13 comments
Assignees
Milestone

Comments

@matcham
Copy link
Member

matcham commented Sep 14, 2016

all nightly builds of Jamoma Windows_x64 do not work :
I get
Jamoma | build 87e3c18
in Max window on startup.
no error message in Max, but instantiating any j.* results in an empty max object (the frame of the object is drawn, but text is invisible)
impossible to load a patch containing jamoma externals : the patch just do not open (no error message)
no crash

@matcham matcham added this to the 1.1/build milestone Sep 14, 2016
@matcham matcham assigned tap and theod Sep 14, 2016
@alfonso73
Copy link

Hi, confirmed here on Win 64.
I get
Jamoma | build 87e3c18
in Max window on startup.
But as soon as i try to instantiate any j.* object Max 7.3 crashes right away.
a.

@sone
Copy link

sone commented Jun 5, 2017

I can confirm this problem regarding the same build as mentioned above, too.

I'm trying to compile. I'm unexperienced especially on Windows but willing to learn. The needed steps are not completely documented as far as I can see. I had to set the path to sh.exe (git or Cygwin) but after running the shell script there are some more steps to execute - some more I don't know yet... In the pop-up window opened by the build.sh there is text about something like "it's not available on windows" - is this text logged? The --multi flag is not working on windows - it looks like the reason why is because sysctl is called which is not available on windows - even not with Cygwin.

If I can be of any use regarding JamomaMax on Windows 64bit, please let me know.

Cheers, Johannes

@tap
Copy link
Member

tap commented Jun 12, 2017

Thanks for trying to build and debug @sone !

I have personally not tried building and debugging on Windows in a while and it would be good to give it a try in order see where some of these problems arise -- and to document what comprises a viable Windows build environment.

My system:

  • Windows 8.1 (being run under Parallels on Mac hardware)
  • I do not have Cygwin installed
  • I use the MinGW shell provided by installing Git on Windows
  • I'm using Visual Studio 2017
  • I have CMake 3.8.1 installed

My sequence:

  • I run git clone [email protected]:jamoma/JamomaMax.git
  • cd JamomaMax
  • git submodule update --init (maybe the --recursive flag works too, but I've never used that)
  • ./build.rb --win64 (don't use --multi for debugging because it jumbles-up the error reporting)
  • doesn't work because that script requires an old version of Visual Studio... So I update the build.sh script line accordingly: JAMOMA_CMAKE_GENERATOR="Visual Studio 15 2017 Win64"
  • Now I run ./build.rb --win64 and note that there are lines saying "Does not work yet on Win64". Do these refer to LIBICONV? Something else? I don't know. But in the end it complains that no Makefile was generated and it doesn't build.
  • Let's try it for 32-bit. ./build.rb --clean. It fails to build in a similar way... and I don't really know why.
  • Looking at appveyor.yml I see that the nightly builds are being done using the script at script/build-appveyor.ps1. From here deduce the cmake commands so I can try to run them manually...
  • delete the old build and build64 folders from previous failed attempts
  • mkdir build
  • cd build (let's try 32-bit instead of 64 since we are desperate for a success)
  • cmake -g "Visual Studio 15 2017" -DCMAKE_INSTALL_PREFIX=`pwd`/JamomaInstall -DCMAKE_BUILD_TYPE=Release .. -- this appears to produce something reasonable, so proceed to actually building...
  • cmake.exe --build . --config Release > build.log (can watch the build results as it churns by opening that build.log file in Sublime Text)
  • I'm not sure if it works or not, but this produces a valid looking package. Hooray! Now let's try 64-bit...
  • cd ..
  • mkdir build64
  • It fails to build the modular framework due to linking agains printf() and other functions which have always been a hassle on Windows but not a failure like this. Probably the failure is due to me using a newer version of Visual Studio than 2013.

If I were to now try building for 64-bit it would look like this:

  • cd build64
  • cmake -g "Visual Studio 15 2017 Win64" -DWIN64:Bool=True -DCMAKE_INSTALL_PREFIX=`pwd`/JamomaInstall -DCMAKE_BUILD_TYPE=Release ..
  • cmake.exe --build . --config Release > build.log

Is this enough information to assist you in getting a build environment working?

@sone
Copy link

sone commented Jun 28, 2017

Yes, it should be enought information for the first round, thank you very much @tap
I've had problems with defect RAM and latency issues with my Thinkpad P50 in a way that I'm not so happy and at least one eye is looking at these hot glue computers again... anyway... sadley I have to reinstall Windows completley to find out if these latency issues can be cured or if I have to get a different computer. Thus it will take a little time before I can get back to JamomaMax.

@sone
Copy link

sone commented Jan 19, 2018

Hi, it took some time...
but I tried to build for 64-bit as tap suggested today.
Because I've VS Community 2013 installed, I've changed "Visual Studio 15 2017 Win64" to "Visual Studio 12 2013 Win64" The build log is attached. It's about 2036 Warnings and 59 Errors and 1 fatal error as below:

"D:\DATA\DEV\git\JamomaMax\build64\JamomaCore\Modular\library\Release\JamomaModular.dll : fatal error LNK1120: 27 unresolved externals [D:\DATA\DEV\git\JamomaMax\build64\JamomaCore\Modular\library\Modular.vcxproj]"

best, j.

jamoma_build-log_win10_64bit_180119_01.txt

@tap
Copy link
Member

tap commented Jan 29, 2018 via email

@bltzr
Copy link
Member

bltzr commented Jan 30, 2018 via email

@sone
Copy link

sone commented Jan 31, 2018

I cannot confirm really but I've attached the logs for both OSSIA and Jamoma with VS2017 installed. There are far less warnings and errors regarding Jamoma now. If I can do anything, like to provide more detailed information and testing, please let me now.

jamoma.zip
ossia.zip

@bltzr
Copy link
Member

bltzr commented Jan 31, 2018

you might be interested by this, @avilleret

@tap
Copy link
Member

tap commented Jan 31, 2018 via email

@balintlaczko
Copy link

Hey there! A lot of people would be extremely happy to have a stable windows jamoma. If you ever tried to make a large-scale (and scale-able) patch system in Max, I would say it's probably close to impossible without jamoma. And ossia is very nice, but it's missing many of the subtle things jamoma has.
What I (and probably many of us) would need is actually just a small part of the package, around 10-15ish externals, most probably not more than 20.
Is there any chance that you try building/testing at least a few of them on a Windows 10 x64 machine sometime in the future if we ask really nicely? Like reeeaaaally nicely! :)

@avilleret
Copy link
Contributor

I don't know anyone who want to dive again into Jamoma code under Windows.
Implementing missing features in OSSIA would be a better path.
Some people are actually very busy at gathering some "chance" all over the world to make that happen.

@tap
Copy link
Member

tap commented Oct 7, 2019

@avilleret This is very exciting!

@balintlaczko If you could name the exact externals in your reduced set, I'm curious what they would be.

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

No branches or pull requests

8 participants