Playing around with Cmake to generate source files for git version of heekscad/heekscnc

 

Ok.. I think the git repository may be in enough shape to try this. So I thought I want to give this a go…

So I just want to start from scratch so I deleted the heekscad folder.

jonas@jonas-laptop:~/heekscad$ cd ..
jonas@jonas-laptop:~$ git clone --recursive git://github.com/Heeks/heekscad.git
Initialized empty Git repository in /home/jonas/heekscad/.git/
remote: Counting objects: 10676, done.
remote: Compressing objects: 100% (2100/2100), done.
remote: Total 10676 (delta 8459), reused 10663 (delta 8446)
Receiving objects: 100% (10676/10676), 3.96 MiB | 310 KiB/s, done.
Resolving deltas: 100% (8459/8459), done.
Submodule 'heekscnc' (git://github.com/Heeks/heekscnc.git) registered for path 'heekscnc'
Initialized empty Git repository in /home/jonas/heekscad/heekscnc/.git/
remote: Counting objects: 6860, done.
remote: Compressing objects: 100% (1469/1469), done.
remote: Total 6860 (delta 5390), reused 6825 (delta 5355)
Receiving objects: 100% (6860/6860), 3.16 MiB | 310 KiB/s, done.
Resolving deltas: 100% (5390/5390), done.
Submodule path 'heekscnc': checked out '87c5dc152f1dd68002038f925f8d119fc5dc883a'
Submodule 'libactp' (git://github.com/Heeks/libactp.git) registered for path 'libactp'
Submodule 'libarea' (git://github.com/Heeks/libarea.git) registered for path 'libarea'
Initialized empty Git repository in /home/jonas/heekscad/heekscnc/libactp/.git/
remote: Counting objects: 278, done.
remote: Compressing objects: 100% (133/133), done.
remote: Total 278 (delta 138), reused 278 (delta 138)
Receiving objects: 100% (278/278), 353.42 KiB | 256 KiB/s, done.
Resolving deltas: 100% (138/138), done.
Submodule path 'libactp': checked out 'eb97a623218084d46fe48a82b9c19ccbd50b8bf2'
Initialized empty Git repository in /home/jonas/heekscad/heekscnc/libarea/.git/
remote: Counting objects: 587, done.
remote: Compressing objects: 100% (194/194), done.
remote: Total 587 (delta 389), reused 581 (delta 383)
Receiving objects: 100% (587/587), 293.41 KiB | 239 KiB/s, done.
Resolving deltas: 100% (389/389), done.
Submodule path 'libarea': checked out '4d1aad0776289a7ecbee233c0b6a93a1be0de47e'

I believe the command that I need to use to generate cbp files is this:
cmake . -G “CodeBlocks – Unix Makefiles”

But looking through the source code I just unloaded that there are a few cbp there already..
sooo before I mess something up, I guess I’ll give those a go first.

Before I tried the existing cbp in the current code trunk and heekscad build and ran but heekscnc did not.
I appears that the projects haven’t been updated. When I generate a project file using cmake I managed to get heekscad to build from code::blocks but when I try to run I get the message:

You can’t “run” a commands-only target…

Here are a couple of references:
http://forums.codeblocks.org/index.php?topic=14293.0
and here:
http://www.cmake.org/pipermail/cmake/2008-March/020263.html
Ok… If I go Build->Select Target-> heekscad instead of all I can get the project to run and also apparently debug to run. At this point It looks like I’m missing icons..
It appears that heekscnc is loading up now from the heekcad project….
Any it looks like this at this point…

 

 

 

 

 

At this point I don’t know where the issue lies with the missing icons.

It may be that some path is not being defined.
I think the issue may be

 

 

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *