Menu

#422 Wrong import LIB version

OWLMaker
wont-fix
nobody
None
1
2018-06-25
2018-06-20
No

Hi, it seems to me that something is wrong with naming scheme in import libraries: I can compile and link OWL-6.44.3-b730-x86-t.dll but while doing the same thing with OCF I have an error indicating that OWL-6.44.0-b730-x86-ti.lib is missing. Note that the subversion is different 6.44.3 vs 6.44.0. Where can I redirect it? Also my DLL based owl apps suffer from the same problem,
Thank you in advance,

Luigi

P.S. A workaround is obviously to rename the lib file....
P.P.S. I'm using C++ Builder 10.2.3.

Discussion

  • Luigi Bianchi

    Luigi Bianchi - 2018-06-20

    Actually the fix seems to be quite easy: there are two different version.h files, one in \source\owlcore\version.h in which OWL_VERSION(v) is defined as
    #define OWL_VERSION(v) v(6,44,3,$WCREV$)

    whereas in
    \include\owl\version.h it is defined as
    #define OWL_VERSION(v) v(6,44,0,0)

    Apparently, turning this last into
    #define OWL_VERSION(v) v(6,44,3,0)

    solves the problem

     

    Last edit: Luigi Bianchi 2018-06-20
  • Ognyan Chernokozhev

    Hi, Luigi,

    The version.h in the source folder contains a placeholder, which is used to generate the version.h in the include folder. To do that, you have to check the option "Perform build setup" in the OWLMaker wizard.

    Jogy

     
  • Vidar Hasfjord

    Vidar Hasfjord - 2018-06-25
    • status: open --> wont-fix
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2018-06-25

    Hi Luigi and Jogy,

    From the sounds of it, this is a non-issue, solved by rebuilding the core OWL and OCF libraries with "Perform build setup" selected. Hence I have closed the ticket as "wont-fix".

    However, if there should be a real issue here, let me know.

     

Log in to post a comment.