
Hi,
For example from trueSky 4.3 not working, after installing โTrueSky_4.3.5aac6daae_x64_v142.exeโ
when I try to run : Simul/build/bin/Debug/SimulOpenGLSample_MD.exe and
getting : โThe procedure entry point ??1CommandLineParams@crossplatform@simul@@QEAA@XZ could not be located in the dynamic link library โฆโ error.
Actually I am trying to implement it in opengl project with visual studio and getting similar error.
Hi Narinder,
I have confirmed your crash with SimulOpenGLSample_MD.exe. I will need to investigate this further.
I was able to run SimulOpenGLSample_MT.exe and so I was wondering if you are able to run that also. If so, you could use the static libraries for building your application, whilst we investigate this and get a solution to you.
I hope this helps you
Best Wishes,
Andrew.
Thank you for assistance, So Can I build OpenGLSample.cpp with static libraries ?
I tried to build OpenGLSample.cpp with static libraries, but got errors.
Build startedโฆ
1>โโ Build started: Project: zecooEngine, Configuration: Debug x64 โโ
1>SimulOpenGL_MTd.lib(glad.obj) : error LNK2005: gladLoadGL already defined in glad.obj
1>SimulOpenGL_MTd.lib(glad.obj) : error LNK2005: gladLoadGLLoader already defined in glad.obj
1>SimulOpenGL_MTd.lib(Effect.obj) : error LNK2019: unresolved external symbol __imp_wglGetProcAddress referenced in function โpublic: void __cdecl simul::opengl::EffectPass::SetTextureHandles(struct simul::crossplatform::DeviceContext &)โ (?SetTextureHandles@EffectPass@opengl@simul@@QEAAXAEAUDeviceContext@crossplatform@3@@Z)
1>SimulOpenGL_MTd.lib(DisplaySurface.obj) : error LNK2019: unresolved external symbol __imp_wglDeleteContext referenced in function โpublic: virtual void __cdecl simul::opengl::DisplaySurface::InvalidateDeviceObjects(void)โ (?InvalidateDeviceObjects@DisplaySurface@opengl@simul@@UEAAXXZ)
1>SimulOpenGL_MTd.lib(DisplaySurface.obj) : error LNK2019: unresolved external symbol __imp_wglGetCurrentContext referenced in function โpublic: virtual void __cdecl simul::opengl::DisplaySurface::RestoreDeviceObjects(struct HWND__ *,class simul::crossplatform::RenderPlatform *,bool,int,int,enum simul::crossplatform::PixelFormat)โ (?RestoreDeviceObjects@DisplaySurface@opengl@simul@@UEAAXPEAUHWND__@@PEAVRenderPlatform@crossplatform@3@_NHHW4PixelFormat@63@@Z)
1>SimulOpenGL_MTd.lib(DisplaySurface.obj) : error LNK2019: unresolved external symbol __imp_wglGetCurrentDC referenced in function โpublic: virtual void __cdecl simul::opengl::DisplaySurface::RestoreDeviceObjects(struct HWND__ *,class simul::crossplatform::RenderPlatform *,bool,int,int,enum simul::crossplatform::PixelFormat)โ (?RestoreDeviceObjects@DisplaySurface@opengl@simul@@UEAAXPEAUHWND__@@PEAVRenderPlatform@crossplatform@3@_NHHW4PixelFormat@63@@Z)
1>SimulOpenGL_MTd.lib(DisplaySurface.obj) : error LNK2019: unresolved external symbol __imp_wglMakeCurrent referenced in function โpublic: virtual void __cdecl simul::opengl::DisplaySurface::RestoreDeviceObjects(struct HWND__ *,class simul::crossplatform::RenderPlatform *,bool,int,int,enum simul::crossplatform::PixelFormat)โ (?RestoreDeviceObjects@DisplaySurface@opengl@simul@@UEAAXPEAUHWND__@@PEAVRenderPlatform@crossplatform@3@_NHHW4PixelFormat@63@@Z)
1>LIBCMTD.lib(exe_main.obj) : error LNK2019: unresolved external symbol main referenced in function โint __cdecl invoke_main(void)โ (?invoke_main@@YAHXZ)
1>E:\Projects\Projects_Chitkara\zecooEngine\x64\Debug\zecooEngine.exe : fatal error LNK1120: 6 unresolved externals
1>Done building project โzecooEngine.vcxprojโ โ FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========