Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: killerbot on December 16, 2005, 01:35:48 pm
-
used todays code as it is in svn.
Platform : windows, used wxSmith-newbuild.cbp.
Get 2 errors, the error comes at linking time.
wxsstdmanager.cpp:202:
- undefined reference to wxsListCtrlStyles
- undefined reference to wxsListCtrlEvents
Any ideas ??
Lieven
-
used todays code as it is in svn.
Platform : windows, used wxSmith-newbuild.cbp.
Get 2 errors, the error comes at linking time.
wxsstdmanager.cpp:202:
- undefined reference to wxsListCtrlStyles
- undefined reference to wxsListCtrlEvents
Any ideas ??
Lieven
add defwidgets\wxslistctrl.cpp to the project
Index: D:/cpp/_projects/CodeBlocks/_SVN/src/plugins/contrib/wxSmith/wxSmith-NewBuild.cbp
===================================================================
--- D:/cpp/_projects/CodeBlocks/_SVN/src/plugins/contrib/wxSmith/wxSmith-NewBuild.cbp (revision 1531)
+++ D:/cpp/_projects/CodeBlocks/_SVN/src/plugins/contrib/wxSmith/wxSmith-NewBuild.cbp (working copy)
@@ -43,7 +43,7 @@
</Linker>
</Target>
<Environment>
- <Variable name="WX_CFG" value="" />
+ <Variable name="WX_CFG" value="NonUnicode" />
</Environment>
</Build>
<Compiler>
@@ -263,6 +263,10 @@
<Option link="0" />
<Option target="wxSmith" />
</Unit>
+ <Unit filename="defwidgets\wxslistctrl.cpp">
+ <Option compilerVar="CPP" />
+ <Option target="wxSmith" />
+ </Unit>
<Unit filename="defwidgets\wxsnotebook.cpp">
<Option compilerVar="CPP" />
<Option target="wxSmith" />
-
+ <Unit filename="defwidgets\wxslistctrl.cpp">
+ <Option compilerVar="CPP" />
+ <Option target="wxSmith" />
+ </Unit>
Verifed, works. Thanks! I had the same problem but didn't think of the "trivial" solution to look whether it has just forgotten to be included in the project file... :?
For "full compatibility" you should also add the header file ("defwidgets\wxslistctrl.h") as well.
Morten.
-
Verifed, works. Thanks! I had the same problem...
sometimes a FindinFiles orgy helps a lot...
-
sometimes a FindinFiles orgy helps a lot...
That's a good one... :lol: :lol: :lol:
-
was intentiannately left out, or is it a mistake ?
Many thanks for the solution !!!
-
was intentiannately left out, or is it a mistake ? ...
i guess it wasn't intentionally, just forgotten to commit the modified projectfile 8)
-
with new revision problem seems solved
-
It was one of common mistakes - I committed changes before saving new project file. Sorry :oops: