News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

The 13 June 2013 build (9156) is out.

Started by killerbot, June 13, 2013, 09:51:24 PM

Previous topic - Next topic

gd_on

No problems for me, but I'm on Windows 7, as you with TDM 4.71, but my call to mingw32-make to build the dll version is different :

mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 USE_OPENGL=1 VENDOR=cb clean
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 USE_OPENGL=1 VENDOR=cb CXXFLAGS="-fno-keep-inline-dllexport"


May be you can try to add CXXFLAGS as suggested elsewhere in this forum.

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

LETARTARE

The "workspace" builds correctly with my setup.
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

ToApolytoXaos

It seems the problem is caused by CC Test. I have activated it and tried to compiled just this one on its own and throws the initial error messages.

Oleg_Sam

I am move  #include    <wx/settings.h>  string
in wxsMathPlot.h

so as:

#ifndef wxsMATHPLOT_H
#define wxsMATHPLOT_H

#include    <wx/settings.h>

#include    <stdio.h>
#include    <stdlib.h>
#include    <time.h>
#include    <cmath>
#include    <iostream>

#include    <windef.h>

#include    <wx/utils.h>
#include    <wx/string.h>
#include    <wx/filename.h>


#include "../wxscontainer.h"
#include "../wxsitemresdata.h"

#include    <mathplot.h>

and build is OK...

This is a strange...
Any ideas???

stahta01

#19
Quote from: Oleg_Sam on June 15, 2013, 03:22:02 PM
I am move  #include    <wx/settings.h>  string
in wxsMathPlot.h

so as:


and build is OK...

This is a strange...
Any ideas???


Problem is likely caused by "#include    <windef.h>" This file is the only place it is used in CB.
I suggest commenting out that line or replacing it with "#include <wx/msw/wrapwin.h>"

For more info about wrapwin.h read wxWidgets "docs/tech/tn0019.txt", I went thru CB a few years back and added these [wrapwin.h] calls because if you compile without using Precompiled Headers weird errors like this happen. This is likely a MinGW and/or wxWidgets bug.

Edit: I suggest commenting out all the includes but the last three if my suggestion above fails to fix the problem.

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]

Dreamy

#20
Hello everyone.

I think that something bad happened to the toolbars in this nightly... Or did I miss something?
Here is a comparison of 12.11 toolbars and 9156 toolbars (the background gradient is missing):


*edit* Ah, now I see: manifest is missing in new codeblocks.exe

golgepapaz

Quote from: Dreamy on June 16, 2013, 04:44:45 AM
Hello everyone.

I think that something bad happened to the toolbars in this nightly... Or did I miss something?

*edit* Ah, now I see: manifest is missing in new codeblocks.exe

Posted here
http://forums.next.codeblocks.org/index.php/topic,18035.msg123273.html#msg123273

if you revert to previous revision it should be ok. That's if you are building it yourself ofc.