Build emulator in Windows doesn't work

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
31 Oct 2013 21:52 #15177 by rbe2012
Because my WinXP PC crashed I bought a new one with Windows Vista (was simply cheap...) and installed the complete build environment as described in the README.

I can do everythig, but building the emulators does not work. I get this message:
$ make TARGET=emu_devo8 WINDOWS=1
 + Compiling 'target/emu_devo8/channels.c'
 + Compiling 'target/emu_devo8/lcd.c'
 + Compiling 'target/common_emu/clock.c'
In file included from C:/MinGW/msys/1.0/include/time.h:32:0,
                 from target/common_emu/clock.c:18:
C:/MinGW/msys/1.0/include/sys/types.h:106:14: error: conflicting types for 'int8_t'
 typedef char int8_t;
              ^
In file included from c:\mingw\lib\gcc\mingw32\4.8.1\include\stdint.h:9:0,
                 from ./common.h:4,
                 from target/common_emu/clock.c:16:
c:\mingw\include\stdint.h:39:21: note: previous declaration of 'int8_t' was here
 typedef signed char int8_t;
                     ^
make: *** [objs/emu_devo8-w32/clock.o] Error 1
what makes me think some libraries are wrong or in the wrong direction, but I don't know where to search...

Can anybody help me? I don't want to use both PC and laptop...
Deviation versions tested are 3.1-beta-04 to -08.

Please Log in or Create an account to join the conversation.

More
01 Nov 2013 16:56 #15202 by WheresWaldo
Replied by WheresWaldo on topic Build emulator in Windows doesn't work
I will look at my environment this evening to see how I am set up. I am running the minGW in Windows 7 Ultimate and have no issues building any of the emulators.

Please note that I am in Timezone GMT-5:00

Please Log in or Create an account to join the conversation.

More
01 Nov 2013 18:55 #15207 by SadSack
Replied by SadSack on topic Build emulator in Windows doesn't work
Can't help with errors, sorry.

But never had any issues with http://www.deviationtx.com/forum/7-development/1225-mingw-deviationtx-build-environment?limitstart=0&start=20 Installer. Only one other thing to install TortoiseHg. Nothing to lose.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
02 Nov 2013 09:22 #15220 by rbe2012
Replied by rbe2012 on topic Build emulator in Windows doesn't work
Thanks, I will give it a try. I just decided to install newly from scratch, but RWs installer could be much easier.
As far as I have seen I have done something wrong with the path variable (gcc was not foung so I installen msys-gcc what installed many new libraries which conflict with the others).

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
02 Nov 2013 09:49 - 02 Nov 2013 09:59 #15225 by rbe2012
Replied by rbe2012 on topic Build emulator in Windows doesn't work
I was really hopefuls because it looked exactly like what is installed on my laptop, but I still get an error:
make: *** No rule to make target `c:\mingw\lib\gcc\mingw32\4.8.1\include\stdint.h', needed by `objs/emu_devo8-w32/channels.o'.  Stop.

:(

EDIT: not unexpected since gcc-4.7.2 is included...
Where is 4.8.1 still stored?

EDIT2: make distclean saved my day.
Thank you SadSack for pointing me in the right diretion and RugWarrior for your excellent installation package.
Last edit: 02 Nov 2013 09:59 by rbe2012.

Please Log in or Create an account to join the conversation.

More
02 Nov 2013 21:10 #15269 by WheresWaldo
Replied by WheresWaldo on topic Build emulator in Windows doesn't work
When compiling emulator only I get a bunch of FLTK errors. None critical usually just variable not used or something like that. The emulator still functions properly after the make even with the errors.

I do not get any errors compiling the release builds.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
03 Nov 2013 08:58 #15292 by rbe2012
Replied by rbe2012 on topic Build emulator in Windows doesn't work
These FLTK messages are usual after a clean install or "make distclean". They are only warnings which occur because deviation uses a deeper checking at compile time as fltk does.

Please Log in or Create an account to join the conversation.

Time to create page: 0.033 seconds
Powered by Kunena Forum