How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post Reply
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by shri_fwh »

Hi ,

I have downloaded UEStudio and MS Visual Studio Express 2012. I have tried to setup VC compiler and Coding style for xharbour bur not able setup it. Could you please provide easy steps to setup UEStudio with MS Visual Express 2012. Thanks in advance...!

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Richard Chidiak »

Here is a uestudio script file with Harbour and Msvc 2012.

Hth

Richard

Code: Select all


# --------- Harbour y FWH configuration --------
# --- general --------------------------------------
# $P  - project name
# $Pp - path to project directory
# $Pn - project name
# --- compile --------------------------------------
# $I  - input full name
# $Ip - input path
# $In - input name
# $Ie - input extension
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for compiler
# --- build ----------------------------------------
# $T  - target full name
# $Tp - target path
# $Tn - target name
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for linker

[Settings]
Target = 
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =

Category&02 = Harbour Options
Automatic Memvar Declaration = no|yes
Variables Are Assumed = no|yes
Generate Preprocessed Output = no|yes
Warning Level = 1|2|3|4|0
User Include Path =
User Defines =

Compiler Options =
Linker Options =

Excluded Files = Excludes

[SettingsInfo]
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Working Directory = Provides a space for you to specify the directory in which executing occurs. If you do not specify a directory, executing occurs in the directory where the executable is located.
Command Line Arguments = Provides a space for you to specify command-line arguments you want to pass to the program at startup.
Compiler Options = Provides a space for you to specify an additional compiler options.
User Defines = Shows the switches the tool will use to build. Use ';' as delimiter.
Linker Options = Provides a space for you to specify an additional linker options.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.

[SettingsReps]
User Defines = @[;|-D%s]
Automatic Memvar Declaration = no=|yes=/a
Variables Are Assumed = no=|yes=/v
Generate Preprocessed Output = no=|yes=/p
User Include Path = ^^@[;|;%s]
User Include Path&1 = ^^@[;| /i%s]
Use Multi Thread Library = no|yes
Warning Level = @/w%s

[Variables]
FWH = c:\fwh
HPATH = c:\Harbour
CPATH = "c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"
CPATHIDE = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE
SDKPATH = "c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A"

HPATHL = $(HPATH)\LIB\win\msvc
CPATHL = $(CPATH)\LIB
SDKPATHL = $(SDKPATH)\LIB

HOPT = /n /gc0 /q $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)
COPT = -TP -W3 -c -I$(HPATH)\INCLUDE

LOPT = /nologo /subsystem:windows /force:multiple /NODEFAULTLIB:libc
LIBS1 = $(FWH)\LIB\FiveH32.lib $(FWH)\LIB\FiveHC32.lib 
LIBS2 = $(HPATHL)\hbrtl.lib $(HPATHL)\hbvm.lib $(HPATHL)\gtgui.lib $(HPATHL)\hblang.lib $(HPATHL)\hbmacro.lib $(HPATHL)\hbrdd.lib $(HPATHL)\rddntx.lib $(HPATHL)\rddcdx.lib $(HPATHL)\rddfpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\hbdebug.lib $(HPATHL)\hbcommon.lib $(HPATHL)\hbpp.lib $(HPATHL)\xhb.lib $(HPATHL)\png.lib $(HPATHL)\hbzlib.lib $(HPATHL)\hbcpage.lib $(HPATHL)\hbwin.lib $(HPATHL)\hbct.lib $(HPATHL)\hbcplr.lib $(HPATHL)\hbpcre.lib $(HPATHL)\minizip.lib $(HPATHL)\hbziparc.lib $(HPATHL)\hbmzip.lib $(HPATHL)\hbtip.lib
LIBS3 = $(SDKPATHL)\kernel32.lib $(SDKPATHL)\user32.lib $(SDKPATHL)\gdi32.lib $(SDKPATHL)\winspool.lib $(SDKPATHL)\comctl32.lib $(SDKPATHL)\comdlg32.lib $(SDKPATHL)\advapi32.lib $(SDKPATHL)\shell32.lib $(SDKPATHL)\ole32.lib $(SDKPATHL)\oleaut32.lib $(SDKPATHL)\uuid.lib $(SDKPATHL)\odbc32.lib $(SDKPATHL)\odbccp32.lib $(SDKPATHL)\iphlpapi.lib $(SDKPATHL)\mpr.lib $(SDKPATHL)\version.lib $(SDKPATHL)\wsock32.lib $(SDKPATHL)\msimg32.lib $(SDKPATHL)\oledlg.lib $(SDKPATHL)\psapi.lib $(SDKPATHL)\gdiplus.lib $(SDKPATHL)\winmm.lib $(SDKPATHL)\WS2_32.LIB
LIBS = $(LIBS1) $(LIBS2) $(LIBS3)

