User forums > Help
[Linux] Error compiling the copystrings (Unix) on Ubuntu 5.10
killerbot:
--- Quote from: Michael on March 20, 2006, 10:01:43 am ---
--- Quote from: killerbot on March 19, 2006, 11:43:03 pm ---could you try with out the updates (or uncomment the lines in copystrings.cpp) and remove the following line from your copystring-unix.cbp :
<Add option='-include "sdk.h"' />
--- End quote ---
Ok. I finish to build C::B and .deb package and I will give it a try :).
Best wishes,
Michael
--- End quote ---
any news on this ??
Michael:
--- Quote from: killerbot on March 20, 2006, 05:40:41 pm ---any news on this ??
--- End quote ---
Sorry, I am a bit late in my report :oops:.
What I have is the following:
* Delete SDK and wxSmith PCH
* Modify the copystring-unix.cbp as suggested
* Modify the copystring.cbp as suggested
* Build C::B
* Build Contr. plugins
Copystrings project compiles fine :D.
Best wishes,
Michael
killerbot:
So the code seems to be ok (heheh :D ) , I will uncomment it again this evening.
And I will adjust that one unix cbp file.
@Yiannis, Thomas : do you know why we needed that include sdk.h compiler option in the unix cbp ??
thomas:
We don't need it if the #include in the source file is uncommented and not disabled by a preprocessor directive. I don't know who put it there or why.
It does the exact same thing as #include (except for a neglegible difference in search path order).
killerbot:
the thing is, if that directive is there, and the code also has the include (this latter case is IMHO the correct way) we get errors (as described in the start of this topic).
Yiannis told me that such an error also shows up if you include "sdk.h" in a header file, but in this situation that was not the case.
I noticed other plug-ins also have this directive, well I'll adjust them when I clean the the headers includes of those plug-ins.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version