Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Krzysztof Marczak
@buddhi1980
There will be visible something like this (progress of decoding of audio buffers)
Debug: 36.4218 % 5568768 126.276
Debug: 36.4294 % 5569920 126.302
Debug: 36.4369 % 5571072 126.328
Debug: 36.4444 % 5572224 126.354
Debug: 36.452 % 5573376 126.38
Debug: 36.4595 % 5574528 126.407
Debug: 36.467 % 5575680 126.433
Debug: 36.4746 % 5576832 126.459
Debug: 36.4821 % 5577984 126.485
Debug: 36.4896 % 5579136 126.511
Debug: 36.4972 % 5580288 126.537
Debug: 36.5047 % 5581440 126.563
Debug: 36.5122 % 5582592 126.589
Debug: 36.5198 % 5583744 126.616
Debug: 36.5273 % 5584896 126.642
Debug: 36.5348 % 5586048 126.668
Debug: 36.5424 % 5587200 126.694
Debug: 36.5499 % 5588352 126.72
Debug: 36.5574 % 5589504 126.746
Debug: 36.565 % 5590656 126.772
Debug: 36.5725 % 5591808 126.798
Debug: 36.58 % 5592960 126.824
Debug: 36.5876 % 5594112 126.851
Debug: 36.5951 % 5595264 126.877
Debug: 36.6027 % 5596416 126.903
Debug: 36.6102 % 5597568 126.929
Debug: 36.6177 % 5598720 126.955
Debug: 36.6253 % 5599872 126.981
Debug: 36.6328 % 5601024 127.007
Debug: 36.6403 % 5602176 127.033
Sebastian Jennen
@zebastian
I dont have a windows machine right now. Can you test the build here? https://ci.appveyor.com/project/zebastian/mandelbulber2-s84yl/build/job/10sh78dvcw9suvss/artifacts
Krzysztof Marczak
@buddhi1980
Ok. I will try to test it. But I need to have all necesary DLLs
Sebastian Jennen
@zebastian
should be all inside the zip, except for the vc redistributable https://www.microsoft.com/de-de/download/details.aspx?id=48145 Thanks a lot!
Krzysztof Marczak
@buddhi1980
QtMultimedia.dll, DLLs from plugins/audio, plugings/mediaservices
Sebastian Jennen
@zebastian
oh, yes, forgot about those...
Krzysztof Marczak
@buddhi1980
Another question is if we will be able to build win64 version
Sebastian Jennen
@zebastian
yes, win64 also builds, see here overview of current build status: https://ci.appveyor.com/project/zebastian/mandelbulber2-s84yl
Krzysztof Marczak
@buddhi1980
OK
Sebastian Jennen
@zebastian
just added missing QtMultimedia.dll, DLLs from plugins/audio, plugings/mediaservices to appveyor, but will take some time, for the next build
Sebastian Jennen
@zebastian
next build running, 64bit version should be ready in ~15 minutes
Krzysztof Marczak
@buddhi1980
thanks
Sebastian Jennen
@zebastian
filepath was wrong, plugings/mediaservices -> plugings/mediaservice, needed restart...
Sebastian Jennen
@zebastian
i also added you as an collaborator to appveyor, so you should have full control over the ci. (you will just need to use the github login).
Krzysztof Marczak
@buddhi1980
great
Krzysztof Marczak
@buddhi1980
I'm switching to Win10 and staring testing
Sebastian Jennen
@zebastian
cool, i am curious if this will work.
Krzysztof Marczak
@buddhi1980
The same problem PID: 8952, time: 53.445, Warning: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.audiodecode" (:0, PID: 8952, time: 53.483, Debug: error QAudioDecoder::ServiceMissingError
Krzysztof Marczak
@buddhi1980
But what is good, that both x32 and x64 versions launches properly under Windows. Tomorrow I will start with libsndfile to go forward with new animation features. It's better to have WAV format support than to have nothing. Under linux we can still use QAudioDecoder
Sebastian Jennen
@zebastian
too bad, i thought this may fix the issue.
Sebastian Jennen
@zebastian
libsndfile looks good, though mp3 support is missing.
we should probably add a HOWTO for new foreign libraries / qt libraries. So we keep all scripts up to date...
Krzysztof Marczak
@buddhi1980
Yes, you are right. If we go with this library we need to update setup-cross-compile script
About mp3 decoding I'm still confused what to do. I worry about patents.
Sebastian Jennen
@zebastian
IMHO: i think there is no good way, to directly compile it into the program.
Only reasonable solution was through backend loading of the qt framework. But thats just not working. :(
mclarekin
@mclarekin
I know very little about mp3, but I use Lame MP3 encoder
Sebastian Jennen
@zebastian
@buddhi1980 can you run coverity again? The last issue had been solved in the code.
Krzysztof Marczak
@buddhi1980
The problem is, the coverity tool dorsn't work properly with Qt 5.7. I have already reported the problem to Coverity, because cov-build passes some macro definitions (e.g. -fPIC flags) to the code which are actually not compatible with Qt. Few days ago came up another problem, which is much worse. cov-built toll doesn't work with gcc 6.2. New gcc introduced some changes, which are critical. Actually I also cannot compile mandelbulber with clang compiler.
For coverity tools I'm going to use Ubuntu, which still has older version of gcc
Sebastian Jennen
@zebastian

I can reproduce the clang issue. When openmp is on clang fails with ^

<scratch space>:156:6: note: expanded from here
omp declare simd notinbranch
^
which is an openmp directive from gcc 6.2 which is not yet available in my clangversion.

when you disable openmp you should be able to build
Krzysztof Marczak
@buddhi1980
I have finally run coverity-scan under Ubuntu. There is gcc 5.2, so there was no issues
Sebastian Jennen
@zebastian
https://ci.appveyor.com/project/zebastian/mandelbulber2-s84yl/build/job/t5t44qr23djgnji6 can anyone of you reproduce this issue with runnning mandelbulber --test on windows?
Krzysztof Marczak
@buddhi1980
I tried to test it, but appveyor didn't produce any artifacts.
Sebastian Jennen
@zebastian
...because appveyor tried to run the test on its own, failed, and did not export the artifact :D. I deactivated the test again in latest commit, should be available in 30-60 minutes here: https://ci.appveyor.com/project/zebastian/mandelbulber2-s84yl
Sebastian Jennen
@zebastian
oh no, msvc (again) wont compile.
(ClCompile target) -> C:\projects\mandelbulber2-s84yl\mandelbulber2\src\audio_track.cpp(207): error C2131: expression did not evaluate to a constant [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj] C:\projects\mandelbulber2-s84yl\mandelbulber2\src\audio_track.cpp(210): error C3863: array type 'double [fftSize*]' is not assignable [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj] C:\projects\mandelbulber2-s84yl\mandelbulber2\src\audio_track.cpp(211): error C3863: array type 'double [fftSize*]' is not assignable [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj] C:\projects\mandelbulber2-s84yl\mandelbulber2\src\audio_track.cpp(222): error C2440: 'initializing': cannot convert from 'double [fftSize*]' to 'double' [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj] C:\projects\mandelbulber2-s84yl\mandelbulber2\src\audio_track.cpp(223): error C2440: 'initializing': cannot convert from 'double [fftSize*]' to 'double' [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj] 770 Warning(s) 5 Error(s)
thats inside the calculateFFT in the new cAudioTrack:
this line fails to compile double fftData[fftSize * 2];
since fftSize is not recognizable as a constant expression
msvc needs it as a constant, or the array has to be dynamically allocated with new
http://stackoverflow.com/questions/33423502/expression-did-not-evaluate-to-a-constant-c
maybe best to always use the constant cAudioFFTdata::fftSize?
Krzysztof Marczak
@buddhi1980
I have just changed that to cAudioFFTdata::fftSize. Let see if the program will be compiled
Sebastian Jennen
@zebastian
thanks
Krzysztof Marczak
@buddhi1980
mandelbulber --test doesn't work at all under win10
but the aplication starts properly with gui and NetRender can be used with this compilation
however program is no so stable. Hangs sometimes when material is edited (probably problems with threads) and crashed one time after rendering
it doesn't happen when I use mingw version
Sebastian Jennen
@zebastian
hmm, do you know some way to get a stack trace?
Krzysztof Marczak
@buddhi1980
I'm going to install MSVS Express. Then I will get debugging capabilities
Krzysztof Marczak
@buddhi1980
it will take 14 gigabytes on disk :confused:
Sebastian Jennen
@zebastian
Quality has a size :P