Author Topic: Compilation Error Help  (Read 3045 times)

Offline Really Weird Person

  • Crazy artist
  • ****
  • Posts: 818
  • I love Daisy (デイジー)!
  • Operating System: Windows 8 Pro x64
Compilation Error Help
« 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.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,528
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Re: Compilation Error Help
« Reply #1 on: August 25, 2011, 10:41:56 »
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Really Weird Person

  • Crazy artist
  • ****
  • Posts: 818
  • I love Daisy (デイジー)!
  • Operating System: Windows 8 Pro x64
Re: Compilation Error Help
« Reply #2 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.

Offline jmkz

  • Workaholic artist
  • ***
  • Posts: 198
  • Gender: Male
  • Operating System: Windows 7 x64
Re: Compilation Error Help
« Reply #3 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

Hashes: release_hashes.txt

Version info: version.txt

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

mptrack.exe

In the case if needed: More build related links
« Last Edit: August 26, 2011, 07:06:30 by jmkz »

Offline jmkz

  • Workaholic artist
  • ***
  • Posts: 198
  • Gender: Male
  • Operating System: Windows 7 x64
Re: Compilation Error Help
« Reply #4 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.

Offline Really Weird Person

  • Crazy artist
  • ****
  • Posts: 818
  • I love Daisy (デイジー)!
  • Operating System: Windows 8 Pro x64
Re: Compilation Error Help
« Reply #5 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.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,528
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Re: Compilation Error Help
« Reply #6 on: November 18, 2011, 22:51:31 »
Code should compile again on VS2008.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.