Pink Petal Games

Game Discussion => General Discussion & Download => Topic started by: Randomfish on May 22, 2018, 01:08:07 AM

Title: Issue with Custom build of WM
Post by: Randomfish on May 22, 2018, 01:08:07 AM
I'm trying to test out a custom build I made with Visual Studios using only the files provided with the source code download on the download page. However, when I go to debug the game, I get an error saying I'm missing files.

From what I can gather, I'm missing the following files:
ctype.h
assert.h
math.h
corecrt.hstddef.h
time.h
stdio.h

I am a total newb when it comes to coding, so I think I'm missing something that might be an easy fix. Is there something I didn't download? Or is it a problem with my code?

I just updated my copy of Visual Studios, so it's not that I need to update.
Title: Re: Issue with Custom build of WM
Post by: aevojoey on May 22, 2018, 09:16:35 PM
I'm trying to test out a custom build I made with Visual Studios using only the files provided with the source code download on the download page. However, when I go to debug the game, I get an error saying I'm missing files.

From what I can gather, I'm missing the following files:
ctype.h
assert.h
math.h
corecrt.hstddef.h
time.h
stdio.h

I am a total newb when it comes to coding, so I think I'm missing something that might be an easy fix. Is there something I didn't download? Or is it a problem with my code?

I just updated my copy of Visual Studios, so it's not that I need to update.
Those are all system files so the problem is probably not in the game code but in the VS settings.What version of VS are you using?
Title: Re: Issue with Custom build of WM
Post by: Randomfish on May 22, 2018, 09:24:46 PM
Those are all system files so the problem is probably not in the game code but in the VS settings.What version of VS are you using?

15.7.2. Do I perhaps need to modify my version to accept a particular component?
Title: Re: Issue with Custom build of WM
Post by: aevojoey on May 26, 2018, 12:54:59 PM
15.7.2. Do I perhaps need to modify my version to accept a particular component?
A few links to read:http://forums.codeguru.com/showthread.php?554135-VS-2015-and-standard-headers (http://forums.codeguru.com/showthread.php?554135-VS-2015-and-standard-headers)That will point you to
https://msdn.microsoft.com/en-us/library/bb531344.aspx#math-h (https://msdn.microsoft.com/en-us/library/bb531344.aspx#math-h)
That should help a little