Home » Archived » DSDP - Native Application Builder (NAB) » WideStudio build fails on Windows
WideStudio build fails on Windows [message #249] |
Wed, 15 August 2007 11:44 |
Eclipse User |
|
|
|
Originally posted by: weimaomin.gmail.com
Hi,
I have downloaded wswin396-1.zip and ws-v3.96.1-src.tar.gz at
(http://www.eclipse.org/dsdp/nab/downloads.php) .
And installed wswin396-1.zip successfully on my Windows. Now I want to
compile the source file ws-v3.96.1-src.tar.gz on my machine, but there are
lot's of errors when I run makewin.bat.
My steps is as follows:
1 >cd ws-v3.96-1\src
2. >configure-win.bat
3. >makewin.bat
At step 2, there are many files do not exist, and at step 3 there are more
errors.
Such as:
1) ar -rv ../../lib-st/libws.a ./runtime/master_obj.o
ar: ../../lib-st/libws.a: No such file or directory
make: *** [../../lib-st/libws.a] Error 1
2) WSDwinImage.cpp:36:21: jpeglib.h: No such file or directory
WSDwinImage.cpp:37:17: png.h: No such file or directory
WSDwinImage.cpp:198: field `pub' has incomplete type
WSDwinImage.cpp:199: 'jmp_buf' is used as a type, but is not defined as
a type.
......
3) C:\ws-v3.96-1\src>cd nwin
指定されたパスが見つかりません。
Then I create a directory /src/lib-st, and delete the follows at makewin.bat
files (there are no nwin and wsagent-local directory at all):
cd nwin
make -f make.win all
cd ..
cd wsagent-local
make all
cd
And run makewin.bat again, but there are a lot of errors also.
Thanks.
/weimaomin
|
|
| |
Re: WideStudio build fails on Windows [message #268 is a reply to message #260] |
Wed, 22 August 2007 06:33 |
Eclipse User |
|
|
|
Originally posted by: weimaomin.gmail.com
Hi, Shigeki Moride
First, I introduce my work.:
I'm a new programmer. Now my work is to analysis the relation of NAB and
MWT.
Such as, how to generate code when I drag a button on the Eclipse with NAB
and MWT,
how to add a new control (just like button control) to the NAB, and let it
gererate code when
I drag it(the new control) to the newwin.
So, I need to modify the source file of MWT, and recompile it to dll and
check the result.
But now, I cannot compile the MWT source file successfully.
Someone reply me that I should use the source which wswin396-1.zip contains
for Windows,
not ws-v3.96.1-src.tar.gz.
I do it as above, but just fewer errors than before.
In fact, some directory can compile to dll successfully, some not.
For example, when I make win directory,
>cd win
>make -f make.win all
the errors as follows:
WSDwinImage.cpp:36:45: jpeglib.h: No such file or directory
WSDwinImage.cpp:37:36: png.h: No such file or directory
WSDwinImage.cpp:198: field `pub' has incomplete type
............
but they already exist at [C:\Program Files\WideStudio\others\win32\jpeglib]
and [C:\Program Files\WideStudio\others\win32\libpng],
then I copy "jpeglib.h, png.h, jconfig.h, jmorecfg.h" to the source file
directory [C:\ws\include]
and make again, the errors as follows:
In file included from ../../include/jpeglib.h:37,
from WSDwinImage.cpp:36:
.../../include/jmorecfg.h:165: conflicting types for `typedef long int INT32'
C:/PROGRA~1/WIDEST~1/gcc/include/basetsd.h:52: previous declaration as
`typedef
int INT32'
In file included from WSDwinImage.cpp:36:
.../../include/jpeglib.h:105: 'boolean' is used as a type, but is not defined
as
a type.
Shigeki Moride, could you tell me how to compile the all directories
successfully ?
"Shigeki Moride" <moride.shigeki@jp.fujitsu.com> wrote in message
news:fa3hn5$rrm$1@build.eclipse.org...
> Hi,
>
> The tar ball that you got is Linux source.
> There is no need to build on Windows.
>
> You can use NAB by only wswin396-1.zip.
>
> Is this answer enough to you?
>
> Shigeki
>
> weimaomin wrote:
>> Hi,
>>
>> I have downloaded wswin396-1.zip and ws-v3.96.1-src.tar.gz at
>> (http://www.eclipse.org/dsdp/nab/downloads.php) .
>>
>> And installed wswin396-1.zip successfully on my Windows. Now I want to
>> compile the source file ws-v3.96.1-src.tar.gz on my machine, but there
>> are lot's of errors when I run makewin.bat.
>>
>> My steps is as follows:
>> 1 >cd ws-v3.96-1\src
>> 2. >configure-win.bat
>> 3. >makewin.bat
>>
>> At step 2, there are many files do not exist, and at step 3 there are
>> more errors.
>>
>> Such as:
>> 1) ar -rv ../../lib-st/libws.a ./runtime/master_obj.o
>> ar: ../../lib-st/libws.a: No such file or directory
>> make: *** [../../lib-st/libws.a] Error 1
>>
>> 2) WSDwinImage.cpp:36:21: jpeglib.h: No such file or directory
>> WSDwinImage.cpp:37:17: png.h: No such file or directory
>> WSDwinImage.cpp:198: field `pub' has incomplete type
>> WSDwinImage.cpp:199: 'jmp_buf' is used as a type, but is not defined
>> as a type.
>> ......
>>
>> 3) C:\ws-v3.96-1\src>cd nwin
>> 指定されたパスが見つかりません。
>>
>> Then I create a directory /src/lib-st, and delete the follows at
>> makewin.bat files (there are no nwin and wsagent-local directory at all):
>> cd nwin
>>
>> make -f make.win all
>>
>> cd ..
>>
>>
>>
>> cd wsagent-local
>>
>> make all
>>
>> cd
>>
>> And run makewin.bat again, but there are a lot of errors also.
>>
>>
>>
>> Thanks.
>>
>>
>>
>> /weimaomin
>>
>
|
|
|
Re: WideStudio build fails on Windows [message #277 is a reply to message #268] |
Tue, 28 August 2007 07:43 |
Shigeki Moride Messages: 26 Registered: July 2009 |
Junior Member |
|
|
Hi, weimaomin
Firstly, I'm sorry for slow response.
I have tried on same version.
But, I couldn't get same result.
OK, I have some suggestions.
1. Please run a WideStudio/ws/src/configure-win.bat firstly.
2. Please edit and run a WideStudio/ws/src/makewin.bat
- Maybe it contains unnecessary parts such as ruby java ocam and etc.
Please comment out such part you need.
3. If you use Localized Windows other than Japanese, perhaps you get
some errors based on Locale.
Then please try on English Windows.
I think this behavior is problem of deployment for worldwide users.
We needs help as you :-)
Shigeki,
weimaomin wrote:
> Hi, Shigeki Moride
>
> First, I introduce my work.:
> I'm a new programmer. Now my work is to analysis the relation of NAB and
> MWT.
> Such as, how to generate code when I drag a button on the Eclipse with
> NAB and MWT,
> how to add a new control (just like button control) to the NAB, and let
> it gererate code when
> I drag it(the new control) to the newwin.
>
> So, I need to modify the source file of MWT, and recompile it to dll and
> check the result.
> But now, I cannot compile the MWT source file successfully.
>
> Someone reply me that I should use the source which wswin396-1.zip
> contains for Windows,
> not ws-v3.96.1-src.tar.gz.
> I do it as above, but just fewer errors than before.
>
> In fact, some directory can compile to dll successfully, some not.
> For example, when I make win directory,
>> cd win
>> make -f make.win all
> the errors as follows:
> WSDwinImage.cpp:36:45: jpeglib.h: No such file or directory
> WSDwinImage.cpp:37:36: png.h: No such file or directory
> WSDwinImage.cpp:198: field `pub' has incomplete type
> ............
> but they already exist at [C:\Program
> Files\WideStudio\others\win32\jpeglib]
> and [C:\Program Files\WideStudio\others\win32\libpng],
> then I copy "jpeglib.h, png.h, jconfig.h, jmorecfg.h" to the source file
> directory [C:\ws\include]
> and make again, the errors as follows:
>
> In file included from ../../include/jpeglib.h:37,
> from WSDwinImage.cpp:36:
> ../../include/jmorecfg.h:165: conflicting types for `typedef long int
> INT32'
> C:/PROGRA~1/WIDEST~1/gcc/include/basetsd.h:52: previous declaration as
> `typedef
> int INT32'
> In file included from WSDwinImage.cpp:36:
> ../../include/jpeglib.h:105: 'boolean' is used as a type, but is not
> defined as
> a type.
>
> Shigeki Moride, could you tell me how to compile the all directories
> successfully ?
>
>
>
> "Shigeki Moride" <moride.shigeki@jp.fujitsu.com> wrote in message
> news:fa3hn5$rrm$1@build.eclipse.org...
>> Hi,
>>
>> The tar ball that you got is Linux source.
>> There is no need to build on Windows.
>>
>> You can use NAB by only wswin396-1.zip.
>>
>> Is this answer enough to you?
>>
>> Shigeki
>>
>> weimaomin wrote:
>>> Hi,
>>>
>>> I have downloaded wswin396-1.zip and ws-v3.96.1-src.tar.gz at
>>> (http://www.eclipse.org/dsdp/nab/downloads.php) .
>>>
>>> And installed wswin396-1.zip successfully on my Windows. Now I want to
>>> compile the source file ws-v3.96.1-src.tar.gz on my machine, but there
>>> are lot's of errors when I run makewin.bat.
>>>
>>> My steps is as follows:
>>> 1 >cd ws-v3.96-1\src
>>> 2. >configure-win.bat
>>> 3. >makewin.bat
>>>
>>> At step 2, there are many files do not exist, and at step 3 there are
>>> more errors.
>>>
>>> Such as:
>>> 1) ar -rv ../../lib-st/libws.a ./runtime/master_obj.o
>>> ar: ../../lib-st/libws.a: No such file or directory
>>> make: *** [../../lib-st/libws.a] Error 1
>>>
>>> 2) WSDwinImage.cpp:36:21: jpeglib.h: No such file or directory
>>> WSDwinImage.cpp:37:17: png.h: No such file or directory
>>> WSDwinImage.cpp:198: field `pub' has incomplete type
>>> WSDwinImage.cpp:199: 'jmp_buf' is used as a type, but is not defined
>>> as a type.
>>> ......
>>>
>>> 3) C:\ws-v3.96-1\src>cd nwin
>>> 指定されたパスが見つかりません。
>>>
>>> Then I create a directory /src/lib-st, and delete the follows at
>>> makewin.bat files (there are no nwin and wsagent-local directory at
>>> all):
>>> cd nwin
>>>
>>> make -f make.win all
>>>
>>> cd ..
>>>
>>>
>>>
>>> cd wsagent-local
>>>
>>> make all
>>>
>>> cd
>>>
>>> And run makewin.bat again, but there are a lot of errors also.
>>>
>>>
>>>
>>> Thanks.
>>>
>>>
>>>
>>> /weimaomin
>>>
>>
>
|
|
| | | | |
Re: WideStudio build fails on Windows [message #569034 is a reply to message #260] |
Wed, 22 August 2007 06:33 |
Eclipse User |
|
|
|
Originally posted by: weimaomin.gmail.com
Hi, Shigeki Moride
First, I introduce my work.:
I'm a new programmer. Now my work is to analysis the relation of NAB and
MWT.
Such as, how to generate code when I drag a button on the Eclipse with NAB
and MWT,
how to add a new control (just like button control) to the NAB, and let it
gererate code when
I drag it(the new control) to the newwin.
So, I need to modify the source file of MWT, and recompile it to dll and
check the result.
But now, I cannot compile the MWT source file successfully.
Someone reply me that I should use the source which wswin396-1.zip contains
for Windows,
not ws-v3.96.1-src.tar.gz.
I do it as above, but just fewer errors than before.
In fact, some directory can compile to dll successfully, some not.
For example, when I make win directory,
>cd win
>make -f make.win all
the errors as follows:
WSDwinImage.cpp:36:45: jpeglib.h: No such file or directory
WSDwinImage.cpp:37:36: png.h: No such file or directory
WSDwinImage.cpp:198: field `pub' has incomplete type
............
but they already exist at [C:\Program Files\WideStudio\others\win32\jpeglib]
and [C:\Program Files\WideStudio\others\win32\libpng],
then I copy "jpeglib.h, png.h, jconfig.h, jmorecfg.h" to the source file
directory [C:\ws\include]
and make again, the errors as follows:
In file included from ../../include/jpeglib.h:37,
from WSDwinImage.cpp:36:
.../../include/jmorecfg.h:165: conflicting types for `typedef long int INT32'
C:/PROGRA~1/WIDEST~1/gcc/include/basetsd.h:52: previous declaration as
`typedef
int INT32'
In file included from WSDwinImage.cpp:36:
.../../include/jpeglib.h:105: 'boolean' is used as a type, but is not defined
as
a type.
Shigeki Moride, could you tell me how to compile the all directories
successfully ?
"Shigeki Moride" <moride.shigeki@jp.fujitsu.com> wrote in message
news:fa3hn5$rrm$1@build.eclipse.org...
> Hi,
>
> The tar ball that you got is Linux source.
> There is no need to build on Windows.
>
> You can use NAB by only wswin396-1.zip.
>
> Is this answer enough to you?
>
> Shigeki
>
> weimaomin wrote:
>> Hi,
>>
>> I have downloaded wswin396-1.zip and ws-v3.96.1-src.tar.gz at
>> (http://www.eclipse.org/dsdp/nab/downloads.php) .
>>
>> And installed wswin396-1.zip successfully on my Windows. Now I want to
>> compile the source file ws-v3.96.1-src.tar.gz on my machine, but there
>> are lot's of errors when I run makewin.bat.
>>
>> My steps is as follows:
>> 1 >cd ws-v3.96-1\src
>> 2. >configure-win.bat
>> 3. >makewin.bat
>>
>> At step 2, there are many files do not exist, and at step 3 there are
>> more errors.
>>
>> Such as:
>> 1) ar -rv ../../lib-st/libws.a ./runtime/master_obj.o
>> ar: ../../lib-st/libws.a: No such file or directory
>> make: *** [../../lib-st/libws.a] Error 1
>>
>> 2) WSDwinImage.cpp:36:21: jpeglib.h: No such file or directory
>> WSDwinImage.cpp:37:17: png.h: No such file or directory
>> WSDwinImage.cpp:198: field `pub' has incomplete type
>> WSDwinImage.cpp:199: 'jmp_buf' is used as a type, but is not defined
>> as a type.
>> ......
>>
>> 3) C:\ws-v3.96-1\src>cd nwin
>> 指定されたパスが見つかりません。
>>
>> Then I create a directory /src/lib-st, and delete the follows at
>> makewin.bat files (there are no nwin and wsagent-local directory at all):
>> cd nwin
>>
>> make -f make.win all
>>
>> cd ..
>>
>>
>>
>> cd wsagent-local
>>
>> make all
>>
>> cd
>>
>> And run makewin.bat again, but there are a lot of errors also.
>>
>>
>>
>> Thanks.
>>
>>
>>
>> /weimaomin
>>
>
|
|
|
Re: WideStudio build fails on Windows [message #569061 is a reply to message #268] |
Tue, 28 August 2007 07:43 |
Shigeki Moride Messages: 26 Registered: July 2009 |
Junior Member |
|
|
Hi, weimaomin
Firstly, I'm sorry for slow response.
I have tried on same version.
But, I couldn't get same result.
OK, I have some suggestions.
1. Please run a WideStudio/ws/src/configure-win.bat firstly.
2. Please edit and run a WideStudio/ws/src/makewin.bat
- Maybe it contains unnecessary parts such as ruby java ocam and etc.
Please comment out such part you need.
3. If you use Localized Windows other than Japanese, perhaps you get
some errors based on Locale.
Then please try on English Windows.
I think this behavior is problem of deployment for worldwide users.
We needs help as you :-)
Shigeki,
weimaomin wrote:
> Hi, Shigeki Moride
>
> First, I introduce my work.:
> I'm a new programmer. Now my work is to analysis the relation of NAB and
> MWT.
> Such as, how to generate code when I drag a button on the Eclipse with
> NAB and MWT,
> how to add a new control (just like button control) to the NAB, and let
> it gererate code when
> I drag it(the new control) to the newwin.
>
> So, I need to modify the source file of MWT, and recompile it to dll and
> check the result.
> But now, I cannot compile the MWT source file successfully.
>
> Someone reply me that I should use the source which wswin396-1.zip
> contains for Windows,
> not ws-v3.96.1-src.tar.gz.
> I do it as above, but just fewer errors than before.
>
> In fact, some directory can compile to dll successfully, some not.
> For example, when I make win directory,
>> cd win
>> make -f make.win all
> the errors as follows:
> WSDwinImage.cpp:36:45: jpeglib.h: No such file or directory
> WSDwinImage.cpp:37:36: png.h: No such file or directory
> WSDwinImage.cpp:198: field `pub' has incomplete type
> ............
> but they already exist at [C:\Program
> Files\WideStudio\others\win32\jpeglib]
> and [C:\Program Files\WideStudio\others\win32\libpng],
> then I copy "jpeglib.h, png.h, jconfig.h, jmorecfg.h" to the source file
> directory [C:\ws\include]
> and make again, the errors as follows:
>
> In file included from ../../include/jpeglib.h:37,
> from WSDwinImage.cpp:36:
> ../../include/jmorecfg.h:165: conflicting types for `typedef long int
> INT32'
> C:/PROGRA~1/WIDEST~1/gcc/include/basetsd.h:52: previous declaration as
> `typedef
> int INT32'
> In file included from WSDwinImage.cpp:36:
> ../../include/jpeglib.h:105: 'boolean' is used as a type, but is not
> defined as
> a type.
>
> Shigeki Moride, could you tell me how to compile the all directories
> successfully ?
>
>
>
> "Shigeki Moride" <moride.shigeki@jp.fujitsu.com> wrote in message
> news:fa3hn5$rrm$1@build.eclipse.org...
>> Hi,
>>
>> The tar ball that you got is Linux source.
>> There is no need to build on Windows.
>>
>> You can use NAB by only wswin396-1.zip.
>>
>> Is this answer enough to you?
>>
>> Shigeki
>>
>> weimaomin wrote:
>>> Hi,
>>>
>>> I have downloaded wswin396-1.zip and ws-v3.96.1-src.tar.gz at
>>> (http://www.eclipse.org/dsdp/nab/downloads.php) .
>>>
>>> And installed wswin396-1.zip successfully on my Windows. Now I want to
>>> compile the source file ws-v3.96.1-src.tar.gz on my machine, but there
>>> are lot's of errors when I run makewin.bat.
>>>
>>> My steps is as follows:
>>> 1 >cd ws-v3.96-1\src
>>> 2. >configure-win.bat
>>> 3. >makewin.bat
>>>
>>> At step 2, there are many files do not exist, and at step 3 there are
>>> more errors.
>>>
>>> Such as:
>>> 1) ar -rv ../../lib-st/libws.a ./runtime/master_obj.o
>>> ar: ../../lib-st/libws.a: No such file or directory
>>> make: *** [../../lib-st/libws.a] Error 1
>>>
>>> 2) WSDwinImage.cpp:36:21: jpeglib.h: No such file or directory
>>> WSDwinImage.cpp:37:17: png.h: No such file or directory
>>> WSDwinImage.cpp:198: field `pub' has incomplete type
>>> WSDwinImage.cpp:199: 'jmp_buf' is used as a type, but is not defined
>>> as a type.
>>> ......
>>>
>>> 3) C:\ws-v3.96-1\src>cd nwin
>>> 指定されたパスが見つかりません。
>>>
>>> Then I create a directory /src/lib-st, and delete the follows at
>>> makewin.bat files (there are no nwin and wsagent-local directory at
>>> all):
>>> cd nwin
>>>
>>> make -f make.win all
>>>
>>> cd ..
>>>
>>>
>>>
>>> cd wsagent-local
>>>
>>> make all
>>>
>>> cd
>>>
>>> And run makewin.bat again, but there are a lot of errors also.
>>>
>>>
>>>
>>> Thanks.
>>>
>>>
>>>
>>> /weimaomin
>>>
>>
>
|
|
| | | |
Goto Forum:
Current Time: Thu Dec 26 19:01:18 GMT 2024
Powered by FUDForum. Page generated in 0.04203 seconds
|