Hi all,<br><br>I meet a problem in compiling my program under gromacs: it always give the information "warning: assignment makes pointer from integer without a cast". The line refers to the following line with (***). I have tried opt2fn_NULL too.
<br><br>How to solve it? and can you give some introduction about the opt2fn, opt2set, etc?<br><br>Thanks in advance!<br><br><br> t_filenm fnm[] = {<br> { efTRX, "-f", NULL, ffREAD },<br> { efTPX, "-s", NULL, ffREAD },
<br> { efNDX, "-n", NULL, ffOPTRD },<br> { efXVG, "-o", "EC", ffOPTWR }<br> };<br><br>*** fp=xvgropen(opt2fn("-o",NFILE,fnm),title,"t","Integrand");<br>
<br><br><br clear="all"><br>-- <br>Sincerely yours,<br>**********************************************<br>Baofu Qiao, PhD<br>Frankfurt Institute for Advanced Studies<br>Max-von-Laue-Str. 1<br>60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529
<br>**********************************************