User forums > Help

rev 7531 build failed on mingw gcc 4.6.1

(1/2) > >>

ollydbg:
I just update to the latest trunk, and found that build failed with message below: (building astyle failed)

--- Quote ---[100.0%] g++.exe -shared   -Wl,--dll -Lbase\tinyxml -LE:\code\cb\wx\wxWidgets-2.8.12\lib\gcc_dll -Ldevel  .objs\plugins\astyle\asstreamiterator.o .objs\plugins\astyle\astyle\ASBeautifier.o .objs\plugins\astyle\astyle\ASEnhancer.o .objs\plugins\astyle\astyle\ASFormatter.o .objs\plugins\astyle\astyle\ASResource.o .objs\plugins\astyle\astyleconfigdlg.o .objs\plugins\astyle\astyleplugin.o .objs\plugins\astyle\dlgformattersettings.o .objs\plugins\astyle\formattersettings.o   -o devel\share\CodeBlocks\plugins\astyle.dll -Wl,--enable-auto-image-base -Wl,--add-stdcall-alias -Wl,--enable-auto-import -Wl,--no-undefined -mthreads  -lcodeblocks -lwxmsw28u
.objs\plugins\astyle\astyleplugin.o: In function `ZN12AStylePlugin15OnFormatProjectER14wxCommandEvent':
E:/code/cb/cb_trunk/src/plugins/astyle/astyleplugin.cpp:135: undefined reference to `_imp___ZN14ProjectManager16GetTreeSelectionEv'
collect2: ld returned 1 exit status
Process terminated with status 1 (1 minutes, 59 seconds)
1 errors, 33 warnings (1 minutes, 59 seconds)

--- End quote ---
Any ideas?

oBFusCATed:
Have you tried a fresh checkout?

MortenMacFly:

--- Quote from: oBFusCATed on October 27, 2011, 05:32:09 pm ---Have you tried a fresh checkout?

--- End quote ---
More-over: Do a clean re-build, the SDK has changed. (Reminds me that I forgot to increase the SDK version number... ooops.)

oBFusCATed:
You can do it now, too :)

ollydbg:

--- Quote from: oBFusCATed on October 27, 2011, 05:32:09 pm ---Have you tried a fresh checkout?

--- End quote ---
I just run the svn update.
And In TortoiseSVN, all files and folders is green.(which means a flesh local copy)
I even delete two big PCH in include folder, and I hit the "rebuild" button in C::B, but now, I have the same build error. I'm not sure what I can do.

Navigation

[0] Message Index

[#] Next page

Go to full version