Hello,
I have had issue with compiling before but I received help and it was resolved. I'm having similar issue but I'm not able to figure out how to fix it.
I'm trying to get started working with rasters and have read some articles about it. So, I wrote a few line of codes and when I failed to compile it, delete everything and kept this code below
. . . #include <msraster.fdf> int main(int argc, char *argv[]) { long rasterHandle; RasterExtendedInfo extendedInfo; mdlRaster_initialize(); return 0; }
and added changes this part in my .mke file to look like this:
appObjects = \ $(o)$(appName).mo \ $(mdlLibs)ditemlib.dlo \ $(mdlLibs)builtin.dlo
when I compile it, it returns this error message:
c:\mdl\examples\initappcommited>bmake in itapp.mke Bentley Systems Make Utility. Version 08.05.00.57, Mar 25 2004 Fri Dec 09 20:54:32 2016 ~mkdir C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\objects ~mkdir C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\rscobj ~mkdir C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\reqdobjs ~mkdir C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\objects ~mkdir C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\rscobj [== Building C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\objects\initapp.mp, (C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\objects\initapp.mo) ==] C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\bin\mlink @C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\objects\make.opt MicroStation Development Language Linker 08.05.00 ### C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\objects\initapp.mo: ####Unresolved symbol mdlRaster_initialize in C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\objects\initapp.mo. ### C:\PROGRA~1\Bentley\Program\MICROS~1\mdl\objects\initapp.mo: Unrecoverable errors detected. Output file not created . BMAKE: call trace line: 98, c:\mdl\examples\initappc ommited\initapp.mke Fri Dec 09 20:54:32 2016, elapsed time: 0:00
So, tried a few suggestions that was given to those who had similar problem but it didn't work.
Just a quick note here, I have another apps that I have and they successfully compile but I'm not using raster on those apps.
Can you tell me how I can resolve the issue?
Thanks,
Mo