Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

problem build CB from CVS using codeblock.cbp in CodeBlocks

<< < (3/4) > >>

DreadNot:
See one of my other post.  I had the same problem and Yannis said he's working on it.
Instead on running it, debug it with no breakpoints.  It should run.  Close it, then run it.
It should work.

Or is this some other problem?

cyberkoa:

--- Quote from: tiwag ---"cyberkoa" wrote:
Platform : Windows 2000 Pro
Wx version : 2.4.2
CodeBlocks version : 1.0 Final

... some guidance is needed ..
thanks in advance for any help provided.

Are you using a dll - build of wxWidgets ? build like this:
cd %WXWIN%\src\msw
mingw32-make -f makefile.g95 WXMAKINGDLL=1 FINAL=1 UNICODE=0

then you should have to link to "%WXWIN%\lib\libwxmsw242.a"
and run with "wxmsw242.dll"

HTH
--tiwag
--- End quote ---


Thanks, I have followed the steps in wiki , and managed to compile CB successfully.

However, I try to run the codeblocks.exe , it show the memory error like thedeurf's problem (I think) .
Yesterday  I did the following steps  2 times , clear & reinstall MingW, clear & reinstall wxwidgets , recompile wxwidgets , clear CVS and redownload , compile CB , it still give the same error in my Laptop.

Today , I tried it in my company PC .
1. After compiled CB , I try to run at the output folder , it give me error "cannot find wxmsw422.dll", so I copy the file to WINNT\system32 , run again.  
2. Another msg , "cannot find resources.zip in ...", so I copy the files and folders from the CB distribution to the development folder , and it success to show the splash screen , but give the memory error like at my Laptop.

3.  I try to run the newly compiled CB inside CB , it give the same problem .

4. Then I try to debug , the miracle appear , it run without problem, it just that when I created new project , no template shows.

5. I try to run from explorer again , this time it works like in debug mode.


I come across this in one of the thread in this forum, according to madrav , it is due to the "working path"  , when run in debug mode , it will correctly set the working path, therefore, it can run properly.

Still exploding to compile in my Laptop because I use Laptop at my home and I only have time to really working on the development at my home.

cyberkoa:

--- Quote from: DreadNot ---See one of my other post.  I had the same problem and Yannis said he's working on it.
Instead on running it, debug it with no breakpoints.  It should run.  Close it, then run it.
It should work.

Or is this some other problem?
--- End quote ---

Yup , I think the thread that I came across is your post..

mandrav:
I don't think it's the same error but anyway...
I hope you are running update.bat after building Code::Blocks, aren't you?

Yiannis.

cyberkoa:

--- Quote from: mandrav ---I don't think it's the same error but anyway...
I hope you are running update.bat after building Code::Blocks, aren't you?

Yiannis.
--- End quote ---


Ooops .. seems like I didn't run the update.bat .. will try later .. thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version