I'm trying to build RI triggers for the sample model that comes with Free Ca gen 8.6.
I'm using Windows 7 64-bit on a 64-bit machine.
The database is oracle 12c 64bit.
The compiler is visual studio 2015.
When I reviewed "CASCADE.out" I found a warning at the beginning of the file as follows:
***WARNING*** Attempting to build GUI Application with 64bit compiler.
***WARNING*** OPT.BITS changed to 32 for GUI Application build.
and at the end of "CASCADE.out" I found a linker error as follows:
Compiles for CASCADE DLL Dependencies done.
...Linking CASCADE DLL
link /OPT:NOREF /NOLOGO /NODEFAULTLIB:LIBCMT /DLL /SUBSYSTEM:WINDOWS /entry:_DllMainCRTStartup@12 /OUT:"C:\CA\Gen86Free\Gen\Samples\Models\sample.ief\c\CASCADE.DLL" /implib:"C:\CA\Gen86Free\Gen\Samples\Models\sample.ief\c\CASCADE.LIB" /def:"C:\CA\Gen86Free\Gen\Samples\Models\sample.ief\c\CASCADE.DEF" @"C:\CA\Gen86Free\Gen\Samples\Models\sample.ief\c\CASCADE.LNK"
Creating library C:\CA\Gen86Free\Gen\Samples\Models\sample.ief\c\CASCADE.LIB and object C:\CA\Gen86Free\Gen\Samples\Models\sample.ief\c\CASCADE.exp
E3407893.OBJ : error LNK2019: unresolved external symbol _sqlcxt referenced in function _f_219938828
F1021505.OBJ : error LNK2001: unresolved external symbol _sqlcxt
F1021445.OBJ : error LNK2001: unresolved external symbol _sqlcxt
F1021469.OBJ : error LNK2001: unresolved external symbol _sqlcxt
E3407895.OBJ : error LNK2001: unresolved external symbol _sqlcxt
E3407892.OBJ : error LNK2001: unresolved external symbol _sqlcxt
E3407896.OBJ : error LNK2001: unresolved external symbol _sqlcxt
E3407894.OBJ : error LNK2001: unresolved external symbol _sqlcxt
C:\app\product\12.1.0\dbhome_1\precomp\LIB\ORASQL12.LIB : warning LNK4272: library machine type 'x64' conflicts with target machine type 'X86'
C:\CA\Gen86Free\Gen\Samples\Models\sample.ief\c\CASCADE.DLL : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE"' : return code '0x460'
Stop.
****************************
Link step using C:\CA\Gen86Free\Gen\Samples\Models\sample.ief\c\CASCADE.LNK failed with errors.
****************************
IEFSIGNAL:FAIL
*** Build process for RI module CASCADE Failed. Review Results. ***
Important! Review above for any errors.
When I reviewed the scripts at \bt\scripts it seems that I'm using wrong machine type.
But I couldn't find any place to set the machine type to 64-bit.
Any idea about a solution to this problem.
Thanks