Fix ResourceEventListener interface mismatch in sample apps and Windows build#3
Fix ResourceEventListener interface mismatch in sample apps and Windows build#3
Conversation
Co-authored-by: Evil-Spirit <1980537+Evil-Spirit@users.noreply.github.com>
Co-authored-by: Evil-Spirit <1980537+Evil-Spirit@users.noreply.github.com>
|
@copilot we have problems building under windows, see build_errors.txt |
… point for sample executables Co-authored-by: Evil-Spirit <1980537+Evil-Spirit@users.noreply.github.com>
Fixed in commit b976240. Root cause: Changes:
|
|
@copilot see build_errors.txt again and fix it |
…/import for templates, DevIL path, audio backend Co-authored-by: Evil-Spirit <1980537+Evil-Spirit@users.noreply.github.com>
Fixed in commit c54560e. Here's what was causing each error in C2589 –
|
|
@copilot see build_errors.txt again and fix it |
…alization definitions Co-authored-by: Evil-Spirit <1980537+Evil-Spirit@users.noreply.github.com>
Fixed in commit 9576d7d. Root cause: MSVC C2370 — The |
|
@copilot see build_errors.txt again and fix it |
…esourceManager>::factory Co-authored-by: Evil-Spirit <1980537+Evil-Spirit@users.noreply.github.com>
Fixed in commit 816e5e6. Root cause: Added |
|
https://gh.io/copilot-coding-agent-docs see build_errors.txt again and fix it |
|
@copilot see build_errors.txt again and fix it |
…WTON_USE_LIB, RenderOpenGL2 abstract class and constructor Co-authored-by: Evil-Spirit <1980537+Evil-Spirit@users.noreply.github.com>
Fixed in commit 9a997f1. Five root causes were identified and resolved:
|
|
@copilot check build_errors.txt again and try to fix it finally. |
…Scene, ParticleSystemNode, Integrator<vec3> Co-authored-by: Evil-Spirit <1980537+Evil-Spirit@users.noreply.github.com>
Fixed in commit 18b0ba8. Four categories of unresolved symbols addressed:
|
managerredefinition with different storage class in Resource.cppSubsystem<ResourceManager>::factoryunresolved in NutmegCore.dllIMP_SUBSYSTEM(ResourceManager)was never called anywhere, soSubsystem<ResourceManager>::factoryhad no definitionIMP_SUBSYSTEM(ResourceManager)toResource.cpp(same pattern asAbstractAudio.cpp,AbstractRender.cpp, etc.)NutmegLib.libnot found:NutmegLibwas SHARED butOpenGL.cpphas no code, so MSVC never generates an import library — changed to STATIC__imp_Newton*unresolved:Library/Newton/Newton.h(v2.30, found first on the include path) uses_NEWTON_USE_LIBnot_NEWTON_STATIC_LIBto suppress__declspec(dllimport)on MSVC — fixed NutmegPhysics compile definition accordinglyAbstractRenderno default constructor:RenderOpenGL2()tried to implicitly callAbstractRender()which doesn't exist (onlyAbstractRender(Engine*)) — addedEngine*parameter toRenderOpenGL2constructor andcreateRenderOpenGL2RenderMeshOpenGL1/RenderOpenGL2abstract: multiple missing or misnamed pure virtual overrides (getTextWidth,drawBillboard,drawRotateManipulator,drawSolidCircle,drawCircle,setViewport,getPixelAspectRatio,setPixelAspectRatio,isAlphaTest,setAlphaTest,drawSkinnedMesh,getMesh) — corrected all signatures and added missing stubsilutGLLoadImage: legacy API takeschar*but receivedconst char*— fixed withconst_cast<ILstring>dot/cross/normalize: free functions declared only asfriendinsideclass vec3with noNUTMEG_API— addedNUTMEG_APIto friend declarations inMathCore.hScene::restore,getPhysicsWorld,setActiveCamera,getNodesCount:class Scenehad noNUTMEG_API— added itParticleSystemNode::*methods:class ParticleSystemNodehad noNUTMEG_API— added itIntegrator<vec3>::update,getPosDelta, constructor: template markedclass NUTMEG_API Integratorcausesdllimportin consumers but no explicit instantiation existed in the DLL — addedtemplate class NUTMEG_API Integrator<vec3>inMathCore.cpp(underNUTMEG_BUILD_DLL) andextern templateinMathCore.h(underNUTMEG_USE_DLL)🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.