Closed meniku closed 7 years ago
ok I got around that by actually installing SDL2.
cmake .
runs fine now. However I'm now stuck when running make
:
➜ tweeny git:(master) ✗ make Scanning dependencies of target easings [ 8%] Building CXX object examples/CMakeFiles/easings.dir/easings/easings.cpp.o [ 16%] Linking CXX executable easings ld: can't open output file for writing: easings, errno=21 for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [examples/easings] Error 1 make[1]: [examples/CMakeFiles/easings.dir/all] Error 2 make: *** [all] Error 2
Hi! Thanks for your report.
I suspect this is happening because you are running cmake in the same directory of the project files.
Try creating a build/
folder inside tweeny's path and then cmake ..
inside. It should work.
thanks for the quick answer.
➜ tweeny git:(master) ✗ mkdir build ➜ tweeny git:(master) ✗ cd build ➜ build git:(master) ✗ cmake .. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /Users/wakka/tmp/tweeny ➜ build git:(master) ✗ make make: *** No targets specified and no makefile found. Stop.
did you ever test it on OS X?
Oh. You will have to clone the repository again (or cleanup files that weren't there), your last cmake execution left some files. Repeat the process as above, it should work then.
Em Sex, 7 de abr de 2017 09:19, NiKu notifications@github.com escreveu:
thanks for the quick answer.
➜ tweeny git:(master) ✗ mkdir build ➜ tweeny git:(master) ✗ cd build ➜ build git:(master) ✗ cmake .. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /Users/wakka/tmp/tweeny ➜ build git:(master) ✗ make make: *** No targets specified and no makefile found. Stop.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mobius3/tweeny/issues/4#issuecomment-292521730, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5sOoGpEaoXy2x3fUhFvjhlprJn8Oviks5rtinJgaJpZM4M2tYM .
did you ever test it on OS X?
The errors you are having aren't related or specific to the OS X platform yet. I'm sorry for the lack of instruction on how to run the examples, though. I'll improve the README.
Meanwhile, try this:
git clone https://github.com/mobius3/tweeny.git other-tweeny
mkdir other-tweeny/build
cd other-tweeny/build
cmake ../
make
Running this exact series of commands on macOS Sierra builds all the examples properly.
@meniku Did it worked?
Yep it worked, thanks.
Ok. closing the issue then.
I cloned the repro and then ran
cmake .
I get the following output:
Are there some instructions somewhere?