Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / Re: Code::Blocks build dependencies under ubuntu?
« Last post by cacb on Today at 09:18:35 pm »
But why would you care where a package is installed? Its default is just fine. The idea is that locally build package is superseding the distro version, so you have no conflicts. Debian/ubuntu are shipping old versions anyway.

In this case the default is fine, I agree. My comment was actually inspired by what you said in another thread about installing to places where you can just delete without causing conflicts with other software.
http://forums.codeblocks.org/index.php/topic,22137.msg150685.html#msg150685
2
Help / Re: Code::Blocks build dependencies under ubuntu?
« Last post by oBFusCATed on Today at 08:53:07 pm »
No idea, I don't use debian regularly, I just make sure it builds on ubuntu, because of popularity.
But why would you care where a package is installed? Its default is just fine. The idea is that locally build package is superseding the distro version, so you have no conflicts. Debian/ubuntu are shipping old versions anyway.
3
Help / Re: Code::Blocks build dependencies under ubuntu?
« Last post by cacb on Today at 08:44:22 pm »
Yes, in the configure script.
Ok, I guess that refers to the configure.ac file. I am not familiar with that syntax, but it is probably the correct answer  :P

If you want to have problem free building just use
Code: [Select]
dpkg-buildpackage -us -uc
Thanks, you are right, this works fine. I checked the meaning of the options -us -uc and I guess it just means avoiding some warnings of "unsigned source".

Using dpkg-buildpackage you get *.deb files that install to /usr, which is fine for this kind of virtual machine that I am setting up. But if you want it in a different location I guess the correct way is to edit debian/rules and under DEB_CONFIGURE_EXTRA_FLAGS set the --prefix=/usr to something different.

4
Help / Re: Code::Blocks build dependencies under ubuntu?
« Last post by oBFusCATed on Today at 07:39:30 pm »
Yes, in the configure script.
If you want to have problem free building just use
Code: [Select]
dpkg-buildpackage -us -uc
5
Help / Code::Blocks build dependencies under ubuntu?
« Last post by cacb on Today at 01:50:20 pm »
Hi,

With reference to http://forums.codeblocks.org/index.php/topic,22137.msg150688.html#msg150688

Last night I was trying to build Code::Blocks for a virtual machine running Kubuntu 18.04.04 and used the latest from https://github.com/obfuscated/codeblocks_sf 

In order for ./configure to work successfully a number of dependencies must be met, but I am not quite sure what they are these days, so my question is whether this is documented somewhere? I would like to make a shell script that, given a fresh "off the shelf" Kubuntu 18.04, installed all required codeblocks build dependencies and then successfully built the whole thing.

My attempt list night failed with a message from ./configure I could not quite understand, most likely I made some mistake. If required, I can repeat the excercise and provide the exact message, but first I would try to ensure I have all the dependencies satisified, therefore the question about build dependencies.

Are the build dependencies documented somewhere?
6
Quote
Where is the truth  :(

The release rate is about one version every ten months, so I think february is too premature.

Quote
PS : how do you use this call to Update() ?

Just remove the two lines with the event-related code and call Update() instead

Code: [Select]
        wxBusyCursor useless;
        // wxPaintEvent e;
        // ProcessEvent(e);
        Update();
        for (unsigned int i = 0; i < files.GetCount(); ++i)
          success &= OpenGeneric(files[i]);
7
Using Code::Blocks / Re: Upgrading to wxWidgets 3.1.3
« Last post by stahta01 on Today at 05:07:46 am »
Look at the CB Project setting; remember to check both the project and each target setting.

Edit: "Search Directories" -> "Compiler" and "Search Directories" -> "Resource Compiler"
And, as noted before check all the places in left hand pane (project/targets)

Edit2: If not found there, then check "Compiler Settings" -> "other compiler options" and
"Compiler Settings" -> "other resource compiler options"

Tim S.
8
Using Code::Blocks / Upgrading to wxWidgets 3.1.3
« Last post by spflanze on Today at 04:35:14 am »
After doing all I know, and additional things I can find, to do this upgrade, when I attempt to compile I get this error:
Code: [Select]
-------------- Build: Debug in TIA Designer (compiler: GNU GCC Compiler)---------------

[  7.1%] mingw32-g++.exe -Wall -pipe -mthreads -Winvalid-pch -include wx_pch.h -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -DWX_PRECOMP -g -D__WXDEBUG__ -Winline -Wall -pg -m64 -g -g3 -IC:\wxWidgets-3.1.3\include -I..\Libraries\cminpack-1.3.6 -Iinclude\ -IC:\wxWidgets-3.1.2-posix\lib\gcc_dll\mswud -c "C:\Software\Designer\wx_pch.h" -o "wx_pch.h.gch\Debug_TIA Designer_wx_pch_h_gch"
Execution of 'mingw32-g++.exe -Wall -pipe -mthreads -Winvalid-pch -include wx_pch.h -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -DWX_PRECOMP -g -D__WXDEBUG__ -Winline -Wall -pg -m64 -g -g3 -IC:\wxWidgets-3.1.3\include -I..\Libraries\cminpack-1.3.6 -Iinclude\ -IC:\wxWidgets-3.1.2-posix\lib\gcc_dll\mswud -c "C:\Software\Designer\wx_pch.h" -o "wx_pch.h.gch\Debug_TIA Designer_wx_pch_h_gch"' in 'C:\Software\Designer' failed

In this compile command I see "IC:\wxWidgets-3.1.2-posix\lib\gcc_dll\mswud". This is an out of date path. I have found where many of the paths are set, but not this one. Where is this one set?

This is a very terse error message that does not say what the error is. How can I get more verbose messages that do say what the error is?
9
Help / Re: Code::Blocks (Unsupported 16-Bit Application)
« Last post by stahta01 on Today at 02:19:53 am »
If you still need help? I am still waiting on the full rebuild log!

Edit: The rebuild log is under "build log" not under "build messages"!

Without it I see nothing I can do to help you; except that you likely have the wrong Compiler or the wrong compiler option!

Edit2: My guess is that you set the compiler option "-m16" which would cause this error.

Tim S.
10
Using Code::Blocks / Re: Cut and paste does not seem to work properly
« Last post by alexchen on Today at 01:19:23 am »
I was using 11957, which is newer than 11925, when I notices the problem.  I reverted back to 11664 just to avoid the problem.
I do not notice whether I have key binder plug-in.  I only use whatever is the default and do not configure it and I use the pop-menu from the mouse click to cut/copy/paste.  I can play with the keybinder when I have time.


Thanks.
Pages: [1] 2 3 4 5 6 ... 10