[Environment]
PATH = $(HPATH)\BIN;$(CPATH)\BIN;$(SDKPATH)\BIN;$(CPATHIDE);%PATH%
INCLUDE = $(FWH)\INCLUDE;$(HPATH)\INCLUDE ;$(CPATH)\INCLUDE;$(SDKPATH)\INCLUDE
LIB = $(HPATHL);$(CPATHL);$(SDKPATHL);$(FWH)\LIB
BuildMode = %UESMode%

[General]
TargetExt = .EXE
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 1
UseDosNames = 0
Excludes = $(Excluded Files)
GenerateEDGroup=$(External Dependencies)
.CPP = .C

[MakeCommands]
run = Execute Application
makef = Show Makefile

[Execute Application]
Title = Execute $T
Cmd0 = $(Command Line Arguments)
Depends = $T
ShowWindow = 1
DisplayConsole = 0

[Show Makefile]
Title=Show makefile
Cmd0=uestudio makefile
ShowWindow=1
DisplayConsole=0

[InsertFiles]

[FileGroups]
FGO = .obj;
FGR = .res;
FGL = .lib;
FGD = .def;

[GroupFormats]
FGO = %s
FGR = %s
FGL = %s

[Build]
Out = $T
Depends = $FGO $FGR
DebugFlag = 
ReleaseFlag = 
Cmd0 = $(CPATH)\BIN\LINK $(LOPT) $FGO $FGR $(LIBS1) $(LIBS2) $(LIBS4) "$(SDKPATHL)"\kernel32.lib "$(SDKPATHL)"\user32.lib "$(SDKPATHL)"\gdi32.lib "$(SDKPATHL)"\winspool.lib "$(SDKPATHL)"\comctl32.lib "$(SDKPATHL)"\comdlg32.lib "$(SDKPATHL)"\advapi32.lib "$(SDKPATHL)"\advapi32.lib "$(SDKPATHL)"\shell32.lib "$(SDKPATHL)"\ole32.lib "$(SDKPATHL)"\oleaut32.lib "$(SDKPATHL)"\uuid.lib "$(SDKPATHL)"\odbc32.lib "$(SDKPATHL)"\odbccp32.lib "$(SDKPATHL)"\iphlpapi.lib "$(SDKPATHL)"\mpr.lib "$(SDKPATHL)"\version.lib "$(SDKPATHL)"\wsock32.lib "$(SDKPATHL)"\msimg32.lib "$(SDKPATHL)"\oledlg.lib "$(SDKPATHL)"\psapi.lib "$(SDKPATHL)"\gdiplus.lib "$(SDKPATHL)"\winmm.lib "$(SDKPATHL)"\ws2_32.lib
[.PRG]
Out = $In.c
DebugFlag = /b
ReleaseFlag = 
Cmd0 = $(HPATH)\BIN\harbour $I $(HOPT) $R /o$O

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

[.C]
Out = $In.obj
Cmd0 = $(CPATH)\BIN\cl.exe $(COPT) $I 

[.RC]
Out = $In.res
Cmd0 = $(SDKPATH)\bin\rc -r -fo$O $I

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

 
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Antonio Linares »

Richard,

thanks for the help :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by shri_fwh »

Hi Richard , Antino ,

Currently I am using xHarbour and Borland 582 version. I did not download the Harbour bin and libs for msvc 2012 ( optimized for FWH ). Could you please let me know where I can get these files ?

Using FWH version 12.08/12.11.

Please guide for the same. Thanks in advance..!

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Richard Chidiak »

Sridhar

https://code.google.com/p/harbour-and-x ... loads/list

Msvc2010 is the one (same build for msvc2012)

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by shri_fwh »

Hi Richard ,

Not able to produce .EXE. I have tried to change setup parameters for Harbour/MSVC compiler by changing below paths as per my installation. But still could NOT get success to generate .EXE. I am trying the same. if you have any quick setup that would be great help for me. thanks in advance..!

