Author Topic: Can`t build C::B IDE from latest svn revision 12240  (Read 6074 times)

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #15 on: December 20, 2020, 09:07:28 pm »
Since, you do not want help why are you still posting on this website?

You either need to have a Windows zip command first in the path or edit the CB project to use the MSys2 zip command.
This is NOT a CB problem!

Tim S.

So I want codeblocks to work correctly, and I show that there are bugs in codeblocks, and you claim that this is not a problem - and what do you think it is then?

I can not help you! If you can not read and understand what you quoted then no one can help you on this website!

Tim S.


Tell me then who can help me? Are you a codeblocks developer?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7152
    • My Best Post
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #16 on: December 20, 2020, 09:49:18 pm »
Since, you do not want help why are you still posting on this website?

You either need to have a Windows zip command first in the path or edit the CB project to use the MSys2 zip command.
This is NOT a CB problem!

Tim S.

So I want codeblocks to work correctly, and I show that there are bugs in codeblocks, and you claim that this is not a problem - and what do you think it is then?

I can not help you! If you can not read and understand what you quoted then no one can help you on this website!

Tim S.


Tell me then who can help me? Are you a codeblocks developer?

No, I am not a Code::blocks developer; but, since you can not understand what is the problem no one can help you!!!

As I told you already the problem is you are not using a Windows standard zip command!!!
Either you must use a Windows standard zip command or you must edit the CB Project!
This is NOT the fault of the CB Project! It is your fault for not installing an Windows standard zip command in the path before it finds the  MSys2 zip command!

Do you understand the problem?

If you still do not understand the problem; please get some to explain my post to you.

After you install the Windows standard zip command, you can add the path to it in the CB Compiler global setting.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7152
    • My Best Post
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #17 on: December 20, 2020, 10:26:08 pm »
I have likely built Code::Blocks over a hundred times using the MinGW64 GCC from MSys2.

I can help you; but, you have to understand what you are trying to do and you have to explain it to me.

I have built C::B using the standard CB Projects about 3 or more times; but, it seemed better to me to edit the CB Projects instead of trying to use the CB projects without changes.

I normally build C::B using an custom build of wxWidgets via one of two ways.
1. The C::B standard win32 way of mingw makefile
2. The MSys2 standard way of an MSys2 package

Under way 1 (mingw makefile) I have used monolithic builds with standard CB Projects or multilib with highly edited CB Projects.

My past tries of build CB via the configure/make required major edits to CB source code and the resulting binary failed to work.

My current use of highly customized CB projects that use wxWidgets msys2 package results in a binary that seems to work.
But, that project of mine was also to test CB source code changes.
And, I really have not tested the produced binary enough to say it works.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #18 on: December 20, 2020, 10:28:15 pm »
It is you who are incompetent in this problem. I have already found the cause of the problem and it is that too many parameters are passed for the zip, you need to use a template.

h:\i\msys64\usr\bin\zip.exe -0 ../../devel31_64/share/CodeBlocks/manager_resources.zip images/*.png images/??x??/*.png

« Last Edit: December 22, 2020, 09:33:28 pm by omlk »

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #19 on: December 20, 2020, 10:57:08 pm »
In this post I wrote 5 steps how to compile codeblox 32/64 bits and config, + it is necessary to correct really parameter in a file H:\I\CB_src\wxgtk\include\wx\msw\setup.h
Codeblock has compiled, but there are still problems with executing pre / post commands to copy files to the appropriate directory devel31

from
#define wxUSE_GRAPHICS_DIRECT2D 0

to in the #else case as well.
#define wxUSE_GRAPHICS_DIRECT2D 1

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7152
    • My Best Post
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #20 on: December 20, 2020, 11:15:32 pm »
I hope in time you can get a clue.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #21 on: December 21, 2020, 09:43:29 am »
 :)
« Last Edit: December 22, 2020, 09:35:10 pm by omlk »

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13408
    • Travis build status
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #22 on: December 21, 2020, 01:08:15 pm »
(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!]

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #23 on: December 21, 2020, 09:09:07 pm »
Okay, it was interesting to get through all the obstacles on the way to getting a C::B IDE ;)
« Last Edit: December 22, 2020, 09:32:25 pm by omlk »

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13408
    • Travis build status
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #24 on: December 22, 2020, 02:25:27 am »
I have not idea, why you think posting patches as images is something worth doing. :)
Posting patches without explanation what problem do they fix is even bigger waste of your time. :)
(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!]

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #25 on: December 22, 2020, 05:34:00 pm »
I have not idea, why you think posting patches as images is something worth doing. :)
Posting patches without explanation what problem do they fix is even bigger waste of your time. :)

An interesting question, I think others should learn to fix bugs in codeblocks and graphic information is better perceived than a fix that no one sees except the developers. :)
 
« Last Edit: December 22, 2020, 09:31:02 pm by omlk »

Offline sodev

  • Regular
  • ***
  • Posts: 432
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #26 on: December 22, 2020, 06:51:03 pm »
I don't know in which world you are living, but in my world "others" are failing to wear a simple face mask or stay at home. I have yet to meet someone who want's to fix stuff in third party code who doesn't call himself developer. As a developer looking at pictures (or even worse videos) to fix code is quite a huge waste of time for me, but maybe it's just me getting old and refusing to adapt to the new style of doing coding work ::) :P

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #27 on: December 24, 2020, 09:00:18 am »
If anyone wants to test my codeblocks build, here is the link
« Last Edit: December 24, 2020, 09:09:41 am by omlk »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7152
    • My Best Post
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #28 on: December 24, 2020, 09:37:24 pm »
For those like me that wonder which files are in the zip; here is the output of the tree command.

One file that likely should not be in the zip is codeblocks.RPT

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Can`t build C::B IDE from latest svn revision 12240
« Reply #29 on: December 24, 2020, 11:50:18 pm »
For those like me that wonder which files are in the zip; here is the output of the tree command.

One file that likely should not be in the zip is codeblocks.RPT

Tim S.
You're right, I'm more interested in how my build works, do you have any comments?