Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
BlackDoc documentation plugin
marked:
@ollydbg
Thank you, this worked.
MortenMacFly:
--- Quote from: marked on April 21, 2012, 09:34:14 am ---@MortenMacFly
Sorry for the misleading, that was c++0x flag actually. But on Windows, as I know, it is necessary to use the gnu++0x flag.
--- End quote ---
I figured that out myself... ;-) However - it does simply not compile under Windows at all. I've attached by project file for those willing to try.
BTW: you don't necessarily need to install Windows - cross compilation from Unix to Windows using MinGW works just fine (unfortunately this is not true for cross compiling from Windows to Linux).
oBFusCATed:
--- Quote from: marked on April 21, 2012, 09:34:14 am ---2) Yes, you are right, I'm not familiar with autotools. I'll give it a go, but... is it really necessary? Why just not to build C::B using C::B?
--- End quote ---
In order to have a way to manage your OS install in the long run?
Keep in mind that some people use nightlies, thus the API is not stable and when you upgrade your C::B you have to recompile all the plugins.
If autotools is working making packages for the main distros is pretty simple.
p.s. If you really want this plugin to be used by more people you'll have to remove all the c++11 parts and make the project compilable by gcc4.1.2
(the main compiler for centos/redhat <6 on centos/redhat>6 you have gcc-4.4).
marked:
@oBFusCATed
I added the bootstrap, configure.ac and Makefile.am to the project. Suddenly, I can't test them, because I am missing AM_OPTIONS_WXCONFIG, AM_PATH_WXCONFIG, maybe something else too. So they are untested and may be wrong. I think, I will not be able to test them in the near future.
No, sorry, I think, I will never understand people, who prefer to build something from sources/via command-line instead of using the GUI. I'll better stop to discuss this.
As of removing c++11 code... I like C++11. Of course I want people to use this plugin, but if I need to support old compilers... Really, I don't know, I need a time to think about this.
@MortenMacFly
This is not a big problem for me to install Windows. Maybe, I will do this next weekend. But then I will need to build the C::B from sources...
oBFusCATed:
marked: Do you have wxgtk-devel/dev packages?
Unfortunately c++11 is unusable in large open source projects at the moment.
See here how to link to a nightly build on windows: http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version