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.

Dark GDK / 'atls.lib' compiling error

Author
Message
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 30th Oct 2009 22:14
Well, for some reason, All my DarkGDK projects in MSVC9 won't compile, and I keep on getting this error:

1>LINK : fatal error LNK1104: cannot open file 'atls.lib'

I went to the MSDN Forums and they told me that I need to Professional Edition of Visual Studio. That cannot be the solution.

I re-downloaded the DarkGDK installer, and did a repair, nothing happened.

It must be DarkGDK because all the STL elements are working fine, and the MySQL C++ Connector is as well.

Any help is really appreciated.

http://twewy-fan.com/ <-- The first ever fansite for "The World Ends With You"
heyufool1
15
Years of Service
User Offline
Joined: 14th Feb 2009
Location: My quiet place
Posted: 30th Oct 2009 22:17 Edited at: 30th Oct 2009 22:30
Do all these steps and if done correctly it should compile correctly:

1. Right click your project and select "Properties"
2. Click on the "C/C++" drop down and select "Code Generation".
3. Change Runtime Library to "Multi-Threaded (/MT)"
4. Click on the "Linker" drop down (below the "C/C++" drop down) and select "Input"
5. Add "atls, msvcrt" to the "Ignore Specific Library" box.
6. Then click on System in the "Linker" drop down list and change SubSystem to "Windows".

That should be it to get a Dark GDK application to compile correctly. If it doesn't compile correctly then I have no clue what the problem could be... Good luck!

Your bedtime story is scaring everyone
If found my very own Fail!: http://cheezburger.com/View.aspx?aid=2712171776
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 30th Oct 2009 23:40 Edited at: 31st Oct 2009 04:02
Thank you, it works.

EDIT:

Okay, this may not be a problem with DarkGDK, but MSVC9.

When I call any functions from DarkGDK.h or mysql.h I get that stupid error (but If I don't call any functions, I don't get any error).

I did a Repair of MSVC9 today.

Does anyone know how I fix this problem? Do I need to get one of the paid versions of MSVS (I can get this free via DreamSpark, but I don't want the extra stuff it has).

http://twewy-fan.com/ <-- The first ever fansite for "The World Ends With You"

Login to post a reply

Server time is: 2024-10-01 16:31:57
Your offset time is: 2024-10-01 16:31:57