|
Guillermo Polito |
|
|
Hi! I'm trying to get Windows VM compiled with Msys, using the Cog source code in the git repository. I've almost surpassed everything, but I'm having some "not declared" errors like this:
c:/MinGW/msys/1.0/home/Guille/cog/gpolito-cogvm/platforms/win32/vm/sqWin32Intel. c:1250:27: error: '_MCW_EM' no se declar¾ aquÝ (primer uso en esta funci¾n) related to these lines of the sqWin32Intel.c file:
... #define FPU_DEFAULT (_RC_NEAR + _PC_53 + _EM_INVALID + _EM_ZERODIVIDE + _EM_OVERFLOW + _EM_UNDERFLOW + _EM_INEXACT + _EM_DENORMAL) ... in squeakExceptionHandler and sqMain
_control87(FPU_DEFAULT, _MCW_EM | _MCW_RC | _MCW_PC | _MCW_IC); ... However, if I comment those lines, I can compile and everything seem to work :/. I googled a little but I've not found anything that helps me... Has anyone has this problem? Is it a Msys configuration problem? Thanks! Guille
|
|
Igor Stasenko |
|
|
On 26 January 2012 00:44, Guillermo Polito <[hidden email]> wrote: > > Hi! > > I'm trying to get Windows VM compiled with Msys, using the Cog source code in the git repository. I've almost surpassed everything, but I'm having some "not declared" errors like this: > > c:/MinGW/msys/1.0/home/Guille/cog/gpolito-cogvm/platforms/win32/vm/sqWin32Intel. > c:1250:27: error: '_MCW_EM' no se declar¾ aquÝ (primer uso en esta funci¾n) > > related to these lines of the sqWin32Intel.c file: > > ... > #define FPU_DEFAULT (_RC_NEAR + _PC_53 + _EM_INVALID + _EM_ZERODIVIDE + _EM_OVERFLOW + _EM_UNDERFLOW + _EM_INEXACT + _EM_DENORMAL) > ... > > in squeakExceptionHandler and sqMain > > _control87(FPU_DEFAULT, _MCW_EM | _MCW_RC | _MCW_PC | _MCW_IC); > ... > weird. I cannot check right now, but i can check when will come home and try building it on my windoze machine. Are this line were added recently, because i don't remember seeing it in win32 sources.. Or maybe it was always there, then its a question why it refusing to compile for you -- Best regards, Igor Stasenko. |
|
Mariano Martinez Peck |
|
|
In reply to this post by Guillermo Polito
On Thu, Jan 26, 2012 at 12:44 AM, Guillermo Polito <[hidden email]> wrote:
Hi Guille. I just tried everythign from scratch in a windows box and I could build, I couldn' reproduce your issue. There was a problem that the make won't link correctly, and this was because the targetDir was wrong for Windows. I have just fixed that in CMakeVMMaker-MarianoMartinezPeck.145 but that has nothing to do with your problem. Cheers
-- Mariano http://marianopeck.wordpress.com |
|
Guillermo Polito |
|
|
Ok, I made it work linking C_INCLUDE_PATH to where the right float.h is ¬¬ Guille@arkha ~/cog/gpolito-cogvm/build $ C_INCLUDE_PATH=/c/MinGW/include/ Guille@arkha ~/cog/gpolito-cogvm/build
$ export C_INCLUDE_PATH But I don't know why I have not that as a default! :S Thanks, Guille On Thu, Jan 26, 2012 at 3:33 PM, Mariano Martinez Peck <[hidden email]> wrote:
|
|
Guillermo Polito |
|
|
BTW, important information I missed: Mingw version 3.20 Cmake version 2.8.7 My Mingw/msys installation (recommended and default in the latest version of mingw) is
MinGW -> C:\MinGW Msys -> c:\MinGW\msys\1.0 Windows XP My path env variable: .:/usr/local/bin:/mingw/bin:/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Program Files/Git/cmd:/c/Program Files/Git/bin:/c/Program Files/CMake 2.8/bin:/mingw/bin:/mingw/lib:/usr/lib/:/usr/bin/:/usr/local/bin/
Thanks! Guille On Thu, Jan 26, 2012 at 3:51 PM, Guillermo Polito <[hidden email]> wrote: Ok, I made it work linking C_INCLUDE_PATH to where the right float.h is ¬¬ |
| Powered by Nabble | See how NAML generates this page |