[ADMB Users] A link process kept failing, but after restarting the PC, it worked
Saang-Yoon
shyunuw at gmail.com
Sun Jul 1 09:21:33 PDT 2012
Hi.
I am requested to post the commands and its output (link failure). Here
you are:
C:\Hyun\ProjI\SurplusProd\prod_am3\am8Sone>admb I1pt52
*** tpl2cpp I1pt52
xxglobal.tmp
xxhtop.tmp
header.tmp
xxalloc.tmp
xxtopm.tmp
1 file(s) copied.
*** adcomp I1pt52
g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE
-fpermis
sive -I. -I"c:/ADMB/admb101-gcc452-win64\include" -o I1pt52.obj I1pt52.cpp
*** adlink I1pt52
g++ -s -static -L"c:/ADMB/admb101-gcc452-win64\lib" I1pt52.obj -ldf1b2o
-ladmod
-ladt -lado -ldf1b2o -ladmod -ladt -lado -o I1pt52
c:/gnu/gcc452-win64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w
64-mingw32/bin/ld.exe: cannot open output file I1pt52.exe: Permission denied
collect2: ld returned 1 exit status
Done
On Friday, June 29, 2012 11:14:32 AM UTC-4, Saang-Yoon wrote:
> Hi.
> I posted this inquiry under the subject, "compile-link process is
> inconsistent (successful and failed)". In the post, my descript seemed to
> be unclear; no one responded.
>
> I use ADMB-IDE and Crimson editor for ADMB coding. In a compile-link
> process, often (esp. when I expedite the process), I failed although there
> is no error in ADMB codes. Interestingly when I slowed down (I do so
> after a few moments say 30 seconds) or after restarting the PC, the link
> process was successful, producing its executable file.
>
> I wonder about which version and type would be best for Window 7.
> Cheers,
>
> Saang-Yoon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20120701/59987f0e/attachment.html>
More information about the Users
mailing list