I recently beginning with RE developer started pack, but seems it is pretty well documented although I have troubles building through python.
When I run the command line
Code: Select all
python build45.py local45 Testing
Code: Select all
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.22000.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.22000.0\\um\x86\uuid.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\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 "...\SDKRootFolder\SDK\Tools\Build\build.py", line 1207, in doBuild
local45(re_name, platform, configuration, OTHER_COMPILER_FLAGS, productID)
File "...\SDKRootFolder\SDK\Tools\Build\build.py", line 823, in local45
build45DLL(rackExtensionName, intermediate45File, builtLibraryName, intermediateDir, platform, configuration)
File "...\SDKRootFolder\SDK\Tools\Build\build.py", line 715, in build45DLL
runCommand(commandLine)
File "...\SDKRootFolder\SDK\Tools\Build\build.py", line 371, in runCommand
subprocess.check_call(commandLine)
File "C:\Python311\Lib\subprocess.py", line 413, 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.
Also, I try some experiments to find other ways to build it. I try using git, powershield and cdm in admin mode with similar results. I really enthusiastic about coding but seems I need someone with more experience to solve it.