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

CB SVN 11562 can't load wxSmith plugins

<< < (2/2)

stahta01:
The svn command must be in the path used by C::B or you get a zero SVN.

Tim S.

tomay3000:
Could you please explain what do you mean!

Because I have downloaded C::B via MSYS2 MinGW 32-bit using the following command:

--- Code: ---svn checkout svn://svn.code.sf.net/p/codeblocks/code/trunk
--- End code ---
Then compiled it as usual.
Then copied the content of "trunk\src\output31" to "C:\Program Files\CodeBlocks" directory.
I tried copying "svn.exe" from "C:\msys32\usr\bin" to "C:\Program Files\CodeBlocks".
I also tried copying the global ".subversion" and "trunk\.svn" to C::B installation directory without success.

So please explain it a little bit more.

Thank you in advance.

BlueHazzard:
Before building codeblocks the buildprocess tries to figure out what version of codeblocks you use. This is done by calling svn in a prebuild step. So you have to have svn in the path during compiling.
How do you compile "as usual" by using codeblocks, or by using configure && make ? If you use the later from the msys2 console it should work. (disclaimer: this version numbering never worked for me and i have no interest in it so i do not look why it does not work...)

tomay3000:
I use C::B to build C::B

After I switched Mingw-W64 to SJLJ for exceptions and Win32 for threads, all is working as expected now.

You should avoid Dwarf exception model and Posix Thread model for better compatibility.

Not just for C::B but it helped me get rid of many crashes during xwWidgets development.

Navigation

[0] Message Index

[*] Previous page

Go to full version