Bay 12 Games Forum

Other Projects => Curses => Topic started by: Shiori on March 05, 2014, 09:12:22 am

Title: Unresolved externals (LCS 4.07.0)
Post by: Shiori on March 05, 2014, 09:12:22 am
Hi guys,

I tried to compile the current HEAD revision and get lots of unresolved externals, for both, Debug and Release output (MSVS C++ 2010 Express)..

Spoiler (click to show/hide)

Any STD library missing? Help on that would be appreciated.

Thanks,
Shiori
Title: Re: Unresolved externals (LCS 4.07.0)
Post by: Carlos Gustavos on March 05, 2014, 11:57:15 am
Some files had not been added to the project. I've updated it now.

Curiously, the Debug build crashes on start for me. I think I've found why, but I don't generally use Windows and I don't know if it's a problem for anyone else.
Title: Re: Unresolved externals (LCS 4.07.0)
Post by: Shiori on March 05, 2014, 03:15:42 pm
Hi Carlos, thank you, it does compile without the unresolved externals errors now and yes, the debug build crashes when reading sitemap.txt, this is caused by the readLine method in configfile.cpp. The release has these errors, too, it just does not crash from assertions. I've added checks to the method that prevent it from accessing array fields out of bounds in the code I am using.

Thanks again for resolving the dependency issues!
Title: Re: Unresolved externals (LCS 4.07.0)
Post by: Fungus on March 21, 2014, 07:41:42 pm
Aha, this has been my problem too I think, Shiori. What did you change? I'm pretty new to C++, I was hoping to learn the ropes with LCS and make a few changes, such as combining nightmare mode with multi-city mode, if they're compatible (they sure look it).