Hi all, another day, another attempt at this using a different machine in case I had something wonky installed on the other system.
On a new laptop that has no other development software already installed on it this time around, I've installed Reason Recon, Python 3.9.5, and Visual Studio 2019 with Visual C++ 2019. I fired up VS2019 and found the "Visual Studio command prompt" (in case it is different than running commands from cmd or Powershell), navigated to the VerySimpleSampler directory in the SDK and ran the command `python .\build45.py local45 Testing`. The process seemed to get one step further than what I reported yesterday on the other system: Voice.cpp seems to build successfully now, but the very next item VoicePool.cpp is throwing errors. Here is another round of output for folks in case something stands out. Again, any help is greatly appreciated in getting me past the 'get the environment to work' stage of development.
Code: Select all
PS C:\Users\Public\Documents\ReasonStudios\JukeboxSDK_4.2.0\SDK\Examples\VerySimpleSampler> python .\build45.py local45 Testing
Building JukeboxExports.cpp
Building SampleSound.cpp
Building VerySimpleSampler.cpp
Building Voice.cpp
Building VoicePool.cpp
Creating library Intermediate-llvm\Testing\64\dependencytest.lib and object Intermediate-llvm\Testing\64\dependencytest.exp
Creating library Intermediate-llvm\Testing\64\VerySimpleSampler64.lib and object Intermediate-llvm\Testing\64\VerySimpleSampler64.exp
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol pow referenced in function _Z23FreqFactorFromSemiNotesd
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol log referenced in function log2
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol powf referenced in function exp10f
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol logf referenced in function log2f
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol cos referenced in function ccos
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol sin referenced in function ccos
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol exp referenced in function _cchsh
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol cosf referenced in function ccosf
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol sinf referenced in function ccosf
VerySimpleSampler_static_libraryInst.obj : error LNK2019: unresolved external symbol expf referenced in function _cchshf
RackExtWrapperLib.lib(WinRuntimeInit.obj) : error LNK2019: unresolved external symbol __security_init_cookie referenced in function DSPMain
RackExtWrapperLib.lib(WinRuntimeInit.obj) : error LNK2019: unresolved external symbol __imp_DisableThreadLibraryCalls referenced in function DSPMain
RackExtWrapperLib.lib(WinRuntimeInit.obj) : error LNK2019: unresolved external symbol _CRT_INIT referenced in function DSPMain
clang_rt.builtins-x86_64.lib(muldc3.obj) : error LNK2019: unresolved external symbol _finite referenced in function __muldc3
clang_rt.builtins-x86_64.lib(mulsc3.obj) : error LNK2001: unresolved external symbol _finite
clang_rt.builtins-x86_64.lib(muldc3.obj) : error LNK2019: unresolved external symbol _isnan referenced in function __muldc3
clang_rt.builtins-x86_64.lib(mulsc3.obj) : error LNK2001: unresolved external symbol _isnan
C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x86\kernel32.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x86\uuid.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\lib\x86\LIBCMT.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
Intermediate-llvm\Testing\64\VerySimpleSampler64.dll : fatal error LNK1120: 15 unresolved externals
Build ERROR!
Traceback (most recent call last):
File "C:\Users\Public\Documents\ReasonStudios\JukeboxSDK_4.2.0\SDK\Tools\Build\build.py", line 1205, in doBuild
local45(re_name, platform, configuration, OTHER_COMPILER_FLAGS, productID)
File "C:\Users\Public\Documents\ReasonStudios\JukeboxSDK_4.2.0\SDK\Tools\Build\build.py", line 821, in local45
build45DLL(rackExtensionName, intermediate45File, builtLibraryName, intermediateDir, platform, configuration)
File "C:\Users\Public\Documents\ReasonStudios\JukeboxSDK_4.2.0\SDK\Tools\Build\build.py", line 713, in build45DLL
runCommand(commandLine)
File "C:\Users\Public\Documents\ReasonStudios\JukeboxSDK_4.2.0\SDK\Tools\Build\build.py", line 371, in runCommand
subprocess.check_call(commandLine)
File "C:\Users\danst\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['link', '/NOLOGO', '/DLL', '/ENTRY:DSPMain', '/LIBPATH:..\\..\\Tools\\Libs\\VisualStudio\\x64\\Testing', '/INCREMENTAL:NO', '/DEBUG', '@..\\..\\Tools\\Libs\\RackExtensionWrapper\\x64\\WinDLLExports.txt', '/NODEFAULTLIB:libucrtd', '/NODEFAULTLIB:ucrt', '/NODEFAULTLIB:ucrtd', '/NODEFAULTLIB:libvcruntimed', '/NODEFAULTLIB:vcruntime', '/NODEFAULTLIB:vcruntimed', '/NODEFAULTLIB:libcmtd', '/NODEFAULTLIB:msvcrt', '/NODEFAULTLIB:msvcrtd', '/NODEFAULTLIB:msvcmrt', '/NODEFAULTLIB:msvcmrtd', '/NODEFAULTLIB:msvcurt', '/NODEFAULTLIB:msvcurtd', '/NODEFAULTLIB:libcpmt', '/NODEFAULTLIB:msvcprt', '/NODEFAULTLIB:libcpmtd', '/NODEFAULTLIB:msvcprtd', 'kernel32.lib', '/OUT:Intermediate-llvm\\Testing\\64\\VerySimpleSampler64.dll', 'Intermediate-llvm\\Testing\\64\\VerySimpleSampler_static_libraryInst.obj', '..\\..\\Tools\\Libs\\RackExtensionWrapper\\x64\\Deployment\\RackExtWrapperLib.lib', '..\\..\\Tools\\LLVM\\Win\\lib\\clang_rt.builtins-x86_64.lib', 'Intermediate-llvm\\Testing\\64\\wrapperlibc.obj']' returned non-zero exit status 1120.