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

4 views
Skip to first unread message

jnancheta

unread,
Apr 14, 2009, 2:07:31 PM4/14/09
to Weihai Liu, us...@admb-project.org
Thanks for feedback.  Can I ask you to help me with the packaging?

On Tue, Apr 14, 2009 at 7:31 AM, Weihai Liu <liu...@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
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 <liu...@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: liu...@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: liu...@msu.edu
http://qfc.fw.msu.edu/weihai
~~~~~~~~~~~~~~~~~~~~~~

John Ancheta

unread,
Apr 14, 2009, 5:30:32 PM4/14/09
to us...@admb-project.org
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...@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...@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
>

> >> Email: liuw...@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...@msu.edu
> >http://qfc.fw.msu.edu/weihai
> > ~~~~~~~~~~~~~~~~~~~~~~
>
>
>
> _______________________________________________
> Users mailing list
> Us...@admb-project.orghttp://lists.admb-project.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users

jnancheta

unread,
Apr 15, 2009, 4:23:42 PM4/15/09
to us...@admb-project.org
Successful installation.

---------- Forwarded message ----------
From: Weihai Liu <liu...@msu.edu>
Date: Wed, Apr 15, 2009 at 3:57 AM
Subject: Re: [ADMB Users] update for: Mingw3.4.5 may have problem
To: John Ancheta <jnan...@gmail.com>


John,
Usually I am not using admb command prompt window, I am using emacs.  following is the last part of output when I run make under the admb command prompt window this morning, I think it is the same as  in your link http://admb-project.org/documentation/admb-installation-setup
 
ECHO is off.
Completed ADMB example and runs
Successful
ECHO is off.
By the way, it take long time to run through it, the first time when I run the make, after I see it output the estimation values, I just kill the window.
 
 
weihai
Email: liu...@msu.edu
http://qfc.fw.msu.edu/weihai
~~~~~~~~~~~~~~~~~~~~~~

Reply all
Reply to author
Forward
0 new messages