ModPlug Central

OpenMPT => Development Corner => Topic started by: Really Weird Person on August 24, 2011, 23:13:05

Title: Compilation Error Help
Post by: Really Weird Person on August 24, 2011, 23:13:05
I downloaded and imported the code into Visual Studio not too long ago and attempting to build the MPTRACK08 solution yields the following error (twice).
error C3861: 'PathIsDirectory': identifier not found (ExceptionHandler.h, lines 74 and 79)
How do I fix this? Do I need a new copy of that file? Perhaps it somehow got corrupted during the installation of the Windows SDK.
Title: Re: Compilation Error Help
Post by: Saga Musix on August 25, 2011, 10:41:56
wait or fix it yourself (http://forum.openmpt.org/index.php?topic=4520.msg37066#msg37066).
Title: Re: Compilation Error Help
Post by: Really Weird Person on August 25, 2011, 12:24:05
Hmmm...I did see that thread, but I didn't think that it was dealing with that error, but perhaps that deals with code errors in general. I will redownload the code then.
Title: Re: Compilation Error Help
Post by: jmkz on August 26, 2011, 06:55:34
I'll try to mantain development builds of latest revisions compiled with Visual Studio 2008 (recommended by me if you use Windows XP [v5-] and older), will be updated at 6AM GMT in the most cases. This is for testing the latest improvements and fixes of OpenMPT.

Release build:

mptrack.exe (http://dl.dropbox.com/u/35217013/mptrack/devel/VS2008/release/mptrack.exe)

Hashes: release_hashes.txt (http://dl.dropbox.com/u/35217013/mptrack/devel/VS2008/release/release_hashes.txt)

Version info: version.txt (http://dl.dropbox.com/u/35217013/mptrack/devel/VS2008/release/version.txt)

If you have Windows Vista (v6+) or later, use the official development builds (compiled with VS2010):

mptrack.exe (http://sagagames.de/stuff/mptrack.exe)

In the case if needed: More build related links (https://sites.google.com/site/jmkzproductions/dropbox/openmpt)
Title: Re: Compilation Error Help
Post by: jmkz on October 06, 2011, 05:13:43
Just a note: Compiled versions with VS2008 by me will be outdated for few days, my main PC is under service manteinance.
Title: Re: Compilation Error Help
Post by: Really Weird Person on November 14, 2011, 00:02:49
It seems that when I try to compile the newest version of the code (revision 1135), I receive the following error. "fatal error C1083: Cannot open source file '...\soundlib\MIDIMacros.cpp': No such file or directory."
I saw that one other time when downloading the code. In both cases, I downloaded the code again and the issue was not resolved. It seems that, when the code is downloaded, that file is somehow missed, thus yielding that error.
Title: Re: Compilation Error Help
Post by: Saga Musix on November 18, 2011, 22:51:31
Code should compile again on VS2008.