User forums > Nightly builds

The 13 June 2013 build (9156) is out.

<< < (4/5) > >>

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 :

--- Code: ---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"
--- End code ---

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

gd_on

LETARTARE:
The "workspace" builds correctly with my setup.

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:

--- 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???


--- End quote ---

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.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version