User forums > Using Code::Blocks

ubuntu keybinder wont compile

<< < (3/4) > >>

mandrav:

--- Quote ---thanks Yiannis
But it seems to want some manager stuff that isn't there.
Compile log attached.

--- End quote ---

Oh, that :)
We removed the sdk/Managers folder a couple of days ago but it seems I haven't updated the project file :oops:
Just remove them from the project file (sdk/Managers/*)...

Pecan:

--- Quote from: mandrav on January 16, 2006, 10:54:03 pm ---
--- Quote ---thanks Yiannis
But it seems to want some manager stuff that isn't there.
Compile log attached.

--- End quote ---

Oh, that :)
We removed the sdk/Managers folder a couple of days ago but it seems I haven't updated the project file :oops:
Just remove them from the project file (sdk/Managers/*)...

--- End quote ---


I removed all sdk/Managers/* from the unix.cbp but still get
the err.

--- Code: ----------------- Build: AutoRevision in Code::Blocks - Unix ---------------
Target is up to date.

-------------- Build: ConsoleRunner in Code::Blocks - Unix ---------------
Target is up to date.

-------------- Build: tinyXML in Code::Blocks - Unix ---------------
Target is up to date.

-------------- Build: AngelScript in Code::Blocks - Unix ---------------
Target is up to date.

-------------- Build: scintilla in Code::Blocks - Unix ---------------
Target is up to date.

-------------- Build: wxFlatNotebook in Code::Blocks - Unix ---------------
Target is up to date.

-------------- Build: wxPropertyGrid in Code::Blocks - Unix ---------------
Target is up to date.

-------------- Build: sdk in Code::Blocks - Unix ---------------
Running target pre-build steps
tools/autorevision/auto_revision +wx +int +t . sdk/autorevision.h
Linking dynamic library: devel/libcodeblocks.so
g++: .objs/sdk/Managers/StdAfx.o: No such file or directory
Process terminated with status 1 (0 minutes, 27 seconds)
0 errors, 0 warnings
 

--- End code ---
Please find attached the .cbp file

thanks,
pecan

[attachment deleted by admin]

tiwag:
@pecan - update from svn, you'll get a
CodeBlocks-unix project file, with which you can build src/devel/codeblocks

this projectfile has still a bug with building the codecompletion plugin
this plugin isn't built correctly and  will not load on startup
(committed to svn though, @Yiannis, please can you have a look what's wrong with it ?)

but the rest is ok and you can continue to work on keybinder plugin under linux.

also a keybinder-unix projectfile is commited, it works fine for me.

HTH

--tiwag

Pecan:
Ok, finally managed to compile codeblocks with codeblocks.
Then did the ./update
Then run the ./run.sh

Now, how do I run the run.sh with GDB.


--- Code: ---#!/ bin/sh <--space after ./ and before "bin" to appease apache error

APP_DIR=/home/pecan/devel/trunk/src/output
export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
$APP_DIR/codeblocks $@

--- End code ---

I tried "gdb $APP_DIR/codeblocks $@ "
then "$APP_DIR/gdb codeblocks $@ "

The first runs, but says there are (no debugging symbols found)" about 100 times.
The second wont run at all.

Any suggestions? I need to run under gdb to catch plugin initiation errs.

thanks
pecan

mandrav:

--- Quote from: Pecan on January 17, 2006, 07:59:06 pm ---Ok, finally managed to compile codeblocks with codeblocks.
Then did the ./update
Then run the ./run.sh

Now, how do I run the run.sh with GDB.


--- Code: ---#!/ bin/sh <--space after ./ and before "bin" to appease apache error

APP_DIR=/home/pecan/devel/trunk/src/output
export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
$APP_DIR/codeblocks $@

--- End code ---

I tried "gdb $APP_DIR/codeblocks $@ "
then "$APP_DIR/gdb codeblocks $@ "

The first runs, but says there are (no debugging symbols found)" about 100 times.
The second wont run at all.

Any suggestions? I need to run under gdb to catch plugin initiation errs.

thanks
pecan



--- End quote ---

Copy the devel/run.sh to devel/dbg.sh and edit it as you did above:


--- Code: ---$APP_DIR/codeblocks $@
// change it to
gdb $APP_DIR/codeblocks $@

--- End code ---

Then just run devel/dbg.sh :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version