Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Unresolved externals (LCS 4.07.0)  (Read 1572 times)

Shiori

  • Escaped Lunatic
    • View Profile
Unresolved externals (LCS 4.07.0)
« 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
« Last Edit: March 05, 2014, 05:47:13 pm by Shiori »
Logged

Carlos Gustavos

  • Bay Watcher
    • View Profile
Re: Unresolved externals (LCS 4.07.0)
« Reply #1 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.
Logged

Shiori

  • Escaped Lunatic
    • View Profile
Re: Unresolved externals (LCS 4.07.0)
« Reply #2 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!
« Last Edit: March 05, 2014, 06:07:53 pm by Shiori »
Logged

Fungus

  • Bay Watcher
    • View Profile
Re: Unresolved externals (LCS 4.07.0)
« Reply #3 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).
Logged