ecere-sdk_0.44d2.1.orig ecere.eCdoc file error

8 views
Skip to first unread message

BB007

unread,
Jul 18, 2009, 4:49:55 AM7/18/09
to eC Programming Language
ecere version 0.44d2.1, ecere.eCdoc
when i opened ecere.eCdoc to use program ear.exe or documentor.exe
in the bin directory, the system displays error.
why not it can excecute?
i want to reader the help documentor as soon as possible.
lq

Jerome St-Louis

unread,
Jul 18, 2009, 10:28:28 AM7/18/09
to ec-programm...@googlegroups.com
Hi there,

Perhaps that ecere.eCdoc in there is a corrupt version... We're still
working on the next release draft.

In documentor, ecere.eCdoc is automatically loaded when loading
ecere.dll/libecere.so.

I attached the latest version to this email.

Cheers,

Jerome
ecereCOM.eCdoc

Andrey Antonov (UCTM)

unread,
Jul 18, 2009, 10:49:04 AM7/18/09
to ec-programm...@googlegroups.com
hi,

pls take attention to the subject.

andrio

Sam Hu

unread,
Jul 28, 2009, 3:58:44 AM7/28/09
to eC Programming Language
Hi Jerome,

Where can I download 0.44d2.1?By the way,In some topic why no *reply"
but only *reply to author*,strange.I send a wrong message to your
mailbox instead of here.Sorry!

Regards,
Sam

Jerome St-Louis

unread,
Jul 28, 2009, 10:57:38 AM7/28/09
to ec-programm...@googlegroups.com
Hi Sam,

We're still working on 0.44. The latest "working" version is at
http://www.ecere.com/ecere-sdk-0.44d2.1.tar.gz

This file is subject to change or disappear anytime. A d3 should be
announced this week hopefully.

Cheers,

Jerome

Sam Hu

unread,
Jul 29, 2009, 12:33:06 AM7/29/09
to eC Programming Language
Thanks Jerome.

q1: I tried to build 0,44d2 but lots of errors.I will look into it
later,just use 0.44d1 at this moment;
q2:why below code does not pass compiling:

class Dog/*struct also the same error*/
{
public:
int age;
float weight;

void sayHi()
{
printf("Hi from doggie :Age=%d and weight=%.2f\n",age,weight);

}

class App:Appllication
{
//Problem here:
Dog doggie{ 5,24.50}; // sytatic error!!??
//can only do like this:
Dog {5,24.50}; // So how can I define a couple of dogs?
}

Did I miss something?

Regards,
Sam

Jerome St-Louis

unread,
Jul 29, 2009, 12:36:20 AM7/29/09
to ec-programm...@googlegroups.com
When you say you tried to build 0.44d2, you mean 0.44d2.1 ?

You are missing a curly bracket } in this code you sent either for the
function sayHi or for the Dog class.

Cheers,

Jerome

Sam Hu

unread,
Jul 29, 2009, 2:06:11 AM7/29/09
to eC Programming Language
Hi Jerome,

Yes,I meant 0.44d2.1 ;

Full source:

struct InventoryItem
{
public:
int code;
float price;

public:
void Print()
{
printf("Code: %d,Price: %.2f\n",code,price);
}

} ;


class Dog
{
public:
char* name;
int age;
public:
void sayHi()
{
printf("%s is %d years old...\n",name,age);
}
}

class myApp:Application
{
void Main()
{
InventoryItem item {1234,45.0f};
item.Print();
InventoryItem { 1234 , 45.0f }.Print();

/****below code does not compile****/
Dog dog{"dog",7}; //error: syntax error


Dog { "doggie",6 }.sayHi(); //This works.

system("PAUSE");


}
}

Jerome St-Louis

unread,
Jul 29, 2009, 9:07:16 AM7/29/09
to ec-programm...@googlegroups.com
Hi Sam,

In this case, you yave a declaration after statements, which is not
valid in eC just like in C89.

You would need to move the line

Dog dog{"dog",7}; //error: syntax error

before the

item.Print();

