<div>Hi all,</div>I am curious if anyone has tried compiling admb with gcc 4.7?<div>I tried both the svn version and the source zip and ran into trouble. </div><div>The svn version does not appear to put the contributed libraries in the right place, this isn't too big of an issue.</div>
<div> </div><div>Everything seems to compile correctly , but when I try to test it something goes wrong. </div><div>I find it puzzling that the script doesn't even seem to realize that something went wrong; It says that it built the executable even though it didn't.</div>
<div>I think followed the instructions in the readme; they are pretty standard build instructions.   Has anyone else run into this problem?</div><div>Aaron</div><div><br></div><div><br></div><div><br></div><div><div>Hey daft ! What is up? debian :~/admb-trunk/examples/admb/simple$admb simple.tpl</div>
<div>removed `simple.cpp'</div><div>removed `simple.htp'</div><div>removed `simple.o'</div><div><br></div><div>*** tpl2cpp simple</div><div><br></div><div>*** adcomp simple.cpp</div><div>g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE -fpermissive -I. -I"/usr/local/admb"/include -I"/usr/local/admb"/contrib simple.cpp</div>
<div><br></div><div>*** adlink simple</div><div>g++ -s -L"/usr/local/admb"/lib -L"/usr/local/admb"/contrib simple.o -ldf1b2o -ladmod -lcontribo -ladt -lado -ldf1b2o -ladmod -ladt -lado -lcontribo -o simple</div>
<div>/usr/bin/ld: cannot find -lcontribo</div><div>/usr/bin/ld: cannot find -lcontribo</div><div>collect2: error: ld returned 1 exit status</div><div><br></div><div>Error: Could not build simple</div><div><br></div><div><br>
</div><div>Successfully built executable.</div></div><div><br></div>