User forums > Help

Getting started with Code::Block

(1/4) > >>

phamtv:
I just realized that I will have to create custom plugins in order to integrate support for my embedded devices into Code::Block. Thus, I have a couple of newbie questions:

1. I successfully downloaded and recompiled the CodeBlocks Workspace wx2.8.x (Unix) using Code::Block.  However, I cannot seem to run/debug the application.  I clicked on the Debug->Start menu option. Immediately, I get a pop-up dialog prompting to select a target.  I tried all of them but cannot seem to get the correct target that will start the app (main.cpp).

2.  Are there references/guides on how to create a complex plugin?  My goal is to design and implement something similar to the EPS Debugger plugin suite.

Thanks in advance for your time and support!

oBFusCATed:
1.  Generally all targets should be able to start C::B. The one specifically for the application is "src". Keep in mind that you have to run the update.sh file before starting C::B.
2. No, Look in the source. You need to look at cbDebuggerPlugin.

p.s. the EPS Debugger seems to be doing most of the Debugger UI separately without using available dialogs/APIs.

phamtv:
Thanks oBFusCATed for the quick response!  I am looking through the directories for update.sh but cannot locate the .sh file.  I've located: update, update29, and update30 plain text documents in codeblocks-13.12/src folder.  Are these the one you are referencing?

Best regards.

Jenna:
On linux with wx2.8 ./update is what you need to run.
Some other shell-scripts (needed with autotools) have the .sh extensions.

phamtv:
Thanks for the reply Jen!  I am running into another issue I can't resolve.  I followed your instructions to get all the lib references/tools (from http://forums.codeblocks.org/index.php?topic=15137.0) in order to compile code::block source code.  However, when I try to build the "File Manager Plugin" project using Code::Block, I get errors indicated below even though I've done the sudo apt-get install command to retrieve the libgamin-dev libraries.  

- undefined reference to FAMOpen
- undefined reference to FAMClose
- undefined reference to FAMCancelMonitor
- undefined reference to FAMMonitorDirectory
- undefined reference to FAMNextEvent
- undefined reference to FAMPending

Any suggestions how I can resolve this?

Navigation

[0] Message Index

[#] Next page

Go to full version