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 installerand select the check box :current, and check the g++ box other than the default one.weihaiOn 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 errorC:\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 statusBut 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
~~~~~~~~~~~~~~~~~~~~~~
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