Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] Tier 2 link error only for release.

Years of Service
User Offline
Joined: 9th Feb 2017
Posted: 6th Jan 2022 12:32

i try with Visual Studio 2019 and 2022 all was fine with Debug.
But with Release linker make this error LNK1181 unbale to open OpenGL32.lib (opengl32.lib is in path and i also try to copy it in my project folder)

Any suggestion ?

The author of this post has marked a post as an answer.

Go to answer

AGK Tool Maker
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 7th Jan 2022 06:04 Edited at: 7th Jan 2022 06:06
This post has been marked by the post author as the answer.
make sure the path to the library's folders is set in project settings

Linker>>General>>Additional Library Directories



These paths should be set by default in the project template, have you made changes to the template?

are you using the default Tier2 package?

if you compiled from the repo you need to compile all platforms and configurations, go menu Build>>Batch Build and check select all, and build

if you added a platform (x86/x64) then this can cause headaches, make sure correct linker paths are set for each platform (as above) and check environment variables in VC++ Directories


Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee


Login to view attachments
Years of Service
User Offline
Joined: 9th Feb 2017
Posted: 7th Jan 2022 09:04
Thanks )

Was "Library Directories" that was wrong :WindowsSdk_71A_LibraryPath_x64 is outdated i replaced with correct path "WindowsSDK_LibraryPath_x64" and now all compile/link fine.

Login to post a reply

Server time is: 2023-12-09 08:50:48
Your offset time is: 2023-12-09 08:50:48