WZhuo opened a new issue, #378:
URL: https://github.com/apache/iceberg-cpp/issues/378

   add pending_update_test.cc to meson build
   
   ```
   diff --git a/src/iceberg/test/meson.build b/src/iceberg/test/meson.build
   index c3a401b..79dc497 100644
   --- a/src/iceberg/test/meson.build
   +++ b/src/iceberg/test/meson.build
   @@ -47,6 +47,7 @@ iceberg_tests = {
        'table_test': {
            'sources': files(
                'json_internal_test.cc',
   +            'pending_update_test.cc',
                'schema_json_test.cc',
                'table_metadata_builder_test.cc',
                'table_requirement_test.cc',
   ```
   
   The following errors in the build result, [ci 
link](https://github.com/apache/iceberg-cpp/actions/runs/19815557957/job/56765954268)
 
   
   ```
   [449/458] Linking target src/iceberg/test/table_test.exe
   FAILED: [code=1120] src/iceberg/test/table_test.exe 
src/iceberg/test/table_test.pdb 
   "link"  /MACHINE:x64 /OUT:src/iceberg/test/table_test.exe 
src/iceberg/test/table_test.exe.p/json_internal_test.cc.obj 
src/iceberg/test/table_test.exe.p/pending_update_test.cc.obj 
src/iceberg/test/table_test.exe.p/properties_update_test.cc.obj 
src/iceberg/test/table_test.exe.p/schema_json_test.cc.obj 
src/iceberg/test/table_test.exe.p/table_metadata_builder_test.cc.obj 
src/iceberg/test/table_test.exe.p/table_requirement_test.cc.obj 
src/iceberg/test/table_test.exe.p/table_test.cc.obj 
src/iceberg/test/table_test.exe.p/table_update_test.cc.obj 
src/iceberg/test/table_test.exe.p/test_common.cc.obj "/release" "/nologo" 
"/DEBUG" "/PDB:src\iceberg\test\table_test.pdb" "src\iceberg\iceberg.lib" 
"subprojects\CRoaring-4.3.11\libcroaring.a" 
"subprojects\apache-arrow-nanoarrow-0.7.0\nanoarrow.lib" 
"subprojects\spdlog-1.15.3\src\spdlog.lib" "subprojects\zlib-1.3.1\z.lib" 
"subprojects\googletest-1.17.0\googlemock\libgmock_main.a" "/SUBSYSTEM:CONSOLE" 
"kernel32.lib" "user32.lib" "gdi32.lib" "winspo
 ol.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "comdlg32.lib" 
"advapi32.lib"
   pending_update_test.cc.obj : error LNK2019: unresolved external symbol 
"__declspec(dllimport) public: virtual __cdecl 
iceberg::PendingUpdateTyped<class 
iceberg::MockSnapshot>::~PendingUpdateTyped<class iceberg::MockSnapshot>(void)" 
(__imp_??1?$PendingUpdateTyped@VMockSnapshot@iceberg@@@iceberg@@UEAA@XZ) 
referenced in function "public: virtual __cdecl 
iceberg::MockPendingUpdate::~MockPendingUpdate(void)" 
(??1MockPendingUpdate@iceberg@@UEAA@XZ)
   pending_update_test.cc.obj : error LNK2019: unresolved external symbol 
"__declspec(dllimport) protected: __cdecl iceberg::PendingUpdateTyped<class 
iceberg::MockSnapshot>::PendingUpdateTyped<class iceberg::MockSnapshot>(void)" 
(__imp_??0?$PendingUpdateTyped@VMockSnapshot@iceberg@@@iceberg@@IEAA@XZ) 
referenced in function "public: __cdecl 
iceberg::MockPendingUpdate::MockPendingUpdate(void)" 
(??0MockPendingUpdate@iceberg@@QEAA@XZ)
   src\iceberg\test\table_test.exe : fatal error LNK1120: 2 unresolved externals
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to