Can't make the project in a build dir

Bug #1356497 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dialer-app (Ubuntu)
Fix Released
High
Gustavo Pichorim Boiko

Bug Description

cmake is instended to separate the source from the built files, but it's currently not possible to make the project in a builddir.

To reproduce:
mkdir builddir
cd builddir
cmake ..
make <- fails

Leo Arias (elopio)
Changed in dialer-app:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

that seems to be fixed/works with current trunk, if you still have issue feel free to open a new bug but please include the actual error you are getting

affects: dialer-app → dialer-app (Ubuntu)
Changed in dialer-app (Ubuntu):
importance: Undecided → High
status: Confirmed → Fix Released
Revision history for this message
Leo Arias (elopio) wrote :

The problem is that the make files are written on the root of the branch, not on the current dir.

elopio@tangamandapio76:~/workspace/canonical/dialer-app/trunk$ mkdir builddir
elopio@tangamandapio76:~/workspace/canonical/dialer-app/trunk$ cd builddir/
elopio@tangamandapio76:~/workspace/canonical/dialer-app/trunk/builddir$ cmake ..-- Could NOT find Lcov (missing: LCOV_EXECUTABLE GENHTML_EXECUTABLE)
-- Could NOT find gcovr (missing: GCOVR_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/elopio/workspace/canonical/dialer-app/trunk
elopio@tangamandapio76:~/workspace/canonical/dialer-app/trunk/builddir$ make
make: *** No targets specified and no makefile found. Stop.

Changed in dialer-app (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Just tried with a fresh checkout of dialer-app, it is fixed:

boiko@thinkpad:/tmp/dialer-app$ mkdir build
boiko@thinkpad:/tmp/dialer-app$ cd build/
boiko@thinkpad:/tmp/dialer-app/build$ cmake ../
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Lcov: /usr/bin/lcov
-- Found gcovr: /usr/bin/gcovr
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.2")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/dialer-app/build

Changed in dialer-app (Ubuntu):
status: Confirmed → Fix Released
assignee: nobody → Gustavo Pichorim Boiko (boiko)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.