News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

The 27 February 2022 build (12727) is out.

Started by killerbot, February 27, 2022, 09:05:20 AM

Previous topic - Next topic

killerbot

We switched to wx 3.1.5 --> download the new wx dll's see link below

If you tested the 22 january nightly you may find your compiler executable has changed from gcc.exe to mingw32-gcc.exe and g++.exe to mingw32-g++.exe. Please correct this, you won't be asked again.

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw31u_gcc_cb_wx315_2D_gcc810-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z


The 27 February 2022 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2022/CB_20220227_rev12727_win64.7z
  - Linux :
   none

The current SDK version is : 2.16.0

Resolved Fixed:


  • wxSmith: Export only needed symbols (last part of ticket #1206)
  • Restore --export-all-symbols in wxContribItems projects (removed in previous commit)
  • Add C::B manual to Linux help menu like Windows (ticket #1211, thanks Andrew Cottrell)

Regressions/Confirmed/Annoying/Common bugs:




Pecan

#1
The Clangd_Client for this nightly can be downloaded at
https://sourceforge.net/projects/cb-clangd-client/files/Plugin_Install_Package/Windows_x64/ClangdClientForCBNightly20220227_rev12727_win64.zip/download

Unzip and copy the included clangd_client.zip to <YourCodeBlocksNightlyFolder>\share\CodeBlocks\clangd_client.zip

Copy the included clangd_client.dll to <YourCodeBlocksNightlyFolder>\share\CodeBlocks\plugins\clangd_client.dll

Restart your CodeBlocks Nightly.

Install instructions for LLVM/clangd can be downloaded at:
https://sourceforge.net/p/cb-clangd-client/code/HEAD/tree/trunk/clangd_client/documentation-install/

Neo

#2
I have a strange problem with environment PATH value using getenv function (on Windows platform).

#include <stdio.h>
#include <stdlib.h>
int main()
{
    puts(getenv("PATH"));
    return 0;
}

If I run/debug the above program in CB, anything like "c:\some\dir" with surrounding quotes becomes something like \\"c\some\dir". Note the text is shown verbatim, and note the missing colon ( : ). It seems CB does not like leading quote char in PATH value.

If I run my program directly without CB IDE, the quoted path string is normal.

I verified this in old 17.12 which demonstrated same behavior. So it's an old bug but not disovered/reported by anyone.

Just curious, why does CB touch PATH value?

cyuyan

Quote from: Neo on March 02, 2022, 09:18:09 AM
I have a strange problem with environment PATH value using getenv function (on Windows platform).

#include <stdio.h>
#include <stdlib.h>
int main()
{
    puts(getenv("PATH"));
    return 0;
}

If I run/debug the above program in CB, anything like "c:\some\dir" with surrounding quotes becomes something like \\"c\some\dir". Note the text is shown verbatim, and note the missing colon ( : ). It seems CB does not like leading quote char in PATH value.

If I run my program directly without CB IDE, the quoted path string is normal.

I verified this in old 17.12 which demonstrated same behavior. So it's an old bug but not disovered/reported by anyone.

Just curious, why does CB touch PATH value?

I tested your program, running it normally on Win7.


PB

#4
Quote from: Neo on March 02, 2022, 09:18:09 AM
If I run/debug the above program in CB, anything like "c:\some\dir" with surrounding quotes becomes something like \\"c\some\dir". Note the text is shown verbatim, and note the missing colon ( : ). It seems CB does not like leading quote char in PATH value.
Just curious, why does CB touch PATH value?
I can confirm the issue on Windows 10 with C::B 20.03. Quotation marks in PATH must be rare, I had none there and had to add such a path manually. I am not sure if those are even allowed there, as it seems paths with folders having spaces in them (e.g., "Program Files (x86)") work just fine without them.

If you take a look at the output of your program, it becomes clear why C::B modifies the PATH: It prepends the current folder alias as well as the compiler path and its bin subfolder to it, so in my case it prepended
.;C:\msys64\mingw32\bin;C:\msys64\mingw32;
[url="https://github.com/PBfordev/wxpbguide"]https://github.com/PBfordev/wxpbguide[/url]

BlueHazzard

@cyuyan
Can you create a ticket in sourceforge? Here it will get lost....

Frank_CB

@Pecan:

  I've downloaded and unzipped both files specified in your instructions about the clangd_client plugin. Unfortunately there is no clangd_client.cbplugin file included, which is preventing installing the plugin either manually or with the Plugin Manager. Any suggestions?

Regards!






Pecan

#7
Quote from: Frank_CB on March 07, 2022, 10:39:06 PM
@Pecan:

  I've downloaded and unzipped both files specified in your instructions about the clangd_client plugin. Unfortunately there is no clangd_client.cbplugin file included, which is preventing installing the plugin either manually or with the Plugin Manager. Any suggestions?

Regards!

Make sure that CodeBlocks is not running.

Copy the included clangd_client.zip file to <YourCodeBlocksFolder>\share\CodeBlocks\clangd_client.zip

Copy the included clangd_client.dll to <YourCodeBlocksFolder>\share\CodeBlocks\plugins\clangd_client.dll

Restart your CodeBlocks .

Frank_CB

@Pecan
Where are cbplugin files located. I cannot find any cbplugin files with Plugin Manager or File Explorer in a couple different versions of CB.

I followed your instructions originally and just downloaded the files again and got the same results. Any more suggestions?

Regards!

stahta01

#9
Quote from: Frank_CB on March 08, 2022, 03:25:32 AM
@Pecan
Where are cbplugin files located. I cannot find any cbplugin files with Plugin Manager or File Explorer in a couple different versions of CB.

I followed your instructions originally and just downloaded the files again and got the same results. Any more suggestions?

Regards!

The directions [posted in this thread] worked for me.

QuoteClangd_Client 0.2.18 2022/02/26
[REMOVED]\CodeBlocks-NB\share\codeblocks\plugins\clangd_client.dll
This plugin provides a symbols browser for your projects and code-completion inside the editor.
Note: Only C/C++ language is supported by this plugin (currently)...

You do realize that you do not unzip the second zip file, right?

Edit: I did not test the plugin; just confirmed it was installed.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Frank_CB

@stahta01:
Was able to download NB 12727 and manually install clang_client plugin per the original directions given by Pecan.  However it couldn't be installed in SVN 12730 either manually or through the Plugin Manager.
@Pecan:
The instructions provided in the unzipped document file that addresses installing the plugin mentions cbplugin files. However, since I wasn't able to find any, that was the  reason for my previous post. Please disregard.

Regards!

Khram

C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

Miguel Gimenez


Khram

OS-Win-11. The error is old, at least from last year. Occurs after being idle for 5 minutes or more.
C++ & Fortran in MinGW-GCC-4.3.3 & WinLibs-GCC-14.2 with CB-13596

BlueHazzard