ange-yaghi / scs-2d-demo

Demo for the Simple 2D Constraint Solver.
91 stars 16 forks source link

Project Build Issue #3

Open wingandstache opened 10 months ago

wingandstache commented 10 months ago

I have been attempting to implement the constrained dynamics paper in python and for the life of me cannot understand how the derivative of the Jacobian and the velocity matrix are multiplied together in equation 11 as they seem to be the wrong size. To better understand it, I'm going to attempt to debug the demo to see how this is done. I have gotten all the way to building the project, but I have gotten to this error when I actually attempt to run the project. Any ideas? It could be that I am just using Visual Studio wrong as this is my first time using it.

1>------ Build started: Project: scs-2d-demo, Configuration: Debug x64 ------ 2>------ Build started: Project: delta-basic-demo, Configuration: Debug x64 ------ 2>delta-core.lib(yds_opengl_device.obj) : error LNK2019: unresolved external symbol SDL_GetError referenced in function "public: virtual enum ysError cdecl ysOpenGLDevice::CreateTexture(class ysTexture ,char const )" (?CreateTexture@ysOpenGLDevice@@UEAA?AW4ysError@@PEAPEAVysTexture@@PEBD@Z) 2>delta-core.lib(yds_opengl_device.obj) : error LNK2019: unresolved external symbol SDL_GetRGB referenced in function "public: virtual enum ysError __cdecl ysOpenGLDevice::CreateTexture(class ysTexture ,char const )" (?CreateTexture@ysOpenGLDevice@@UEAA?AW4ysError@@PEAPEAVysTexture@@PEBD@Z) 2>delta-core.lib(yds_opengl_device.obj) : error LNK2019: unresolved external symbol SDL_GetRGBA referenced in function "public: virtual enum ysError cdecl ysOpenGLDevice::CreateTexture(class ysTexture ,char const )" (?CreateTexture@ysOpenGLDevice@@UEAA?AW4ysError@@PEAPEAVysTexture@@PEBD@Z) 2>delta-core.lib(yds_opengl_device.obj) : error LNK2019: unresolved external symbol SDL_FreeSurface referenced in function "public: virtual enum ysError __cdecl ysOpenGLDevice::CreateTexture(class ysTexture ,char const )" (?CreateTexture@ysOpenGLDevice@@UEAA?AW4ysError@@PEAPEAVysTexture@@PEBD@Z) 2>C:\Program Files\SDL2\lib\x86\SDL2.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64' 2>C:\Users\wings\source\repos\scs-2d-demo\build\dependencies\submodules\delta-studio\demos\delta-basic-demo\Debug\delta-basic-demo.exe : fatal error LNK1120: 4 unresolved externals 1>delta-core.lib(yds_opengl_device.obj) : error LNK2019: unresolved external symbol SDL_GetError referenced in function "public: virtual enum ysError cdecl ysOpenGLDevice::CreateTexture(class ysTexture ,char const )" (?CreateTexture@ysOpenGLDevice@@UEAA?AW4ysError@@PEAPEAVysTexture@@PEBD@Z) 1>delta-core.lib(yds_opengl_device.obj) : error LNK2019: unresolved external symbol SDL_GetRGB referenced in function "public: virtual enum ysError __cdecl ysOpenGLDevice::CreateTexture(class ysTexture ,char const )" (?CreateTexture@ysOpenGLDevice@@UEAA?AW4ysError@@PEAPEAVysTexture@@PEBD@Z) 1>delta-core.lib(yds_opengl_device.obj) : error LNK2019: unresolved external symbol SDL_GetRGBA referenced in function "public: virtual enum ysError cdecl ysOpenGLDevice::CreateTexture(class ysTexture ,char const )" (?CreateTexture@ysOpenGLDevice@@UEAA?AW4ysError@@PEAPEAVysTexture@@PEBD@Z) 1>delta-core.lib(yds_opengl_device.obj) : error LNK2019: unresolved external symbol SDL_FreeSurface referenced in function "public: virtual enum ysError __cdecl ysOpenGLDevice::CreateTexture(class ysTexture ,char const )" (?CreateTexture@ysOpenGLDevice@@UEAA?AW4ysError@@PEAPEAVysTexture@@PEBD@Z) 1>C:\Program Files\SDL2\lib\x86\SDL2.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64' 1>C:\Users\wings\source\repos\scs-2d-demo\build\Debug\scs-2d-demo.exe : fatal error LNK1120: 4 unresolved externals 2>Done building project "delta-basic-demo.vcxproj" -- FAILED. 1>Done building project "scs-2d-demo.vcxproj" -- FAILED. ========== Build: 0 succeeded, 2 failed, 11 up-to-date, 0 skipped ========== ========== Build completed at 9:09 PM and took 00.933 seconds ==========