[ADMB Users] update for: Mingw3.4.5 may have problem
jnancheta
jnancheta at gmail.com
Tue Apr 14 11:07:31 PDT 2009
Thanks for feedback. Can I ask you to help me with the packaging?
On Tue, Apr 14, 2009 at 7:31 AM, Weihai Liu <liuweih 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=240780&release_id=595197
> 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 <liuweih 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: liuweih 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: liuweih at msu.edu
> http://qfc.fw.msu.edu/weihai
> ~~~~~~~~~~~~~~~~~~~~~~
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20090414/cc130141/attachment.html>
More information about the Users
mailing list