trac tickets and alternative build system

Adam Goode agoode at andrew.cmu.edu
Mon May 3 15:44:58 EDT 2010


On 04/30/2010 04:05 AM, Hauke Heibel wrote:
> On Wed, Apr 28, 2010 at 5:48 PM, Adam Goode <agoode at andrew.cmu.edu> wrote:
>> On 04/27/2010 07:05 AM, Hauke Heibel wrote:
>>> VS is offering this functionality through a function called DLLMain.
>>> It is called when the DLL is loaded as well as when it's unloaded and
>>> thus it can be used to take care of initialization as well as cleanup.
>>> I did not yet use it since so far all my DLLs are just collections of
>>> functions or classes without the need for cleanup and initialization.
>>
>> Yeah, I think DLLMain has something to do with it.
>>
>> Also see:
>> http://stackoverflow.com/questions/1113409/attribute-constructor-equivalent-in-vc
> 
> I just managed to compile and link the first 64 bit version with
> Visual Studio 2010 - that does not mean it is already working but it
> is definitely a good start. :)
> 
> One thing that is left to be fixed is the DLL (gthread)
> initialization. It shouldn't be too hard.
> 
> The other thing is that there might be issues with non-MSVC targets
> since currently I tested with MSVC only.
> 
> I will try to take care of some of the issues during the next week and
> I will try to get the test up and running. The library installation is
> also not yet configured.
> 
> Once again, here is the branch I am working in:
> http://github.com/hauke76/OpenSlide/tree/cmake_integration

I should have time later this week to have a look.


Thanks,

Adam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20100503/234088ac/attachment.bin 


More information about the openslide-users mailing list