celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Broekhuis <a.broekh...@gmail.com>
Subject Re: Automated.h
Date Fri, 27 Jan 2012 07:42:35 GMT
Hi Frank,

Automated.h is part of CUnit. It seems like CUnit can't be found by cmake.
Make sure the CUNIT include and lib path are set correctly.
To check this you can run the cmake-gui and run configure. Search for the
CUnit entries and verify the paths are correct.

Hope this helps!

Ps: It seems like CMake isn't faulting if CUnit is missing, I still have to
verify this.

2012/1/26 Frank Mulder <frank.willem.mulder@ziggo.nl>

> Hello,
>
>        I got the latest version of Celix from svn and tried to do make
> all. I got the following error indicating a lacking include file
> Automated.h.
>        Do you know what this file is and whether it is part of celix or a
> required library?
>
> Thanks: Frank
>
>
> **** Build of configuration Default for project celix ****
>
> make -C /Users/frankmulder/Development/Eclipse/workspace_celix/celix/build
> all
> -- Found CPack at: /opt/local/bin/cpack
> -- Found APR: /usr/lib/libapr-1.dylib
> -- Found APRUTIL: /usr/lib/libaprutil-1.dylib
> -- Looking for APR - found
> -- Found CPack at: /opt/local/bin/cpack
> -- Looking for ZLIB - found
> -- Looking for CURL - found
> -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/build
> Scanning dependencies of target utils
> [  1%] Building C object
> utils/CMakeFiles/utils.dir/private/src/array_list.c.o
> [  1%] Building C object
> utils/CMakeFiles/utils.dir/private/src/hash_map.c.o
> [  3%] Building C object
> utils/CMakeFiles/utils.dir/private/src/linked_list_iterator.c.o
> [  4%] Building C object
> utils/CMakeFiles/utils.dir/private/src/linkedlist.c.o
> Linking C shared library libutils.dylib
> [  4%] Built target utils
> Scanning dependencies of target array_list_test
> [  4%] Building C object
> utils/CMakeFiles/array_list_test.dir/private/test/array_list_test.c.o
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:27:23:
> error: Automated.h: No such file or directory
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:
> In function 'test_arrayList_create':
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:50:
> warning: implicit declaration of function 'CU_ASSERT_PTR_NOT_NULL_FATAL'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:51:
> warning: implicit declaration of function 'CU_ASSERT_EQUAL'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:
> In function 'test_arrayList_isEmpty':
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:105:
> warning: implicit declaration of function 'CU_ASSERT_TRUE'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:
> In function 'test_arrayList_contains':
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:123:
> warning: implicit declaration of function 'CU_ASSERT_FALSE'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:
> In function 'test_arrayList_get':
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:169:
> warning: implicit declaration of function 'CU_ASSERT_PTR_NULL'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:
> In function 'main':
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:321:
> error: 'CU_pSuite' undeclared (first use in this function)
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:321:
> error: (Each undeclared identifier is reported only once
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:321:
> error: for each function it appears in.)
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:321:
> error: expected ';' before 'pSuite'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:324:
> error: 'CUE_SUCCESS' undeclared (first use in this function)
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:324:
> warning: implicit declaration of function 'CU_initialize_registry'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:325:
> warning: implicit declaration of function 'CU_get_error'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:328:
> error: 'pSuite' undeclared (first use in this function)
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:328:
> warning: implicit declaration of function 'CU_add_suite'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:330:
> warning: implicit declaration of function 'CU_cleanup_registry'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:335:
> warning: implicit declaration of function 'CU_add_test'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:336:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:337:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:338:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:339:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:340:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:341:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:342:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:343:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:344:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:345:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:346:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:347:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:348:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:349:
> warning: comparison between pointer and integer
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:355:
> warning: implicit declaration of function 'CU_set_output_filename'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:356:
> warning: implicit declaration of function 'CU_list_tests_to_file'
> /Users/frankmulder/Development/Eclipse/workspace_celix/celix/utils/private/test/array_list_test.c:357:
> warning: implicit declaration of function 'CU_automated_run_tests'
> make[2]: ***
> [utils/CMakeFiles/array_list_test.dir/private/test/array_list_test.c.o]
> Error 1
> make[1]: *** [utils/CMakeFiles/array_list_test.dir/all] Error 2
> make: *** [all] Error 2
>
> **** Build Finished ****
>
>


-- 
Met vriendelijke groet,

Alexander Broekhuis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message