... in 5 easy steps:
- Install 0.43 with convenient installer for MinGW in default location (Program Files/Ecere SDK)
- Go in Program files/Ecere SDK/mingw/bin and rename (or copy) make.exe to 'mingw32-make.exe'
- Unpack the 0.44pre1 tar ball
or
- git clone git://github.com/ecere/sdk.git
- Open command prompt, if on Vista or 7 make sure you open it as administrator (Start, 'cmd', right click terminal icon, Run as administrator) go to directory, hit 'mingw32-make'
- Do 'mingw32-make install', this will overwrite the 0.43 binaries with the new binaries
Getting the 0.44pre1 (Or latest git) SDK running on Windows
Re: Getting the 0.44pre1 SDK running on Windows
Hi
I made SDK using Mingw 4.4.1.
For test I built static library SDK. Simple console program has very big size, near 3M. Very big.
May be have you ideas for changing size?
Thanks
I made SDK using Mingw 4.4.1.
For test I built static library SDK. Simple console program has very big size, near 3M. Very big.
May be have you ideas for changing size?
Thanks
Re: Getting the 0.44pre1 SDK running on Windows
santy,
The Ecere.epj project has various configurations which include various parts of the library.
Right now you have the whole shabang, including the 3D stuff (a Direct3D 8, Direct3D 9, OpenGL engine!), drivers for DirectDraw, GDI, Console, printing...., builtin support for jpeg, gif, png, true type fonts, zlib compression, complex script shaping, and all that. That's why your simple console app is 2 mb.
If you only want to use eC without the Ecere GUI toolkit and library, you can link with ecereCOM instead of ecere. If you want just the basic GUI stuff, you can try the 'Vanilla' configuration. And various preprocessor definitions controls what gets included in the library when you build it.
You can get a simple GUI app under 800k.
Compare this with something that uses the .NET framework which takes up 100 mb.
The Ecere.epj project has various configurations which include various parts of the library.
Right now you have the whole shabang, including the 3D stuff (a Direct3D 8, Direct3D 9, OpenGL engine!), drivers for DirectDraw, GDI, Console, printing...., builtin support for jpeg, gif, png, true type fonts, zlib compression, complex script shaping, and all that. That's why your simple console app is 2 mb.
If you only want to use eC without the Ecere GUI toolkit and library, you can link with ecereCOM instead of ecere. If you want just the basic GUI stuff, you can try the 'Vanilla' configuration. And various preprocessor definitions controls what gets included in the library when you build it.
You can get a simple GUI app under 800k.
Compare this with something that uses the .NET framework which takes up 100 mb.
Re: Getting the 0.44pre1 SDK running on Windows
no .NET
Thanks jerome. I found this configuration and test it.
For testing I took boostraps libraries and built simple program. size is near 250K (don't pack) Good size.
Thank you.
Thanks jerome. I found this configuration and test it.
For testing I took boostraps libraries and built simple program. size is near 250K (don't pack) Good size.
Thank you.
Re: Getting the 0.44pre1 SDK running on Windows
Hi,
I followed the steps that outlined above (first post) but I get the following errors:
bootstrap\dataTypes.c error: conflicting types for '__ecereNameSpace__ecere__com__eSystem_Delete'
bootstrap\dataTypes.c:389: error: previous implicit declaration of '__ecereNameSpace__ecere__com__eSystem_Delete' was here
mingw32-make[3]: *** [obj/bootstrap/dataTypes.o] Error 1
mingw32-make[2]: *** [ecere] Error 2
mingw32-make[1]: *** [bootstrap] Error 2
mingw32-make: *** [bootstrap] Error 2
What could possibly have gone wrong?
I followed the steps that outlined above (first post) but I get the following errors:
bootstrap\dataTypes.c error: conflicting types for '__ecereNameSpace__ecere__com__eSystem_Delete'
bootstrap\dataTypes.c:389: error: previous implicit declaration of '__ecereNameSpace__ecere__com__eSystem_Delete' was here
mingw32-make[3]: *** [obj/bootstrap/dataTypes.o] Error 1
mingw32-make[2]: *** [ecere] Error 2
mingw32-make[1]: *** [bootstrap] Error 2
mingw32-make: *** [bootstrap] Error 2
What could possibly have gone wrong?
Re: Getting the 0.44pre1 SDK running on Windows
Hi Lou,
If you do at that same command prompt 'gcc --version', what do you get?
The version that the Ecere SDK 0.43 installer installs should read
'gcc (GCC) 4.3.0 20080305 (alpha-testing) mingw-20080502'
I suspect you already had a MinGW installation that has precedence in the path and that is why you get these errors... Let me know!
Cheers,
Jerome
If you do at that same command prompt 'gcc --version', what do you get?
The version that the Ecere SDK 0.43 installer installs should read
'gcc (GCC) 4.3.0 20080305 (alpha-testing) mingw-20080502'
I suspect you already had a MinGW installation that has precedence in the path and that is why you get these errors... Let me know!
Cheers,
Jerome
Re: Getting the 0.44pre1 SDK running on Windows
hi jerome..that what i get :
Packed 1 file.
Building 2nd stage compiler
Building 2nd stage libec...
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec28: warning: incompatible expression yy_ec[((unsi
gned int)(unsigned char)*yy_cp)] (int); expected byte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec13: warning: incompatible expression yy_meta[(uns
igned int)yy_c] (int); expected byte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec27: warning: incompatible expression (*yy_cp ? yy
_ec[((unsigned int)(unsigned char)*yy_cp)] : (unsigned char)1) (int); expected b
yte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec12: warning: incompatible expression yy_meta[(uns
igned int)yy_c] (int); expected byte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec11: warning: incompatible expression yy_meta[(uns
igned int)yy_c] (int); expected byte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec:426:26: warning: incompatible expression c (int); expe
cted char
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec:434:29: warning: incompatible expression c (int); expe
cted char
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\obj\release\ec.main.ec:525:1: warning: Redefinition of sourceFileSt
ack (defining as char[10][MAX_LOCATION], already defined as char[MAX_INCLUDE_DEP
TH][MAX_LOCATION])
Building 2nd stage ecp...
Building 2nd stage ecc...
Building 2nd stage ecs...
Building eC Core Runtime...
Building IDE...
Building epj2make...
Building Documentor...
Building EDA...
The Ecere SDK is fully built.
but in the end all work fine.
Packed 1 file.
Building 2nd stage compiler
Building 2nd stage libec...
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec28: warning: incompatible expression yy_ec[((unsi
gned int)(unsigned char)*yy_cp)] (int); expected byte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec13: warning: incompatible expression yy_meta[(uns
igned int)yy_c] (int); expected byte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec27: warning: incompatible expression (*yy_cp ? yy
_ec[((unsigned int)(unsigned char)*yy_cp)] : (unsigned char)1) (int); expected b
yte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec12: warning: incompatible expression yy_meta[(uns
igned int)yy_c] (int); expected byte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec11: warning: incompatible expression yy_meta[(uns
igned int)yy_c] (int); expected byte
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec:426:26: warning: incompatible expression c (int); expe
cted char
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\src\lexer.ec:434:29: warning: incompatible expression c (int); expe
cted char
C:\Documents and Settings\yo\Escritorio\ecere-sdk-0.44pre1\ecere-sdk-0.44pre1\co
mpiler\libec\obj\release\ec.main.ec:525:1: warning: Redefinition of sourceFileSt
ack (defining as char[10][MAX_LOCATION], already defined as char[MAX_INCLUDE_DEP
TH][MAX_LOCATION])
Building 2nd stage ecp...
Building 2nd stage ecc...
Building 2nd stage ecs...
Building eC Core Runtime...
Building IDE...
Building epj2make...
Building Documentor...
Building EDA...
The Ecere SDK is fully built.
but in the end all work fine.
Re: Getting the 0.44pre1 SDK running on Windows
Hi Jerome,
I am having problems building the Ecere SDk on Windows. I have built the 0.43 before on windows but I cannot remember the steps (long long time ago.). I have followed the instructions stated above but I got the following error:
The system cannot find the path specified
mingw32-make: *** [bootstrap] Error 1
It stops at those two lines. Is there a special folder layout that I must follow or what do I need to do.
I will continue to play with but I need to get it build and the 0.44 binary will not run due to make error despite global setting being well set.
God blesses!!!
Best regards,
Sanyaade
I am having problems building the Ecere SDk on Windows. I have built the 0.43 before on windows but I cannot remember the steps (long long time ago.). I have followed the instructions stated above but I got the following error:
The system cannot find the path specified
mingw32-make: *** [bootstrap] Error 1
It stops at those two lines. Is there a special folder layout that I must follow or what do I need to do.
I will continue to play with but I need to get it build and the 0.44 binary will not run due to make error despite global setting being well set.
God blesses!!!
Best regards,
Sanyaade
Re: Getting the 0.44pre1 SDK running on Windows
Hi Sanyaade,
See the New Ecere SDK pre-release September 5, 2010 topic for latest files.
I've updated the winbin.zip file just now. Although I don't think this is related to your current problem, the IDE in the previous windows binaries file would have caused problems when compiling projects.
Also, did you download the new ecere-sdk-0.44pre-2010-09-06.tar.bz2 tarball?
Concerning your current issue:
Yo do have Ecere SDK 0.43 or Mingw32 installed on this machine, right?
(check gcc --version)
-redj
See the New Ecere SDK pre-release September 5, 2010 topic for latest files.
I've updated the winbin.zip file just now. Although I don't think this is related to your current problem, the IDE in the previous windows binaries file would have caused problems when compiling projects.
Also, did you download the new ecere-sdk-0.44pre-2010-09-06.tar.bz2 tarball?
Concerning your current issue:
That's the only output you get for the make command?sanyaade wrote:I have followed the instructions stated above but I got the following error:
The system cannot find the path specified
mingw32-make: *** [bootstrap] Error 1
Yo do have Ecere SDK 0.43 or Mingw32 installed on this machine, right?
(check gcc --version)
-redj
Re: Getting the 0.44pre1 SDK running on Windows
Hi redj
Many thanks!
God blesses!!!
Best regards,
Sanyaade
Thank you very much, the problems has been solved. It was due to corrupted files. I re-download the pre-0.44 bzip tarball again and compiled it smoothly. I was able to run the examples as well.redj wrote: That's the only output you get for the make command?
Yo do have Ecere SDK 0.43 or Mingw32 installed on this machine, right?
(check gcc --version)
-redj
Many thanks!
God blesses!!!
Best regards,
Sanyaade