#SDKPATH = "c:\Program Files\Microsoft SDKs\Windows\v7.0A"
SDKPATH = "C:\Program Files\Windows Kits\8.0\Lib\win8\um\x86"
#HPATHL = $(HPATH)\LIB\win\msvc
HPATHL = $(HPATH)\LIB
CPATHL = $(CPATH)\LIB
#SDKPATHL = $(SDKPATH)\LIB
SDKPATHL = $(SDKPATH)

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Richard Chidiak »

Sridhar

HPATH = c:\Harbour
#HPATHL = $(HPATH)\LIB\win\msvc // check you have the installation correct here or change the path

Have you installed msvc 2012 standard way or is it customized ?

these 2 are mandatory also

#SDKPATH = "c:\Program Files\Microsoft SDKs\Windows\v7.0A"
SDKPATH = "C:\Program Files\Windows Kits\8.0\Lib\win8\um\x86"

i am using windows 8 , if you are using a different os probably the path of the above will be different "C:\Program Files\Windows Kits\8.0\Lib\win8\um\x86"

it is a matter of path, once you have it set, it should go straight

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by shri_fwh »

Hi Richard ,

The Installed Harbour folder has \LIB sub folder but the \LIB sub folder does not have the sub folder win\msvc that is the problem. I am not sure which .lib are required.

HPATH = c:\Harbour
#HPATHL = $(HPATH)\LIB\win\msvc // check you have the installation correct here or change the path

I have installed Express Edition 2012 in standard way without doing any customization on windows 7.

#SDKPATH = "c:\Program Files\Microsoft SDKs\Windows\v7.0A"
SDKPATH = "C:\Program Files\Windows Kits\8.0\Lib\win8\um\x86"

I did not understand why one of the sub folder shows \win8 ?

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Richard Chidiak »

Shridhar

HPATH = c:\Harbour
#HPATHL = $(HPATH)\LIB // please change this line

SDKPATH = "C:\Program Files\Windows Kits\8.0\Lib\win8\um\x86" // you have to check this i am using windows 8 my guess (not sure) is

SDKPATH = "C:\Program Files\Windows Kits\7.0\Lib\win7\um\x86" // check the correct names of the folders is windows 7

Hth

Rihard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by shri_fwh »

Hi Rihard ,

I could sucessfully build simple "Hello world...!" program. Thanks for your help...!


Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Richard Chidiak »

Hi Shridhar

I am glad you succeeded , we need more and more friends using MS visual studio

Best regards,

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Andrés González
Posts: 625
Joined: Thu Jan 19, 2006 10:45 am
Location: Mallorca

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Andrés González »

Richard, do you know how to generate correct .res

My error:
--------------------Configuración: FDBU - Release--------------------
Harbour 3.2.0dev (r1309241459)
Copyright (c) 1999-2013, http://harbour-project.org/
G:\FWH\1301\FWH\MySamples\FDBU\fivedbu.prg(837) Warning W0001 Ambiguous reference 'CFILENAME'
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60610.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
fivedbu.c
Harbour 3.2.0dev (r1309241459)
Copyright (c) 1999-2013, http://harbour-project.org/
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60610.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
strings.c
"c:\Program" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
LINK : fatal error LNK1181: cannot open input file 'fivedbu.res'
FDBU.EXE - 1 error(es), 1 advertencia(s)
The two files .prg are compiling correct but not .rc

Code: Select all

# --------- Harbour y FWH configuration --------
# --- general --------------------------------------
# $P  - project name
# $Pp - path to project directory
# $Pn - project name
# --- compile --------------------------------------
# $I  - input full name
# $Ip - input path
# $In - input name
# $Ie - input extension
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for compiler
# --- build ----------------------------------------
# $T  - target full name
# $Tp - target path
# $Tn - target name
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for linker

[Settings]
Target =
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =

Category&02 = Harbour Options
Automatic Memvar Declaration = no|yes
Variables Are Assumed = no|yes
Generate Preprocessed Output = no|yes
Warning Level = 1|2|3|4|0
User Include Path =
User Defines =

Compiler Options =
Linker Options =

Excluded Files = Excludes

[SettingsInfo]
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Working Directory = Provides a space for you to specify the directory in which executing occurs. If you do not specify a directory, executing occurs in the directory where the executable is located.
Command Line Arguments = Provides a space for you to specify command-line arguments you want to pass to the program at startup.
Compiler Options = Provides a space for you to specify an additional compiler options.
User Defines = Shows the switches the tool will use to build. Use ';' as delimiter.
Linker Options = Provides a space for you to specify an additional linker options.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.

