admb-project / admb

AD Model Builder
http://admb-project.org
Other
64 stars 19 forks source link

broken on Windows #73

Closed kellijohnson-NOAA closed 7 years ago

kellijohnson-NOAA commented 7 years ago

@johnoel I currently cannot build on my Windows x64 machine using Mingw and msys. I was able to build previously. I am not sure what I should do. I have been able to build in the past, and I know that as of 32a2f38 it was working for me. What should I do to try to debug? Any ideas are greatly appreciated. Thanks.

Here is some output from the console of the failed build. make[5]: Entering directory /c/admb/contrib/ecolib' ../../admb.cmd -c Gompertz.cpp cp Gompertz.obj ../../build/objects/dist/contrib-saflp-Gompertz.obj ../../admb.cmd: line 1: @echo: command not found ../../admb.cmd: line 2: @REM: command not found ../../admb.cmd: line 3: syntax error near unexpected token(' ../../admb.cmd: line 3: @REM Copyright 2013 (c) ADMB Foundation' cp: cannot statGompertz.obj': No such file or directory ../admb-rules.mak:27: recipe for target ../../build/objects/dist/contrib-saflp-Gompertz.obj' failed make[5]: *** [../../build/objects/dist/contrib-saflp-Gompertz.obj] Error 1 make[5]: Leaving directory/c/admb/contrib/ecolib' GNUmakefile:153: recipe for target contrib-ecolib' failed make[4]: *** [contrib-ecolib] Error 2 make[4]: Leaving directory/c/admb/contrib' GNUmakefile:52: recipe for target all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory/c/admb/contrib' Makefile:80: recipe for target g++-contrib' failed make[2]: *** [g++-contrib] Error 2 make[2]: Leaving directory/c/admb' Makefile:71: recipe for target g++-all' failed make[1]: *** [g++-all] Error 2 make[1]: Leaving directory/c/admb' Makefile:5: recipe for target `all' failed make: *** [all] Error 2

johnoel commented 7 years ago

Try

C:\admb> utilities\make clean all

kellijohnson-NOAA commented 7 years ago

Did not work.

jimianelli commented 7 years ago

compiled clone (new directory) on windows 10 vm this AM, futzed w/ paths and reset ADMB_HOME and it worked.

A couple of ^ errors pointing to #DEFINE true true but seemed innocuous enough.

I did hold my mouth a certain way though, think that helped.

On Tue, Nov 22, 2016 at 4:54 PM, Kelli Johnson notifications@github.com wrote:

Did not work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/admb-project/admb/issues/73#issuecomment-262410470, or mute the thread https://github.com/notifications/unsubscribe-auth/AClv4iLLFchwIuCf4KZUuBmYLgtlBFOhks5rA47egaJpZM4KwlLp .

Jim Ianelli

johnrsibert commented 7 years ago

Did you drool on you keyboard? Works for me.

On Nov 22, 2016 3:42 PM, "Jim Ianelli" notifications@github.com wrote:

compiled clone (new directory) on windows 10 vm this AM, futzed w/ paths and reset ADMB_HOME and it worked.

A couple of ^ errors pointing to #DEFINE true true but seemed innocuous enough.

I did hold my mouth a certain way though, think that helped.

On Tue, Nov 22, 2016 at 4:54 PM, Kelli Johnson notifications@github.com wrote:

Did not work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/admb-project/admb/issues/73#issuecomment-262410470, or mute the thread https://github.com/notifications/unsubscribe-auth/ AClv4iLLFchwIuCf4KZUuBmYLgtlBFOhks5rA47egaJpZM4KwlLp .

Jim Ianelli

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/admb-project/admb/issues/73#issuecomment-262416835, or mute the thread https://github.com/notifications/unsubscribe-auth/AFMDctpKB-BaEDU892LJETxEfZb2jeYCks5rA5oVgaJpZM4KwlLp .

johnoel commented 7 years ago

Can you redo the build? Using the command below...

C:\admb> utilities\make clean all > out.txt

The email the out.txt to me.