Chi H. - 2014-03-16 20:37:10 -
In reply to message 1 from Spino
Can you try this example.php:
<?php
/***************************************************************
* Copyright notice
*
* (c) 2010-2013 Chi Hoang (info@chihoang.de)
* All rights reserved
*
***************************************************************/
require_once("delaunay.php");
// Turn off all error reporting
error_reporting(0);
// example 1
$triangle=new DelaunayTriangulation();
$triangle->main();
$vis=new visualize("C:\Temp\\",$triangle);
$vis->genimage();
?>
First off, I'm using Linux and it doesn't have C:\Temp\ folder nor the drive C. You need to change it to fit your need. I think you are using Apache und Windows. Second can you try to run the script from the console? My script isn't meant to start in a browser. I wasn't aware that's can be a problem. The error message isn't so important at the momemt, please ignore it. Thank you.