1
General / Re: Unable to use RSFML
« on: June 02, 2021, 06:32:51 pm »...Oh, I see. Thank you!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
error: linking with `link.exe` failed: exit code: 1120
= note: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30037\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\<me>\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib"
...
= note: libsfml-ef036890d6e5e265.rlib(sfml-ef036890d6e5e265.sfml.29hhr9o3-cgu.11.rcgu.o) : error LNK2019: unresolved external symbol sfRenderTexture_createWithSettings referenced in function _ZN4sfml8graphics14render_texture13RenderTexture13with_settings17hb4dc85121be46492E
C:\dev\<my-project>\target\debug\deps\<my-project>.exe : fatal error LNK1120: 1 unresolved externals
error: aborting due to previous error
...
libsfml-ef036890d6e5e265.rlib(sfml-ef036890d6e5e265.sfml.29hhr9o3-cgu.15.rcgu.o) : error LNK2019: unresolved external symbol sfRectangleShape_getSize referenced in function _ZN4sfml8graphics15rectangle_shape14RectangleShape4size17hc79499150836d7bcE
... [dozens of these lines, all for different "symbols" from SFML]
That makes me confident that my initial setup was a little bit more correct as it only gave this one missing symbol "sfRenderTexture_createWithSettings".