<p>Hi Jinfu,<br>
 It seems that your function is not created in postgres database. You need to create a .sql file and write function definition. Modify cmakelists accordingly.<br>
 If you have already done that, and didn't work, try adding it by giving the command at sql prompt.   Check out the documentation in apsp page in pgrouting wiki for exact commands. </p>
<div class="gmail_quote">On 14 Jun 2012 07:52, "Jinfu Leng" <<a href="mailto:logicnut@gmail.com">logicnut@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey,<div><br></div><div>I am writing the code for the new algorithm. I added the name of the file to the file "CMakeLists.txt", and then the file can be compiled. In pgAdmin3, I can call the function shortest_path(), but when I tried to call my function shortest_path_mild_two_q(), I got the error message "no matched function".</div>

<div><br></div><div>My question is, besides "CMakeLists.txt", what else should I do to let the system know there is a function named shortest_path_mild_two_q().</div><div><br></div><div>Thanks,</div><div>Jinfu</div>

<br>_______________________________________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
<br></blockquote></div>