jerome wrote:Arturus,
Those .c files are supposed to created by the ecc compiler.
ecc compiler seems to be in your PATH so that's OK...
Code: Select all
[arturus@localhost ~]$ echo $PATH
/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/arturus/bin
[arturus@localhost ~]$
Here it is:Here it looks like make isn't invoking that ecc compiling step.
Can you do 'make -v' to see what version of make that is?
Code: Select all
[arturus@localhost clock]$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-redhat-linux-gnu
[arturus@localhost clock]$
Was it forced?...
Then you could try:
make -f clock-Debug.Makefile debug/clock.c
To force executing that rule to build clock.c ..
Code: Select all
[arturus@localhost clock]$ make -f clock-Debug.Makefile debug/clock.c
make: `debug/clock.c' is up to date.
[arturus@localhost clock]$
There is no /debug directory or clock.sym file.Even before it invokes ecc, it should do the pre-compiling step which should invoke ecp...
Is that debug/ directory there, and does it contain any files? It should have a clock.sym if ecp was executed properly...
Also you could try:
make -f clock-Debug.Makefile clean -- see if that does anything, it should get rid of any file and start the build from scratch...
Code: Select all
[arturus@localhost clock]$ dir
clock-Debug.Makefile clock.ec clock.epj clock.ews LICENSE
[arturus@localhost clock]$ make -f clock-Debug.Makefile clean
make: `clean' is up to date.
[arturus@localhost clock]$
This did not happen. Got this:make -f clock-Debug.Makefile -n
Which should list all of the commands make will execute.
It should look something like this:Code: Select all
mkdir debug ecp -fmessage-length=0 -m32 -Wall -g -D_DEBUG -c clock.ec -o debug/clock.sym ecc -fmessage-length=0 -m32 -Wall -g -D_DEBUG -c clock.ec -o debug/clock.c -symbols debug/ gcc -fmessage-length=0 -m32 -Wall -g -D_DEBUG -c debug/clock.c -o debug/clock.o ecs debug\clock.sym debug\clock.imp -symbols debug -o debug/clock.main.ec ecp -fmessage-length=0 -m32 -Wall -g -D_DEBUG -c debug/clock.main.ec -o debug/clock.main.sym -symbols debug/ ecc -fmessage-length=0 -m32 -Wall -g -D_DEBUG -c debug/clock.main.ec -o debug/clock.main.c -symbols debug/ gcc -fmessage-length=0 -m32 -Wall -g -D_DEBUG -c debug/clock.main.c -o debug/clock.main.o gcc -m32 debug/clock.o debug/clock.main.o -lecere -o debug/clock
Code: Select all
[arturus@localhost clock]$ make -f clock-Debug.Makefile -n
gcc -fmessage-length=0 -m32 -Wall -g -D_DEBUG -c -o debug/clock.o debug/clock.c
That path does not exist. A search for libecere.so gave this:Just some things to try to get a clearer picture of what's going on... It's all very odd.
Also for the button graphics missing, that's quite strange also. The building process should have added them to the ecere runtime library, with ear. You could try deleting sdk/ecere/release/libecere.so*
Code: Select all
[arturus@localhost clock]$ sudo locate libecere.so
[sudo] password for arturus:
/home/arturus/Download/ecere/ecere/obj/libecere.so.0.44
/home/arturus/Download/ecere/lib/libecere.so
/home/arturus/Download/ecere/lib/libecere.so.0
/home/arturus/Download/ecere/lib/libecere.so.0.44
/usr/lib/libecere.so
/usr/lib/libecere.so.0
/usr/lib/libecere.so.0.44
[arturus@localhost clock]$
I didn't run the above command because that path does not exist.and then hitting 'make' again in that sdk/ecere/ subdirectory and see what happens. It should build libecere.so and then invoke ear to add the resources to it.
No, Im using standard bash:Are you using a shell different than bash? I don't know what could have caused this either.
Code: Select all
[arturus@localhost clock]$ bash -version
GNU bash, version 4.0.38(1)-release (i386-redhat-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
[arturus@localhost clock]$
Me too! I would like very much to be able to use Ecere SDK. I've been reading the Tao and find it a great work from you and very helpful to learn eC. Thanks for your help.Hoping we can resolve this together soon!
Jerome
Arturus