line. Anonymous instantiations (the ones that work) constitute a
statement, whereas named instantiations constitute a declaration,
which must be at the top of a compound block. You also have the option
of opening up a new compound block { }. The idea behind eC (and I
believe C89 as well) of not allowing declarations in the middle of
nowhere is to have them easy to spot at the top of a code block.

Cheers,

Jerome

Sam Hu

unread,
Aug 1, 2009, 4:19:01 AM8/1/09
to eC Programming Language
Hi Jerome,

Thank you.Silly mistake! :P

BWT,is there any multi-thread class or implemetation in ecere?

Regards,
Sam

Jerome St-Louis

unread,
Aug 1, 2009, 11:08:15 AM8/1/09
to ec-programm...@googlegroups.com
Hi Sam,

There is a Thread class in the Ecere library, as well as a Mutex and a
Semaphore class. You simply derive a class from the Thread class, then
override the Main() method which becomes the entry point for that
thread. Then you can create an instance of that class and invoke
"Create" on it to spawn the thread.

Consider this short sample:

import "ecere"
Mutex mutex { };
Semaphore semaphore { };
MyThread thread { };
class MyThread : Thread
{
uint Main()
{
for(;;)
{
mutex.Wait();
semaphore.Release();
mutex.Release();
}
return 0;
}
}
void Test() { thread.Create(); }

Also, the sample Blank (poorly named) in the SDK Samples folder
contains a good example applying GUI, networking sockets and threads
together.

Cheers,

Jerome

Sam Hu

unread,
Aug 4, 2009, 10:36:46 PM8/4/09
to eC Programming Language
Hi Jerome,

