bignsyd / gqe

Automatically exported from code.google.com/p/gqe
MIT License
0 stars 0 forks source link

Direct.h header not present on Mac #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. #include <direct.h> is not found on XCode 4.0.
2. Asset Manager uses an erase() function that is not available.

What is the expected output? What do you see instead?
It doesn't build at all.

What version of the product are you using? On what operating system?
I'm using XCode 4.0 on MacOSX 10.6.7 with 2 GiB of RAM.

Please provide any additional information below.
Where do I find the source of direct.h?  Is it supposed to be a standard C 
library?  Is it supposed to be added in C++0x?

Original issue reported on code.google.com by samueldc...@gmail.com on 24 Mar 2011 at 9:11

GoogleCodeExporter commented 9 years ago
You can safely remove the direct.h include file found in the App.cpp class.  
This should have been removed when I removed the chdir() method call used 
earlier for the logging system.  I will be replacing the logging system with a 
more robust implementation in the near future.
There was a known issue with the way the erase method was implemented when I 
added the ConfigFile Asset to the AssetManager class.  Just replace the 
offending line in the DeleteConfigs method of the AssetManager.cpp class with 
one that is similar to the example provided in the DeleteFonts method of the 
AssetManager.cpp class.  I have also posted this fix in the AssetManager.cpp 
file on the SFML wiki page.  I will be uploading the same fix to the code base 
in v0.6 soon.

Original comment by RyanLind...@gmail.com on 1 Apr 2011 at 6:11

GoogleCodeExporter commented 9 years ago
Issue 9 has been merged into this issue.

Original comment by samueldc...@gmail.com on 4 Apr 2011 at 6:27

GoogleCodeExporter commented 9 years ago

Original comment by RyanLind...@gmail.com on 22 May 2011 at 1:58