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

Build on OSX #53

Closed
GoogleCodeExporter opened this issue Sep 20, 2015 · 3 comments
Closed

Build on OSX #53

GoogleCodeExporter opened this issue Sep 20, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Clone the repo
2. Make build directory, run cmake or ccmake ../src/

What is the expected output? What do you see instead?

I expect it to allow me to make the package. Instead I get an error about the 
CMAKE target already existing:

CMake Error at CMakeLists.txt:195 (ADD_EXECUTABLE):
  add_executable cannot create target "braingl" because another target with
  the same name already exists.  The existing target is an executable created
  in source directory "/Code/braingl/src".  See documentation for policy
  CMP0002 for more details.

But when I check it, there is no braingl file or executable in 
/Code/braingl/src, just stuff like:

CMakeLists.txt data           icons          resources.qrc  thirdparty
algos          gui            main.cpp       shaders

What version of the product are you using? On what operating system?

OSX 10.9, ccmake 2.8.12.2 but I guess this has to do with the CMAKE 
definitions..


Original issue reported on code.google.com by erik.sw...@gmail.com on 24 Apr 2014 at 10:34

@GoogleCodeExporter
Copy link
Author

There shouldn't be anything newly created/conflicting in the src directory if 
you do

create build
cd build
cmake ../src

Also for Mac there is an extra branch since the current default branch most 
likely won't compile on OSX.

So after cloning the repository please do "hg up mac-qt4"

Original comment by schur...@gmail.com on 24 Apr 2014 at 10:51

@GoogleCodeExporter
Copy link
Author

Yep changing to Mac QT4 now lets me create a makefile. I still have a bunch of 
issues to sort out, but I guess that's because finding the libraries is tricky.

Thanks!

Original comment by erik.sw...@gmail.com on 24 Apr 2014 at 10:59

@GoogleCodeExporter
Copy link
Author

Original comment by schur...@gmail.com on 14 May 2014 at 5:40

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant