Página 1 de 1

xEdit2 - Cannot Generate EXE

Publicado: Mié Feb 16, 2011 11:56 am
por CCH4CLIPPER
Hi
I am the owner of the Clipper... Clipper... Clipper blog.
I was just checking out the progress of Xailer and was pleasantly surprised that you have continued development of Xedit
Just downloaded XEdit2 and was impressed with the ease of use. Managed to get my Harbour project (already compilable via Hb2.1 and Hb2.0 hbmk2) compiled but I simply cannot get it to generate an EXE.
FYI, my environment are as follows :-
1. Win 7, Home Premium
2. MinGW linker
3. Hb20
Can you help ?
BTW, I am writing a review on xEdit2 which is WIP
CCH

xEdit2 - Cannot Generate EXE

Publicado: Jue Feb 17, 2011 5:51 pm
por ignacio
CCH4CLIPPER escribió el mié, 16 febrero 2011 11:56Hi ...
Can you help ?
CCH
Just tested with MinGw built in Harbour 2.0 and working!!
You just need to change the path:
gccmingw323.4.5...
To
gccmingw324.4.1...
In the Habour + MinGw environment under the C compiler library options.
Of course, C compiler root dir should be <harbour>compmingw
Regards,


Attached files

xEdit2 - Cannot Generate EXE

Publicado: Jue Feb 17, 2011 5:58 pm
por ignacio
ignacio escribió el jue, 17 febrero 2011 17:51CCH4CLIPPER escribió el mié, 16 febrero 2011 11:56Hi ...
Can you help ?
CCH
Just tested with MinGw built in Harbour 2.0 and working!!
You just need to change the path:
gccmingw323.4.5...
To
gccmingw324.4.1...
In the Habour + MinGw environment under the C compiler library options.
Of course, C compiler root dir should be <harbour>compmingw
Regards,

Also, note that the Harbour Lib path should be:
<Harbour>Libwinmingw
Regards,

xEdit2 - Cannot Generate EXE

Publicado: Vie Feb 18, 2011 10:18 am
por CCH4CLIPPER
Hi Ignatio
TQVM for the tips but I still have issue.
FYI,
Compiler Root =C:hb20compmingw
Compiler Bin=C:hb20compmingwBin
Compiler Include=C:hb20compmingwInclude
Compiler Lib=C:hb20libwinmingw
Can you email me your demo project that actually can compile to an EXE ?
Cannot find .o files

Linking: KOSELFAS.exe...
C:MinGWBinld @link.tmp
C:MinGWBinld: C:/xedit2/PROJECTS/KOSELFAS/KOSELFAS.o: No such file: No such file or directory
147 Files, 0 Warnings, 0 Errors
Compile time: 1.63s Link time: 0.36s Total time: 2.06s

xEdit2 - Cannot Generate EXE

Publicado: Vie Feb 18, 2011 11:12 am
por ignacio
from my xedit.cfg
[Harbour Mingw]
Default=.F.
Include=
Lib=
Libraries=
HBCompiler=Harbour
HBDir=C:Harbour
HBDirBin=C:HarbourBin
HBDirInclude=C:HarbourInclude
HBDirLib=C:HarbourLibwinmingw
HBFlags=/n
HBLibraries=-xhb,+hbrtl,+hbvm,+gtwin,-gtgui,+hblang,+hbmacro ,+hbcommon,+hbpp,+hbcpage,-hbnulrdd,+hbrdd,+rddntx,+rddcdx,+ rddfpt,+hbsix,-hbbmcdx,-rddads,-ace32,-rddado,-hbct,-hbpcre
CCompiler=MinGW
CDir=C:harbourcompmingw
CDirBin=C:harbourcompmingwBin
CDirInclude=C:harbourcompmingwInclude
CDirLib=C:harbourcompmingwLib
CFlags=-c -Os -mtune=pentium -masm=intel
CLibraries=+crt2.o,+gccmingw324.4.1crtbegin.o,+mingw32,+g ccmingw324.4.1gcc,+moldname,+mingwex,+msvcrt,+user32,+ker nel32,+advapi32,+shell32,+winspool,+ole32,+oleaut32
StripSymbols=.T.
RCDefault=.T.
RC=
RCFlags=
LinkFlags=-O3 -s
StandardIcons=.F.
LibFlags=
Regards
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Chee Chong Hwa" escribió en el mensaje de
noticias:4d5e3979$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Hi Ignatio
TQVM for the tips but I still have issue.
FYI,
Compiler Root =C:hb20compmingw
Compiler Bin=C:hb20compmingwBin
Compiler Include=C:hb20compmingwInclude
Compiler Lib=C:hb20libwinmingw
Can you email me your demo project that actually can compile
to an EXE ?
Cannot find .o files
Linking: KOSELFAS.exe...
C:MinGWBinld @link.tmp
C:MinGWBinld: C:/xedit2/PROJECTS/KOSELFAS/KOSELFAS.o: No
such file: No such file or directory
147 Files, 0 Warnings, 0 Errors
Compile time: 1.63s Link time: 0.36s Total time: 2.06s

