Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building Navitia #1164

Closed
kalon33 opened this issue Sep 8, 2015 · 4 comments
Closed

Error when building Navitia #1164

kalon33 opened this issue Sep 8, 2015 · 4 comments

Comments

@kalon33
Copy link

kalon33 commented Sep 8, 2015

When trying to build Navitia, I have this error:

CMake Error at type/CMakeLists.txt:118 (add_executable):
Cannot find source file:

tests/code_container_test.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

Could you have a look at this?

Thanks.

@TeXitoi
Copy link
Contributor

TeXitoi commented Sep 8, 2015

This file is here : source/type/tests/code_container_test.cpp

Seems OK, and it compiles in our CI. Are you up to date? Can we have more information on your environment? (linux version, gcc version, cmake version, ...)

@kalon33
Copy link
Author

kalon33 commented Sep 8, 2015

Yes, I'm up to date to latest git. I'm building on Ubuntu Trusty, in a build-daemon, using the code I mirrored here: https://code.launchpad.net/~kalon33/+junk/navitia . The only things I changed is debian/control and debian/rules to fix errors in them. It used to build a week ago.

Here is the whole build log: https://code.launchpad.net/~kalon33/+archive/ubuntu/experimental-stuff/+build/7886277/+files/buildlog_ubuntu-trusty-amd64.navitia2_1.25.0-1%2Bgit201509081205%7Eubuntu14.04.1_BUILDING.txt.gz

@TeXitoi
Copy link
Contributor

TeXitoi commented Sep 8, 2015

Do you have source/type/tests/code_container_test.cpp in your source archive? This file was added not so long ago. Maybe the new file was not included in the archive?

@kalon33
Copy link
Author

kalon33 commented Sep 8, 2015

Thanks @TeXitoi , that's exactly what happened. Bazaar requires you explicitly add new files and when I refreshed the files from git, it only picked up the ones that were updated and not the newly created ones. Hopefully that will fix building in my repository.

Thanks for your help :)

@kalon33 kalon33 closed this as completed Sep 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants