Closed DanN1997 closed 1 year ago
Hi all,
I am trying to compile on windows but keep getting the same three errors when I run cmake --build . --config Release
cmake --build . --config Release
They are:
mc.nn_tilde.obj : error LNK2001: unresolved external symbol __imp___tls_index_?init@?1??lazy_init_num_threads@internal@ at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\mc.nn_tilde\mc.nn_tilde.vcxproj] backend.lib(backend.obj) : error LNK2001: unresolved external symbol __imp___tls_index_?init@?1??lazy_init_num_threads@ internal@at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\mc.nn_tilde\mc.nn_tilde.vcxproj] mc.nn_tilde.obj : error LNK2001: unresolved external symbol __imp___tls_offset_?init@?1??lazy_init_num_threads@internal @at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\mc.nn_tilde\mc.nn_tilde.vcxproj] backend.lib(backend.obj) : error LNK2001: unresolved external symbol __imp___tls_offset_?init@?1??lazy_init_num_threads @internal@at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\mc.nn_tilde\mc.nn_tilde.vcxproj] C:\Users\dan_n\nn_tilde\src\externals\mc.nn~.mxe64 : fatal error LNK1120: 2 unresolved externals [C:\Users\dan_n\nn_til de\build\frontend\maxmsp\mc.nn_tilde\mc.nn_tilde.vcxproj]
mcs.nn_tilde.obj : error LNK2001: unresolved external symbol __imp___tls_index_?init@?1??lazy_init_num_threads@internal @at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\mcs.nn_tilde\mcs.nn_tilde.vcxproj] backend.lib(backend.obj) : error LNK2001: unresolved external symbol __imp___tls_index_?init@?1??lazy_init_num_threads@ internal@at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\mcs.nn_tilde\mcs.nn_tilde.vcxproj] mcs.nn_tilde.obj : error LNK2001: unresolved external symbol __imp___tls_offset_?init@?1??lazy_init_num_threads@interna l@at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\mcs.nn_tilde\mcs.nn_tilde.vcxproj] backend.lib(backend.obj) : error LNK2001: unresolved external symbol __imp___tls_offset_?init@?1??lazy_init_num_threads @internal@at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\mcs.nn_tilde\mcs.nn_tilde.vcxproj] C:\Users\dan_n\nn_tilde\src\externals\mcs.nn~.mxe64 : fatal error LNK1120: 2 unresolved externals [C:\Users\dan_n\nn_ti lde\build\frontend\maxmsp\mcs.nn_tilde\mcs.nn_tilde.vcxproj]
nn_tilde.obj : error LNK2001: unresolved external symbol __imp___tls_index_?init@?1??lazy_init_num_threads@internal@at@ @YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\nn_tilde\nn_tilde.vcxproj] backend.lib(backend.obj) : error LNK2001: unresolved external symbol __imp___tls_index_?init@?1??lazy_init_num_threads@ internal@at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\nn_tilde\nn_tilde.vcxproj] nn_tilde.obj : error LNK2001: unresolved external symbol __imp___tls_offset_?init@?1??lazy_init_num_threads@internal@at @@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\nn_tilde\nn_tilde.vcxproj] backend.lib(backend.obj) : error LNK2001: unresolved external symbol __imp___tls_offset_?init@?1??lazy_init_num_threads @internal@at@@YAXXZ@4_NA [C:\Users\dan_n\nn_tilde\build\frontend\maxmsp\nn_tilde\nn_tilde.vcxproj] C:\Users\dan_n\nn_tilde\src\externals\nn~.mxe64 : fatal error LNK1120: 2 unresolved externals [C:\Users\dan_n\nn_tilde\ build\frontend\maxmsp\nn_tilde\nn_tilde.vcxproj]
I'm pretty sure I've done everything in the readme correctly, so I'm not sure why it's struggling to build these three objects.
Any help or advice would be greatly appreciated!
Thanks, Dan
seemed to be an issue with Visual studio - updated to 17.4 and it all worked https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#1743--visual-studio-2022-version-1743
Hi all,
I am trying to compile on windows but keep getting the same three errors when I run
cmake --build . --config Release
They are:
I'm pretty sure I've done everything in the readme correctly, so I'm not sure why it's struggling to build these three objects.
Any help or advice would be greatly appreciated!
Thanks, Dan