xEdit2 - Cannot Generate EXE

Publicado: Vie Feb 18, 2011 4:45 pm
por CCH4CLIPPER
Hi Ignatio
I followed the settings as per your Xedit.cfg and .o files are confirmed to be created but now cannot find -lhbrtl.lib
Linking: KOSELFAS.exe...
C:hb20compmingwBinld @link.tmp
C:hb20compmingwBinld: cannot find -lhbrtl.lib
139 Files, 0 Warnings, 0 Errors
Compile time: 17.67s Link time: 0.15s Total time: 17.88s
FYI, a simple hbmk2 koselfas.hbp easily created koselfas.exe
What now ?

xEdit2 - Cannot Generate EXE

Publicado: Mié Abr 06, 2011 8:24 pm
por Sergio
Chee Chong Hwa <CheeChongHwa[at]gmail[dot]com> wrote:
>Hi Ignatio
>
>I followed the settings as per your Xedit.cfg and .o files
>are confirmed to be created but now cannot find -lhbrtl.lib
>:)
>
>Linking: KOSELFAS.exe...
>
>C:hb20compmingwBinld @link.tmp
>
>C:hb20compmingwBinld: cannot find -lhbrtl.lib
>139 Files, 0 Warnings, 0 Errors
>Compile time: 17.67s Link time: 0.15s Total time:
>17.88s
>
>FYI, a simple hbmk2 koselfas.hbp easily created
>koselfas.exe
>
>What now ?
>
>
Exactamente el mismo problema

xEdit2 - Cannot Generate EXE

Publicado: Jue Abr 07, 2011 12:11 am
por SerPatagonico
Hi Ignacio,
I have the same enviroment and the same issue that CCH4CLIPPER
C:hb20compmingwBinld: cannot find -lhbrtl.lib
As I can see, this .lib (In Harbour 2.0) is present in msvc and bcc, but no in mingw.
How can I solve this fact?
Sorry for my English, but I think that your answer may be good for me and for CCH4CLIPPER
Thanks!

xEdit2 - Cannot Generate EXE

Publicado: Jue Abr 07, 2011 7:34 pm
por ignacio
I include with this Email the configuration fro Harbour2+Mingw from my
xEdit.cfg file. As you can see there is no reference to such library.
Regards,
[Harbour Mingw]
Default=.F.
Include=
Lib=
Libraries=
HBCompiler=Harbour
HBDir=C:Harbour
HBDirBin=C:HarbourBin
HBDirInclude=C:HarbourInclude
HBDirLib=C:HarbourLibwinmingw
HBFlags=/n
HBLibraries=-xhb,+hbrtl,+hbvm,+gtwin,-gtgui,+hblang,+hbmacro ,+hbcommon,+hbpp,+hbcpage,-hbnulrdd,+hbrdd,+rddntx,+rddcdx,+ rddfpt,+hbsix,-hbbmcdx,-rddads,-ace32,-rddado,-hbct,-hbpcre
CCompiler=MinGW
CDir=C:harbourcompmingw
CDirBin=C:harbourcompmingwBin
CDirInclude=C:harbourcompmingwInclude
CDirLib=C:harbourcompmingwLib
CFlags=-c -Os -mtune=pentium -masm=intel
CLibraries=+crt2.o,+gccmingw324.4.1crtbegin.o,+mingw32,+g ccmingw324.4.1gcc,+moldname,+mingwex,+msvcrt,+user32,+ker nel32,+advapi32,+shell32,+winspool,+ole32,+oleaut32
StripSymbols=.T.
RCDefault=.T.
RC=
RCFlags=
LinkFlags=-O3 -s
StandardIcons=.F.
LibFlags=
Regards
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Sergio" escribió en el mensaje de noticias:4d9ddda0$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Hi Ignacio,
I have the same enviroment and the same issue that
CCH4CLIPPER
C:hb20compmingwBinld: cannot find -lhbrtl.lib
As I can see, this .lib (In Harbour 2.0) is present in msvc
and bcc, but no in mingw.
How can I solve this fact?
Sorry for my English, but I think that your answer may be
good for me and for CCH4CLIPPER
Thanks!