print warning on windows/mac when bundled python is not found, suggesting to build the 'install' target.

This commit is contained in:
Campbell Barton 2011-03-30 06:27:39 +00:00
parent 5b19ec3559
commit 206e5b7179

@ -170,9 +170,13 @@ static void bpy_python_start_path(void)
{
char *py_path_bundle= BLI_get_folder(BLENDER_PYTHON, NULL);
if(py_path_bundle==NULL)
if(py_path_bundle==NULL) {
/* Common enough to have bundled *nix python but complain on OSX/Win */
#if defined(__APPLE__) || defined(_WIN32)
fprintf(stderr, "Bundled python is expected on this platform, if blender fails to load build the 'install' target\n");
#endif
return;
}
/* set the environment path */
printf("found bundled python: %s\n", py_path_bundle);