[SettingsReps]
User Defines = @[;|-D%s]
Automatic Memvar Declaration = no=|yes=/a
Variables Are Assumed = no=|yes=/v
Generate Preprocessed Output = no=|yes=/p
User Include Path = ^^@[;|;%s]
User Include Path&1 = ^^@[;| /i%s]
Use Multi Thread Library = no|yes
Warning Level = @/w%s

[Variables]
FWH = G:\FWH\1301\FWH
HPATH = G:\FWH\1301\MSVC
PATH = "c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"
CPATHIDE = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE
SDKPATH = "c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A"

HPATHL = $(HPATH)\LIB
CPATHL = $(CPATH)\LIB
SDKPATHL = $(SDKPATH)\LIB

HOPT = /n /gc0 /q $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)
COPT = -TP -W3 -c -I$(HPATH)\INCLUDE

LOPT = /nologo /subsystem:windows /force:multiple /NODEFAULTLIB:libc
LIBS1 = $(FWH)\LIB\FiveH32.lib $(FWH)\LIB\FiveHC32.lib
LIBS2 = $(HPATHL)\hbrtl.lib $(HPATHL)\hbvm.lib $(HPATHL)\gtgui.lib $(HPATHL)\hblang.lib $(HPATHL)\hbmacro.lib $(HPATHL)\hbrdd.lib $(HPATHL)\rddntx.lib $(HPATHL)\rddcdx.lib $(HPATHL)\rddfpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\hbdebug.lib $(HPATHL)\hbcommon.lib $(HPATHL)\hbpp.lib $(HPATHL)\xhb.lib $(HPATHL)\png.lib $(HPATHL)\hbzlib.lib $(HPATHL)\hbcpage.lib $(HPATHL)\hbwin.lib $(HPATHL)\hbct.lib $(HPATHL)\hbcplr.lib $(HPATHL)\hbpcre.lib $(HPATHL)\minizip.lib $(HPATHL)\hbziparc.lib $(HPATHL)\hbmzip.lib $(HPATHL)\hbtip.lib
LIBS3 = $(SDKPATHL)\kernel32.lib $(SDKPATHL)\user32.lib $(SDKPATHL)\gdi32.lib $(SDKPATHL)\winspool.lib $(SDKPATHL)\comctl32.lib $(SDKPATHL)\comdlg32.lib $(SDKPATHL)\advapi32.lib $(SDKPATHL)\shell32.lib $(SDKPATHL)\ole32.lib $(SDKPATHL)\oleaut32.lib $(SDKPATHL)\uuid.lib $(SDKPATHL)\odbc32.lib $(SDKPATHL)\odbccp32.lib $(SDKPATHL)\iphlpapi.lib $(SDKPATHL)\mpr.lib $(SDKPATHL)\version.lib $(SDKPATHL)\wsock32.lib $(SDKPATHL)\msimg32.lib $(SDKPATHL)\oledlg.lib $(SDKPATHL)\psapi.lib $(SDKPATHL)\gdiplus.lib $(SDKPATHL)\winmm.lib $(SDKPATHL)\WS2_32.LIB
LIBS = $(LIBS1) $(LIBS2) $(LIBS3)

[Environment]
PATH = $(HPATH)\BIN;$(CPATH)\BIN;$(SDKPATH)\BIN;$(CPATHIDE);%PATH%
INCLUDE = $(FWH)\INCLUDE;$(HPATH)\INCLUDE ;$(CPATH)\INCLUDE;$(SDKPATH)\INCLUDE
LIB = $(HPATHL);$(CPATHL);$(SDKPATHL);$(FWH)\LIB
BuildMode = %UESMode%

[General]
TargetExt = .EXE
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 1
UseDosNames = 0
Excludes = $(Excluded Files)
GenerateEDGroup=$(External Dependencies)
.CPP = .C

[MakeCommands]
run = Execute Application
makef = Show Makefile

[Execute Application]
Title = Execute $T
Cmd0 = $(Command Line Arguments)
Depends = $T
ShowWindow = 1
DisplayConsole = 0

[Show Makefile]
Title=Show makefile
Cmd0=uestudio makefile
ShowWindow=1
DisplayConsole=0

