Page 1 of 1

build error with UESTUDIO?

PostPosted: Sat Jun 12, 2010 1:04 pm
by dutch
Dear Antonio,

I build FWPPC by UESTUDIO and got error as following

--------------------Configuration: EZPDA - Release--------------------
FiveCE.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol HB_FUN_TOLEAUTO
FiveCE.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol HB_FUN_FREELIBRARY
FiveCE.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol HB_FUN_LOADLIBRARY
EZPDA.exe : fatal error LNK1120: 3 unresolved externals
EZPDA.EXE - 4 error(s), 0 warning(s)

Regards,
Dutch

Re: build error with UESTUDIO?

PostPosted: Sat Jun 12, 2010 2:33 pm
by Antonio Linares
Dutch,

You have to link hbwin.lib from Harbour too :-)

Re: build error with UESTUDIO?

PostPosted: Sat Jun 12, 2010 3:50 pm
by dutch
Dear Antonio,

I've got another error
--------------------Configuration: EZPDA - Release--------------------
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

EZPDA.c
hbvm.lib(hvmall.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x0003D73C
EZPDA.exe : fatal error LNK1106: invalid file or disk full: cannot seek to 0xDF5E8
EZPDA.EXE - 1 error(s), 1 warning(s)

Re: build error with UESTUDIO?

PostPosted: Sat Jun 12, 2010 7:44 pm
by Antonio Linares
Dutch,

EZPDA.exe : fatal error LNK1106: invalid file or disk full


First time I see that error. Do you have enough free disk space on your computer ?

Please go to FWPPC\samples and do buildce.bat tutor01
Lets check if your tools are properly installed and if it builds tutor01.exe, thanks

Re: build error with UESTUDIO?

PostPosted: Sun Jun 13, 2010 9:22 am
by dutch
Dear Antonio,
Antonio Linares wrote:First time I see that error. Do you have enough free disk space on your computer ?

Please go to FWPPC\samples and do buildce.bat tutor01
Lets check if your tools are properly installed and if it builds tutor01.exe, thanks


My disk has free space 70Gb and 'buildce.bat tutor01' is build perfectly (without problem).

I try again today and it shows as below.
Code: Select all  Expand view
--------------------Configuration: EZPDA - Release--------------------
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

EZPDA.c
hbvm.lib(hvmall.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x0003D68C
EZPDA.EXE - 0 error(s), 1 warning(s)
 

Re: build error with UESTUDIO?

PostPosted: Sun Jun 13, 2010 9:26 am
by Antonio Linares
Dutch,

Are you using a makefile to build FWPPC apps from UEStudio ?

Is it the one that we provide with FWPPC ?

If you are using just one PRG you can set a new yestudio tool and directly call buildce.bat from it. I can show you how to do this. It is very useful :-)

Re: build error with UESTUDIO?

PostPosted: Sun Jun 13, 2010 9:27 am
by Antonio Linares
Dutch,

That result from today is fine! :-)

You can safely ignore that warning or use this flag when you call link.exe: /ARMPADCODE:NO to avoid it

Re: build error with UESTUDIO?

PostPosted: Sun Jun 13, 2010 9:29 am
by dutch
Antonio Linares wrote:Dutch,

Are you using a makefile to build FWPPC apps from UEStudio ?

Is it the one that we provide with FWPPC ?

If you are using just one PRG you can set a new yestudio tool and directly call buildce.bat from it. I can show you how to do this. It is very useful :-)


1. No, it is not from UESTUDIO.
2. Yes, from FWPPC.
3. It might be ok, how?

Re: build error with UESTUDIO?

PostPosted: Sun Jun 13, 2010 10:28 am
by Antonio Linares
Dutch,

This way you can call FiveWin batch files directly from UEStudio and this is really usefull for quick testing, etc :-)

Image

Image

Image

Re: build error with UESTUDIO?

PostPosted: Mon Jun 14, 2010 4:38 am
by dutch
Dear Antonio,

I've used your setup for single PRG. It works fine now.

Thanks a lot

Re: build error with UESTUDIO?

PostPosted: Mon Jun 14, 2010 10:53 am
by Antonio Linares
Dutch,

Very good :-)