Hi Wolfgang,

great - you are trying it ;-) !!

Let's first verify whether the problem is on creating routino.lib or 
linking to it.

I have uploaded you the routino stuff compiled by me:
https://bitbucket.org/huirad/test/downloads/routino_pkg.zip

When you use that routino.lib, do you get the same issue?
I peeked in the binaries and I have the impression that there is teh 
symbol with the single underscore (__imp_Routino_DeleteRoute).

Do you compile the latest routino form the svn or really version 3.0?
Version 3.0 will not work anyway due to some other incompatibilities.
Maybe if you switch to svn-latest also the linker problem is gone?

Concerning to you detail questions: at the moment I don't know.
I tried to write down anything about setting up the mingw64 toolchain in
   https://bitbucket.org/maproom/qmapshack/src/tip/nsi/build_routino.bat
I did never care abou specific linker settings. I just called
   make
without thinking about details.

Best Regards,

Helmut

Am 30.12.2015 um 14:29 schrieb WT:
> Following the recommendations in
>
>      https://bitbucket.org/maproom/qmapshack/src/tip/nsi/HOWTO-BUILD.txt
>
> I succeeded in compiling the GDAL, PROJ and Routino 3.0 packages.
> When trying to compile QMS as described I get some link errors of the type
>
>      1>CRouterRoutino.obj : error LNK2001: unresolved external symbol
> __imp_Routino_DeleteRoute
>
> In the linker call the correct path to an existing routino.lib is used.
>
> When checking routino.lib for its symbols I find __imp__Routino_DeleteRoute
> (1 more underscore!).
>
> Thus, the linker error seems to be understandable - the symbols in the obj
> and the lib files do not match.
>
> What can be the reason for this difference? How to avoid it? Could the link
> type (static - dynamic?) be the reason for this error? Could a wrong
> make.exe or gcc.exe version when compiling Routino be the reason for this
> error? Is there any compiler or linker option/property for Routino or QMS
> which I have to adjust?
>
> Thanks for any help
>
> Wolfgang
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Qlandkartegt-users mailing list
> Qlandkartegt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
>

------------------------------------------------------------------------------
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to