[InsertFiles]

[FileGroups]
FGO = .obj;
FGR = .res;
FGL = .lib;
FGD = .def;

[GroupFormats]
FGO = %s
FGR = %s
FGL = %s

[Build]
Out = $T
Depends = $FGO $FGR
DebugFlag =
ReleaseFlag =
Cmd0 = $(CPATH)\BIN\LINK $(LOPT) $FGO $FGR $(LIBS1) $(LIBS2) $(LIBS4) "$(SDKPATHL)"\kernel32.lib "$(SDKPATHL)"\user32.lib "$(SDKPATHL)"\gdi32.lib "$(SDKPATHL)"\winspool.lib "$(SDKPATHL)"\comctl32.lib "$(SDKPATHL)"\comdlg32.lib "$(SDKPATHL)"\advapi32.lib "$(SDKPATHL)"\advapi32.lib "$(SDKPATHL)"\shell32.lib "$(SDKPATHL)"\ole32.lib "$(SDKPATHL)"\oleaut32.lib "$(SDKPATHL)"\uuid.lib "$(SDKPATHL)"\odbc32.lib "$(SDKPATHL)"\odbccp32.lib "$(SDKPATHL)"\iphlpapi.lib "$(SDKPATHL)"\mpr.lib "$(SDKPATHL)"\version.lib "$(SDKPATHL)"\wsock32.lib "$(SDKPATHL)"\msimg32.lib "$(SDKPATHL)"\oledlg.lib "$(SDKPATHL)"\psapi.lib "$(SDKPATHL)"\gdiplus.lib "$(SDKPATHL)"\winmm.lib "$(SDKPATHL)"\ws2_32.lib

[.PRG]
Out = $In.c
DebugFlag = /b
ReleaseFlag =
Cmd0 = $(HPATH)\BIN\HARBOUR $I $(HOPT) $R /o$O

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

[.C]
Out = $In.obj
Cmd0 = $(CPATH)\BIN\cl.exe $(COPT) $I

[.RC]
Out = $In.res
Cmd0 = $(SDKPATH)\bin\rc -r -fo$O $I

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.


 
Saludos

Andrés González desde Mallorca
User avatar
Andrés González
Posts: 625
Joined: Thu Jan 19, 2006 10:45 am
Location: Mallorca

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Andrés González »

[.RC]
Out = $In.res
Cmd0 = $(SDKPATH)\bin\rc -r -fo$O $I
rc don't exit in 7.0A, but it's in 7.1A
Saludos

Andrés González desde Mallorca
User avatar
Andrés González
Posts: 625
Joined: Thu Jan 19, 2006 10:45 am
Location: Mallorca

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Andrés González »

new error after rc solved:
--------------------Configuración: FDBU - Release--------------------
Harbour 3.2.0dev (r1309241459)
Copyright (c) 1999-2013, http://harbour-project.org/
G:\FWH\1301\FWH\MySamples\FDBU\fivedbu.prg(837) Warning W0001 Ambiguous reference 'CFILENAME'
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60610.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
fivedbu.c
Harbour 3.2.0dev (r1309241459)
Copyright (c) 1999-2013, http://harbour-project.org/
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60610.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
strings.c
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation. All rights reserved.
Creating library fivedbu.lib and object fivedbu.exp
fivedbu.obj : error LNK2001: unresolved external symbol _HB_FUN_SETDLGGRADIENT
fivedbu.obj : error LNK2001: unresolved external symbol _HB_FUN_DRAWTILED
FiveH32.lib(HELP32.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(GETTASKS.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(PRV2PDF.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(TMETAFIL.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(INI.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(SHELLAPI.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(IMAGE.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(FILENAME.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(DIALOG.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(MEMOEDIT.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(HELP32.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(GETTASKS.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(PRV2PDF.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(TMETAFIL.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(INI.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(SHELLAPI.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(IMAGE.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(FILENAME.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(DIALOG.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(MEMOEDIT.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_XFREEPROC
fivedbu.exe : fatal error LNK1120: 5 unresolved externals
FDBU.EXE - 28 error(es), 1 advertencia(s)
Antonio a que puede ser debido?
Saludos

Andrés González desde Mallorca
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Post by Richard Chidiak »

Andrés

What fwh version are you using ?

It looks like your fwh libraries are not correct

Have you done a complete generation to the program ?

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Post Reply