User forums > Using Code::Blocks
problem installing wxSmith ...
dmoore:
I forgot step 6 - run the update script in trunk/src
use the Run button to start your freshly built CB (that will make sure you are running the version in trunk/src/devel and not some other)
PS: you probably shouldn't use the makefiles at all if you are are using the project/workspace files (although you will have to be content with a local install)
pivit80:
Ok,
but then I can use it only locally?
Can I install it in my usr/local/ folder?
That is can I run "make install"?
I don't want codeblocks installed in the trunk/src directory.
Thank you.
pv
dmoore:
well, the makefiles should also work (and you will have to get them working if you want a non-local install), but they are completely separate from project files (and if I recall correctly, they build in a completely separate place, dividing up binaries and data for installation in the usual linux dirs). Anyway, your success with the project/workspace files suggests either a missing dependency or incorrect setting in one of the makefiles. You could try looking at the wxsmith makefiles first and compare them with the wxSmith project files (the project files are just xml and easy enough to read -- otherwise load up the project in codeblocks and inspect the properties, build targets). one of the devs might also look into this...
NB: for the local copy you could put the contents of trunk/src/output wherever you want (you just need to set environment vars correctly). obviously this is very un-linux like... ;)
Biplab:
--- Quote from: pivit80 on July 06, 2007, 07:39:39 pm ---but then I can use it only locally?
--- End quote ---
Yes, you can. Once the build is finished (using CodeBlocks-unix.cbp), run the update script. Once the update finishes its job, go to devel or output directory. You'll find a run.sh file. Run that and C::B will start locally.
--- Quote from: pivit80 on July 06, 2007, 07:39:39 pm ---Can I install it in my usr/local/ folder?
That is can I run "make install"?
--- End quote ---
No. You can't use make install with that.
pivit80:
HI,
I've copied locally codeblocks installation files, in my usr/local/share;
It isn't the same, but works for now ...
--- Quote from: dmoore ---You could try looking at the wxsmith makefiles first and compare them with the wxSmith project files (the project files are just xml and easy enough to read -- otherwise load up the project in codeblocks and inspect the properties, build targets)
--- End quote ---
I think I'll wait for the next svn revision.
Just a thing I've not understood:
but is this a my own problem, or is it an overall makefiles problem?
In the last case it has to be fixed.
Thank you for all.
pv
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version