[
https://issues.apache.org/jira/browse/GEODE-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425699#comment-16425699
]
ASF subversion and git services commented on GEODE-4916:
--------------------------------------------------------
Commit 19165e2e8cc5c479417780346ce0c43bd3f30c38 in geode-native's branch
refs/heads/develop from Jacob Barrett
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=19165e2 ]
GEODE-4916: Fixes compilation errors when including in empty VC++ project.
(#258)
- Convert to CMake GenerateExportHeader.
- Generates platform specfic export files.
- Remove use of sprintf which caused error on Windows.
- Fixes explicit instantiation export attributes.
- Fixes default visibility.
> Native Client cpp examples failing due to unexported symbols
> ------------------------------------------------------------
>
> Key: GEODE-4916
> URL: https://issues.apache.org/jira/browse/GEODE-4916
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Addison
> Assignee: Jacob S. Barrett
> Priority: Major
> Labels: pull-request-available
> Attachments: Capture.PNG
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> {code:java}
> 1>------ Build started: Project: foo, Configuration: Debug x64 ------
> 1>foo.obj : error LNK2001: unresolved external symbol "private: static
> unsigned __int64 apache::geode::client::DataOutput::m_highWaterMark"
> (?m_highWaterMark@DataOutput@client@geode@apache@@0_KA)
> 1>foo.obj : error LNK2001: unresolved external symbol "char const * const
> apache::geode::client::tStr_CacheableBoolean"
> (?tStr_CacheableBoolean@client@geode@apache@@3QBDB)
> 1>foo.obj : error LNK2001: unresolved external symbol "char const * const
> apache::geode::client::tStr_CacheableByte"
> (?tStr_CacheableByte@client@geode@apache@@3QBDB)
> 1>foo.obj : error LNK2001: unresolved external symbol "char const * const
> apache::geode::client::tStr_CacheableDouble"
> (?tStr_CacheableDouble@client@geode@apache@@3QBDB)
> 1>foo.obj : error LNK2001: unresolved external symbol "char const * const
> apache::geode::client::tStr_CacheableFloat"
> (?tStr_CacheableFloat@client@geode@apache@@3QBDB)
> 1>foo.obj : error LNK2001: unresolved external symbol "char const * const
> apache::geode::client::tStr_CacheableInt16"
> (?tStr_CacheableInt16@client@geode@apache@@3QBDB)
> 1>foo.obj : error LNK2001: unresolved external symbol "char const * const
> apache::geode::client::tStr_CacheableInt32"
> (?tStr_CacheableInt32@client@geode@apache@@3QBDB)
> 1>foo.obj : error LNK2001: unresolved external symbol "char const * const
> apache::geode::client::tStr_CacheableInt64"
> (?tStr_CacheableInt64@client@geode@apache@@3QBDB)
> 1>foo.obj : error LNK2001: unresolved external symbol "char const * const
> apache::geode::client::tStr_CacheableCharacter"
> (?tStr_CacheableCharacter@client@geode@apache@@3QBDB)
> 1>C:\foo\foo\x64\Debug\foo.exe : fatal error LNK1120: 9 unresolved externals
> 1>Done building project "foo.vcxproj" -- FAILED.
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
> =========={code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)