[omniNotify] omninotify-list Digest, Vol 44, Issue 2

1 jasonhr at 126.com
Sun Oct 17 02:39:10 UTC 2021


Thank you for the help. Ronan.
I'm using VS2019 command line to complile omniNotify.
The "COSNotify424_vc16_rtd.dll" is part of the whole omniNotify compiling.


And i found a mail, which mentioned the DLL symbol is generated based on the static lib symbol list.
Maybe there are some changes for msvc rt lib. I add some line like "egrep -v 'lambda' | \" to not export these symbols for linkage.
After this, no link error occured. 
And i tried "notifd" service and some basic notification.
It works fine by now. 
















At 2021-10-04 20:30:13, "Ronan Heffernan via omninotify-list" <omninotify-list at omniorb-support.com> wrote:

Just so you know, this project has not been maintained in many years, and I don't know if there is really a user base anymore.  However, I will try to help, and I hope that you can use omniNotify successfully.


I don't use Visual Studio, but it looks like you are trying to do a static build and it is not able to resolve dependencies that can resolved from a DLL at runtime?  Are you building from the command-line, or from within an IDE?  Is there a /static or /dynamic flag for command-line builds, or a dialog box in the IDE that lets you switch between static and dynamic linking? 



--ronan







On Mon, Oct 4, 2021 at 8:00 AM <omninotify-list-request at omniorb-support.com> wrote:

Send omninotify-list mailing list submissions to
        omninotify-list at omniorb-support.com

To subscribe or unsubscribe via the World Wide Web, visit
        https://www.omniorb-support.com/mailman/listinfo/omninotify-list
or, via email, send a message with subject or body 'help' to
        omninotify-list-request at omniorb-support.com

You can reach the person managing the list at
        omninotify-list-owner at omniorb-support.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of omninotify-list digest..."


Today's Topics:

   1. Re: Help Needed?Link error of omninotify in Windows (1)


----------------------------------------------------------------------

Message: 1
Date: Mon, 4 Oct 2021 11:01:19 +0800 (CST)
From: 1  <jasonhr at 126.com>
To: "jasonhr--- via omninotify-list"
        <omninotify-list at omniorb-support.com>
Subject: Re: [omniNotify] Help Needed?Link error of omninotify in
        Windows
Message-ID: <26663335.651.17c493fa27b.Coremail.jasonhr at 126.com>
Content-Type: text/plain; charset="gbk"

I found the static lib "COSNotify4.lib" has been built successfully in folder "omniNotify\lib\debug".
Is there any trick to build share lib in windows? Or i have to use the static lib in windows?
Does anyone meet this issue before?
















At 2021-10-03 07:50:27, "jasonhr--- via omninotify-list" <omninotify-list at omniorb-support.com> wrote:

Hi All,
I'm compiling omniNotify in Window Visual Studio 2019.
According to the Readme file, everything was fine except there are 4 link errors when creating COSNotify424_vc16_rtd.dll.
The 4 link errors are:
1.  COSNotify424_rtd.exp : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned __int64,void *)" (??2 at YAPEAX_KPEAX@Z)"
2. COSNotify424_rtd.exp : error LNK2001: unresolved external symbol "bool __cdecl std::operator==(class std::error_condition const &,class std::error_condition const &)" (??8std@@YA_NAEBVerror_condition at 0@0 at Z)
3. COSNotify424_rtd.exp : error LNK2001: unresolved external symbol "public: __cdecl <lambda_65e615be2a453ca0576c979606f46740>::operator()(char * const,char const * const,unsigned __int64,char const * const,unsigned __int64)const " (??R<lambda_65e615be2a453ca0576c979606f46740>@@QEBA at QEADQEBD_K12@Z)
4. COSNotify424_rtd.exp : error LNK2001: unresolved external symbol "public: __cdecl <lambda_66f57f934f28d61049862f64df852ff0>::operator()(char * const,unsigned __int64,char const * const)const " (??R<lambda_66f57f934f28d61049862f64df852ff0>@@QEBA at QEAD_KQEBD@Z)


Do you guys know the reason?
Thank you all in advance.


Regards,
Jason

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omninotify-list/attachments/20211004/fb463ec2/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
omninotify-list mailing list
omninotify-list at omniorb-support.com
https://www.omniorb-support.com/mailman/listinfo/omninotify-list


------------------------------

End of omninotify-list Digest, Vol 44, Issue 2
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omninotify-list/attachments/20211017/6f2201c4/attachment.html>


More information about the omninotify-list mailing list