News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

undefined reference to ... when compiling ToDo plugin

Started by scarphin, December 08, 2014, 08:18:30 PM

Previous topic - Next topic

scarphin

I'm getting
.objs\plugins\todo\todolistview.o:todolistview.cpp:(.rdata$_ZTV12ToDoListView[__ZTV12ToDoListView]+0x80)||undefined reference to `ListCtrlLogger::AutoFitColumns(int)'
||error: ld returned 1 exit status|

when trying to compile the ToDo plugin. I haven't changed anything regarding the todo plugin or logger sources. Any idea why am I getting this?

Build log:
g++.exe -shared   -Wl,--dll -Lbase\tinyxml -LC:\GNU\codeblocks -Ldevel .objs\plugins\todo\addtododlg.o .objs\plugins\todo\asktypedlg.o .objs\plugins\todo\todolist.o .objs\plugins\todo\todolistview.o .objs\plugins\todo\todosettingsdlg.o  -o devel\share\CodeBlocks\plugins\todo.dll -Wl,--enable-auto-image-base -Wl,--add-stdcall-alias -Wl,--enable-auto-import -Wl,--no-undefined -mthreads  -lcodeblocks -lwxmsw28u_gcc_cb
.objs\plugins\todo\todolistview.o:todolistview.cpp:(.rdata$_ZTV12ToDoListView[__ZTV12ToDoListView]+0x80): undefined reference to `ListCtrlLogger::AutoFitColumns(int)'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 2 second(s))
2 error(s), 0 warning(s) (0 minute(s), 2 second(s))


Win7 x64, cb rev 10050

oBFusCATed

Probably you have an old version of libcodeblocks.dll lurking around.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

scarphin

Yeah that was it and now I'm getting an empty list of languages in syntax highlighting. I think I messed up something.