I tried to build 044d2.1 again.The mingw compiler is the one resides
in the 0.43 installer package.Below is part of the error message:
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:7:31: error:
couldn't f
ind member borderStyle in class SplitWindow
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.borderStyle
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:7:45: error:
unresolved
identifier bevel
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.borderStyle
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of bevel
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.borderStyle = bevel
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:8:4: error:
couldn't fi
nd member anchor in class SplitWindow
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.anchor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:8:13: error:
couldn't d
etermine type of { top = -2, bottom = -2 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.anchor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of { top = -2, bottom = -2 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.anchor = { top = -2, bottom = -2 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:8:40: error:
couldn't f
ind member stayOnTop in class SplitWindow
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.stayOnTop
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:8:52: error:
unresolved
identifier true
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.stayOnTop
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of true
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.stayOnTop = true
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:8:58: error:
couldn't f
ind member inactive in class SplitWindow
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.inactive
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:8:69: error:
unresolved
identifier true
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.inactive
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of true
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.inactive = true
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:9:4: error:
couldn't fi
nd member size in class SplitWindow
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.size
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:9:11: error:
couldn't d
etermine type of { w = 6 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.size
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of { w = 6 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.size = { w = 6 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:10:4: error:
couldn't f
ind member cursor in class SplitWindow
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:10:15: error:
unresolve
d identifier GuiApplication
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:10:14: error:
couldn't
determine type of (GuiApplication)
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:10:13: error:
couldn't
determine type of ((GuiApplication))
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:10:13: error:
member op
erator on non-structure type expression ((GuiApplication)).GetCursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:10:54: error:
unresolve
d identifier sizeWE
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of this.cursor = ((GuiApplication)).GetCursor(sizeWE)
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:17:18: error:
unresolve
d identifier vertical; expected ScrollDirection
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:0:0: error:
couldn't de
termine type of vertical
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:30:10: error:
couldn't
determine type of vertical
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:32:25: error:
unresolve
d identifier absPosition
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:32:25: error:
member op
erator on non-structure type expression absPosition.x
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:32:21: error:
couldn't
determine type of absPosition.x
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:32:21: error:
couldn't
determine type of x + absPosition.x; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:32:10: error:
couldn't
determine type of x + absPosition.x
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:33:19: error:
unresolve
d identifier position
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:33:19: error:
member op
erator on non-structure type expression position.x
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:33:19: error:
couldn't
determine type of position.x; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:33:10: error:
couldn't
determine type of position.x
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:37:25: error:
unresolve
d identifier absPosition
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:37:25: error:
member op
erator on non-structure type expression absPosition.y
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:37:21: error:
couldn't
determine type of absPosition.y
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:37:21: error:
couldn't
determine type of y + absPosition.y; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:37:10: error:
couldn't
determine type of y + absPosition.y
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:38:19: error:
unresolve
d identifier position
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:38:19: error:
member op
erator on non-structure type expression position.y
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:38:19: error:
couldn't
determine type of position.y; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:38:10: error:
couldn't
determine type of position.y
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:40:7:
warning: Capture
undefined; assuming extern returning int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:47:7: error:
unresolved
identifier parent
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:47:7: error:
member ope
rator on non-structure type expression parent.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:47:7: error:
couldn't d
etermine type of parent.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:47:7: error:
couldn't d
etermine type of parent.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:47:7: error:
couldn't d
etermine type of parent.cursor = (((void *)0))
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:52:7: error:
unresolved
identifier parent
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:52:7: error:
member ope
rator on non-structure type expression parent.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:52:7: error:
couldn't d
etermine type of parent.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:52:7: error:
couldn't d
etermine type of parent.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:52:7: error:
couldn't d
etermine type of parent.cursor = this.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:56:13: error:
couldn't
determine type of vertical
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:58:18: error:
unresolve
d identifier absPosition
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:58:18: error:
member op
erator on non-structure type expression absPosition.x
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:58:13: error:
couldn't
determine type of absPosition.x
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:62:24: error:
unresolve
d identifier parent
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:62:24: error:
member op
erator on non-structure type expression parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:62:24: error:
couldn't
determine type of parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:62:24: error:
member op
erator on non-structure type expression parent.clientSize.w
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:62:24: error:
couldn't
determine type of parent.clientSize.w
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:62:24: error:
couldn't
determine type of parent.clientSize.w - 20
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:68:18: error:
unresolve
d identifier absPosition
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:68:18: error:
member op
erator on non-structure type expression absPosition.y
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:68:13: error:
couldn't
determine type of absPosition.y
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:72:24: error:
unresolve
d identifier parent
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:72:24: error:
member op
erator on non-structure type expression parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:72:24: error:
couldn't
determine type of parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:72:24: error:
member op
erator on non-structure type expression parent.clientSize.h
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:72:24: error:
couldn't
determine type of parent.clientSize.h
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:72:24: error:
couldn't
determine type of parent.clientSize.h - 20
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:85:10:
warning: Release
Capture undefined; assuming extern returning int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:86:10: error:
unresolve
d identifier parent
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:86:10: error:
member op
erator on non-structure type expression parent.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:86:10: error:
couldn't
determine type of parent.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:86:10: error:
couldn't
determine type of parent.cursor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:86:10: error:
couldn't
determine type of parent.cursor = (((void *)0))
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:114:34:
error: unresolv
ed identifier parent
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:114:34:
error: member o
perator on non-structure type expression parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:114:34:
error: couldn't
determine type of parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:114:34:
error: member o
perator on non-structure type expression parent.clientSize.w
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:114:34:
error: couldn't
determine type of parent.clientSize.w
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:114:34:
error: couldn't
determine type of parent.clientSize.w * (value)
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:123:13:
error: couldn't
determine type of vertical
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:125:20:
error: couldn't
determine type of { w = 6 }; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:125:13:
error: couldn't
determine type of { w = 6 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:126:22:
error: couldn't
determine type of { top = -2, bottom = -2 }; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:126:13:
error: couldn't
determine type of { top = -2, bottom = -2 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:130:13:
error: unresolv
ed identifier position
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:130:24:
error: couldn't
determine type of { 0, 0 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:130:13:
error: couldn't
determine type of position
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:130:13:
error: couldn't
determine type of { 0, 0 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:130:13:
error: couldn't
determine type of position = { 0, 0 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:131:20:
error: couldn't
determine type of { h = 6 }; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:131:13:
error: couldn't
determine type of { h = 6 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:132:22:
error: couldn't
determine type of { left = -2, right = -2 }; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:132:13:
error: couldn't
determine type of { left = -2, right = -2 }
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:141:13:
error: couldn't
determine type of vertical
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:143:26:
error: couldn't
find member w in class int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:143:21:
error: couldn't
determine type of this.size.w; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:144:22:
error: unresolv
ed identifier parent
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:144:22:
error: member o
perator on non-structure type expression parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:144:22:
error: couldn't
determine type of parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:144:22:
error: member o
perator on non-structure type expression parent.clientSize.w
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:144:22:
error: couldn't
determine type of parent.clientSize.w; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:149:22:
error: couldn't
find member anchor in class ecere::gui::Window
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:149:13:
error: couldn't
determine type of this.leftPane.anchor
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:149:13:
error: member o
perator on non-structure type expression this.leftPane.anchor.right
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:149:13:
error: couldn't
determine type of this.leftPane.anchor.right
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:149:13:
error: couldn't
determine type of this.leftPane.anchor.right
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:149:13:
error: couldn't
determine type of this.leftPane.anchor.right = pw - x
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:150:30:
error: couldn't
find member left in class int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:150:13:
error: couldn't
determine type of this.rightPane.anchor.left
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:150:13:
error: couldn't
determine type of this.rightPane.anchor.left
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:150:13:
error: couldn't
determine type of this.rightPane.anchor.left = x + w / 2
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:157:26:
error: couldn't
find member h in class int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:157:21:
error: couldn't
determine type of this.size.h; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:158:22:
error: unresolv
ed identifier parent
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:158:22:
error: member o
perator on non-structure type expression parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:158:22:
error: couldn't
determine type of parent.clientSize
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:158:22:
error: member o
perator on non-structure type expression parent.clientSize.h
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:158:22:
error: couldn't
determine type of parent.clientSize.h; expected int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:163:29:
error: couldn't
find member bottom in class int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:163:13:
error: couldn't
determine type of this.leftPane.anchor.bottom
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:163:13:
error: couldn't
determine type of this.leftPane.anchor.bottom
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:163:13:
error: couldn't
determine type of this.leftPane.anchor.bottom = ph - y
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:164:30:
error: couldn't
find member top in class int
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:164:13:
error: couldn't
determine type of this.rightPane.anchor.top
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:164:13:
error: couldn't
determine type of this.rightPane.anchor.top
F:\eCere\ecere44d2\ecere\src\gui\controls\SplitWindow.ec:164:13:
error: couldn't
determine type of this.rightPane.anchor.top = y + h / 2

F:\eCere\ecere44d2>

Regards,
Sam

Jerome St-Louis

unread,
Aug 4, 2009, 10:40:59 PM8/4/09
to ec-programm...@googlegroups.com
Hi Sam,

The d2.1 tarball is still work in progress and it would seem it's not
building right now...
I will try to fix that in the next 24 hours.

In the meantime, you could edit SplitWindow.ec and make sure at the top it says

import "Window" rather than import "ecere"

Also are you using the Ecere project, or the Makefile?

If you're using the Makefile, it might be missing the SplitWindow.ec lines.

Best regards,

Jerome

Sam Hu

unread,
Aug 5, 2009, 12:02:50 AM8/5/09
to eC Programming Language

>
> Also are you using the Ecere project, or the Makefile?
>
> If you're using the Makefile, it might be missing the SplitWindow.ec lines.
>

Hi Jerome,

I was using makefile.win32 to build.

Regards,
Sam

Jerome St-Louis

unread,
Aug 5, 2009, 12:12:05 AM8/5/09
to ec-programm...@googlegroups.com
In this case it would seem the import directive at the top of the file
is the problem.
Change "ecere" for "Window" ...

You might or might not encounter additional issues, but regardless I
will try uploading a working tarball tomorrow.

Cheers,

Jerome

Jerome St-Louis

unread,
Aug 5, 2009, 7:14:02 PM8/5/09
to ec-programm...@googlegroups.com
Hi Sam,

So I looked into the problem, and it turns out the error are coming
out of building Documentor only... So the only things that did not
compile were EDA and Documentor.

If you want to use EDA (The database access layer), for now I suggest
you just do:

cd eda
make -f Makefile.win32

Other than that, everything else should be built fine, except for Documentor.
If you want to build Documentor, you can simply open the
Documentor.epj once Ecere is installed, take out SplitWindow.ec from
the project, and it should be fine.

Alternatively you could take out all the references from SplitWindow
inside Documentor's Makefile, since that file is actually not used
right now.

I reuploaded the tarball with these problems fixed.

Cheers,

Jerome

Sam Hu

unread,
Aug 5, 2009, 10:00:17 PM8/5/09
to eC Programming Language
Hi Jerome,

Thank you very much!

I re-downloaded the tarball and re-built it ,this time verything seems
fine.It reported that the build is successfully.

But when I tried the examples( anyone of them),got below report:

Default Compiler
Building project Test3DS using the Default configuration...
Test3DS-Win32-Default.Makefile
Generating symbols...
Test3DS.ec
Syntax:
ecp [-t <target platform>] [-cc <compiler>] [-o <output>] [-symbols
<outputdir>] [-I<includedir>]* [-isystem <sysincludedir>]* [-
D<definition>]* -c <input>
Compiling...
Test3DS.ec
Syntax:
ecc [-t <target platform>] [-cc <compiler>] [-o <output>] [-symbols
<outputdir>] [-I<includedir>]* [-isystem <sysincludedir>]* [-
D<definition>]* -c <input>
Compiling...
Test3DS.c
gcc: obj/Test3DS.c: error: No such file or directory

Test3DS.exe (Default) - 1 error, no warning


Was I missing something?

Regards,
Sam

Jerome St-Louis

unread,
Aug 5, 2009, 10:09:06 PM8/5/09
to ec-programm...@googlegroups.com
That is strange...
Could it be a mix up with the new and old versions?
Did you put the resulting binaries in bin/ and lib/ in place?

If you can't figure it out, could you please open up a terminal
window, go to your project directory then do:

make -f [project name]-Win32-Debug.Makefile

And paste me the whole build output you get from here?

Thanks.

Jerome

Sam Hu

unread,
Aug 5, 2009, 11:27:15 PM8/5/09
to eC Programming Language


On Aug 6, 10:09 am, Jerome St-Louis <jerstlo...@gmail.com> wrote:
> That is strange...
> Could it be a mix up with the new and old versions?
> Did you put the resulting binaries in bin/ and lib/ in place?
>

No,just a separate copy in a separate folder,then direct the compiler
and lib path under File->Global Setting->Compilers.still using MinGW
the one accompany with 0.43 installer,but the lib path points to the
new built one .44d2...

> If you can't figure it out, could you please open up a terminal
> window, go  to your project directory then do:
>
> make -f [project name]-Win32-Debug.Makefile
>
> And paste me the whole build output you get from here?
>
> Thanks.
>
> Jerome
>
>
Sure.

F:\eCere\ecered2\samples\Clock>make -f clock-Win32-Debug.Makefile
ecp -fmessage-length=0 -g -Wall -D_DEBUG -c clock.ec -o debug/
clock.sym
ecc -fmessage-length=0 -g -Wall -D_DEBUG -c clock.ec -o debug/clock.c
-symbols
debug
F:\eCere\ecered2\samples\Clock\clock.ec:1:1: error: Couldn't open debug
\clock.sy
m
make: *** [debug/clock.c] Error 1

F:\eCere\ecered2\samples\Clock>

Regards,
Sam

Jerome St-Louis

unread,
Aug 5, 2009, 11:40:14 PM8/5/09
to ec-programm...@googlegroups.com
Did you also change the Executables path to point to the bin folder?
In fact, on Windows, both Libraries and Executables should contain the
path to the resulting bin/ folder.

Sam Hu

unread,
Aug 6, 2009, 1:59:40 AM8/6/09
to eC Programming Language
Hi Jerome,

Sorry,exactly this is the point.I remembered I have included \bin to
the exe path but actually I did not.

Sorry for this!

Regards,
Sam
Reply all
Reply to author
Forward
0 new messages