These are chat archives for buddhi1980/mandelbulber2

7th
Dec 2016
Krzysztof Marczak
@buddhi1980
Dec 07 2016 17:15
I tried to test it, but appveyor didn't produce any artifacts.
Sebastian Jennen
@zebastian
Dec 07 2016 18:25
...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
Dec 07 2016 18:46
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
Dec 07 2016 19:21
I have just changed that to cAudioFFTdata::fftSize. Let see if the program will be compiled
Sebastian Jennen
@zebastian
Dec 07 2016 19:24
thanks
Krzysztof Marczak
@buddhi1980
Dec 07 2016 19:51
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
Dec 07 2016 20:05
hmm, do you know some way to get a stack trace?
Krzysztof Marczak
@buddhi1980
Dec 07 2016 20:07
I'm going to install MSVS Express. Then I will get debugging capabilities
Krzysztof Marczak
@buddhi1980
Dec 07 2016 20:26
it will take 14 gigabytes on disk :confused:
Sebastian Jennen
@zebastian
Dec 07 2016 20:58
Quality has a size :P