[ADMB Users] update for: Mingw3.4.5 may have problem

John Ancheta jnancheta at gmail.com
Tue Apr 14 14:30:32 PDT 2009


Are you using the ADMB Command Prompt window?

http://admb-project.org/documentation/admb-installation-setup

Anyhow, please sent a screen shot.

On Apr 14, 8:07 am, jnancheta <jnanch... at gmail.com> wrote:
> Thanks for feedback.  Can I ask you to help me with the packaging?
>
> On Tue, Apr 14, 2009 at 7:31 AM, Weihai Liu <liuw... at msu.edu> wrote:
> > John,
> > I download the new MinGW again, and installed it on my xp, after that I
> > copy the installed folder to overwrite the folder c:\admb\mingw\tools\mingw,
> > after that it totally works now.
>
> > The mingw you packaged is only part of my current installed, lots of things
> > are missing, so that is reason why I have the problem in compile or make.
>
> > if you need it, I can zip it and send to you, or you can download the
> > mingw5.1.4.exe  installer
>
> >http://sourceforge.net/project/showfiles.php?group_id=2435&package_id...
> > and select the  check box :current, and check the g++ box other than the
> > default one.
>
> > weihai
>
> > On Tue, Apr 14, 2009 at 12:00 PM, Weihai Liu <liuw... at msu.edu> wrote:
>
> >> Hi John,
> >> I have a helloworld simple test.cpp file,
>
> >> #include <stdio.h>
> >> int main()
> >> {
> >>   printf("Hello World\n");
> >>   return 0;
> >> }
>
> >> when I compile it by using your new mingw compiler, it report following
> >> error
>
> >> C:\test>g++ test.cpp -o test
>
> >> C:\ADMB\MINGW\TOOLS\MINGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\l
> >> d.exe: cannot find -luser32
> >> collect2: ld returned 1 exit status
>
> >> But this file can be compiled without problem on my older mingw.
> >> So I guess the new Mingw compiler you have included within the admb setup
> >> package may have problem.
>
> >> --
> >> Weihai Liu
> >> ~~~~~~~~~~~~~~~~~~~~~~~~
> >> Quantitative Fisheries Center
> >> Department of Fisheries & Wildlife
> >> Michigan State University
> >> 153 Giltner Hall
> >> East Lansing, MI 48824
> >> Phone: 517-355-0126
> >> Email: liuw... at msu.edu
> >>http://qfc.fw.msu.edu/weihai
> >> ~~~~~~~~~~~~~~~~~~~~~~
>
> > --
> > Weihai Liu
> > ~~~~~~~~~~~~~~~~~~~~~~~~
> > Quantitative Fisheries Center
> > Department of Fisheries & Wildlife
> > Michigan State University
> > 153 Giltner Hall
> > East Lansing, MI 48824
> > Phone: 517-355-0126
> > Email: liuw... at msu.edu
> >http://qfc.fw.msu.edu/weihai
> > ~~~~~~~~~~~~~~~~~~~~~~
>
>
>
> _______________________________________________
> Users mailing list
> Us... at admb-project.orghttp://lists.admb-project.org/mailman/listinfo/users



More information about the Users mailing list