DigitalInBlue / Celero

C++ Benchmark Authoring Library/Framework
Other
823 stars 96 forks source link

Error running celeroDemoComparison #69

Closed refi64 closed 9 years ago

refi64 commented 9 years ago
ryan@DevPC-LX:~/stuff/Celero$ ./celeroDemoComparison
./celeroDemoComparison: symbol lookup error: ./celeroDemoComparison: undefined symbol: _ZN6celero16RegisterBaselineEPKcS1_mmSt10shared_ptrINS_7FactoryEE
ryan@DevPC-LX:~/stuff/Celero$ ldd ./celeroDemoComparison
    linux-vdso.so.1 =>  (0x00007ffebb9cb000)
    libcelero.so => /home/ryan/stuff/Celero/libcelero.so (0x00007fbb0164d000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fbb01314000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbb0100e000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fbb00df8000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbb00a32000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbb00814000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fbb01888000)
ryan@DevPC-LX:~/stuff/Celero$ 
DigitalInBlue commented 9 years ago

See #60. I think you have the same issue. Your CMake source directory should not be your CMake build directory. Also reference http://www.cs.swarthmore.edu/~adanner/tips/cmake.php and http://stackoverflow.com/questions/18826789/cmake-output-build-directory.

refi64 commented 9 years ago

Ah...there is no celeroDemoComparison in the latest commit, is there? :O Thanks!