Changes between Version 1 and Version 2 of AppLibraries
- Timestamp:
- Jun 4, 2009, 3:57:26 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AppLibraries
v1 v2 1 = Dynamic library issues = 2 1 3 Applications can use dynamic libraries; 2 4 just include them in the [UpdateVersions#multifile multi-file application]. 3 5 4 A problem arises if you support multiple platforms ,6 A problem arises if you support multiple platforms 5 7 and the libraries for the different platforms have the same name. 6 8 In BOINC, if files are called the same, they must be the same file. … … 11 13 it will end up trying to link the 64-bit library, and will crash. 12 14 13 The solution is to give the libraries different physical names 14 but the same logical name. 15 One solution is to give the libraries different names, 16 e.g. '''vcomp90_32.dll''' and '''vcomp90_64.dll'''. 17 This requires changing your Makefiles or VS project files accordingly. 18 19 A second solution, which doesn't require changing Makefiles or VS project files, 20 is to give the libraries different physical names but the same logical name. 15 21 Do this as follows: 16 22