Am Dienstag, 15. Dezember 2015, 21:09:36 schrieb sothy shan:
> Hello,
>
> I am compiling the source code from
> https://github.com/flowgrammable/onf2013/
> My platform is
> cmake version 2.8.12.2
> Ubunutu 14.04
> /usr/bin/ld: cannot find -lpthreads
This shouldn't be a problem, as that library i
can I bump this, I have the build working just fine now and installing the
files in the correct directories, but I can't seem to get my non external
projects [the ones I wrote] to link or include with the external projects.
how can I get my local cmake projects to link with the files built
with Ex
Hello,
I am compiling the source code from
https://github.com/flowgrammable/onf2013/
My platform is
cmake version 2.8.12.2
Ubunutu 14.04
Error from CmakeError.Log is
File
/home/sothy/Téléchargements/onfc/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include
int main(int argc, char**
On Ubuntu 14.04 (CMake 2.8.12.2), FindFLTK.cmake sets
FLTK_FLUID_EXECUTABLE to '/usr/bin/fluid'. This is good.
On 15.10 (CMake 3.2.2), FLTK_FLUID_EXECUTABLE gets set to 'fluid'. This is bad.
An eyeball comparison of the FindFLTK.cmake scripts included with each
doesn't reveal anything suspiciou
In response to myself I've figure it out with using add_step function and
calling some commands.
Full source for what's working building both external libraries.
include(ExternalProject)
ExternalProject_Add(sdl
HG_REPOSITORY http://hg.libsdl.org/SDL
UPDATE_COMMAND hg pull -u http://hg.li
I think the issue you are running into is order of execution - when
using external projects it is often a good idea to have all the
ExternalProject_Add commands in a superproject file with your own
project source directory as one of the external projects. This way you
can use the DEPENDS parameter
On Mon, Dec 14, 2015 at 3:36 PM, iosif neitzke
wrote:
> If you can build Ada sources first, you might wish to make that a
> standalone project that is consumed downstream natively as an Imported
> Library. Do you generate the import library from a .def file, or via
> some other means?
>
Via a de
I was able to build the external project that required cmake like this:
include(ExternalProject)
ExternalProject_Add(sdl
HG_REPOSITORY http://hg.libsdl.org/SDL
UPDATE_COMMAND hg pull -u http://hg.libsdl.org/SDL
CMAKE_ARGS -DSDL_STATIC:BOOL=FALSE
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE
The problem is not a CMake one but a runtime environment one.
You built an executable with a specific environment (GCC 5) but try to execute
it in a different environment (default platform): When an executable is built,
system libraries paths are not stored as part of the executable so without
s
oh, that was it a typo!
A few more questions. I build the project like this:
ExternalProject_Add(sdl
HG_REPOSITORY http://hg.libsdl.org/SDL
UPDATE_COMMAND ""
CMAKE_ARGS -DSDL_STATIC:BOOL=FALSE
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/lib
SOURCE_DIR ${CMAKE_CURRENT_SOUR
What's the word "clone" doing in there? That should be a URL, not
command parameters.
On Tue, Dec 15, 2015 at 2:01 AM, Owen Hogarth II wrote:
> I have been reading this:
> https://cmake.org/cmake/help/v3.0/module/ExternalProject.html
>
> trying to add sdl external project but I am having issues.
I have been reading this:
https://cmake.org/cmake/help/v3.0/module/ExternalProject.html
trying to add sdl external project but I am having issues. I created a new
cmake project to test.
I already downloaded the sdl library and can build it correctly by manually
calling cmake commands but this is
12 matches
Mail list logo