12 Replies - 25358 Views - Last Post: 04 March 2010 - 12:46 PM Rate Topic: -----

#1 wild494  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 86
  • Joined: 20-May 09

fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 05:29 PM

Ok I'm new to C++ but I'm trying to compile an uno game I found online. I keep running into this error. I'm not sure if I need to put up all the .cpp but I put up the unonet. I just want to see if this can compile without an error.

1>------ Build started: Project: unonet, Configuration: Debug Win32 ------
1>Compiling...
1>CardsManager.cpp
1>.\CardsManager.cpp(5) : fatal error C1083: Cannot open precompiled header file: '.\vc_mswd\minimal\minimal.pch': Permission denied
1>chatwindow.cpp
1>.\chatwindow.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\vc_mswd\minimal\minimal.pch': Permission denied
1>LayoutManager.cpp
1>.\LayoutManager.cpp(8) : fatal error C1083: Cannot open precompiled header file: '.\vc_mswd\minimal\minimal.pch': Permission denied
1>NetworkManager.cpp
1>.\NetworkManager.cpp(6) : fatal error C1083: Cannot open precompiled header file: '.\vc_mswd\minimal\minimal.pch': Permission denied
1>unonet.cpp
1>.\unonet.cpp(9) : fatal error C1083: Cannot open precompiled header file: '.\vc_mswd\minimal\minimal.pch': Permission denied
1>Generating Code...
1>Build log was saved at "file://c:\Users\Sherry\Desktop\uno\vc_mswd\minimal\BuildLog.htm"
1>unonet - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I've combed the internet and have tried some suggestions but still can't get it to work. Someone please help. Here is the code for the unonet.cpp at least. I'm using Visual Studio C++ 2008.

//UNONET game by darshan sonde
//licensed under zlib/png license check readme

#include "unonet.h"
#include "CardsManager.h"
#include "LayoutManager.h"
#include "NetworkManager.h"
#include "Chatwindow.h"
#include <wx/wx.h>
#include <sstream>
using namespace std;

//Create the app load cards and display game window
bool Unonet::OnInit()
{
    m_unoWindow = new UnoWindow(_T("UNONET Game"));
    m_unoWindow->Show(true);    
    
    
    wxImage::AddHandler( new wxPNGHandler );
    m_cards = new CardsManager();
    m_layout = new LayoutManager(m_unoWindow); 
    m_network = new NetworkManager();
    m_chatWindow = new ChatWindow(_T("Unonet Chat by darCwader"),m_unoWindow);
    m_chatWindow->Show(true);

	wxLogWindow *log=new wxLogWindow(m_unoWindow,_T("Debug"),true);

    SetTopWindow(m_unoWindow);
    return true;
}

IMPLEMENT_APP(Unonet)

BEGIN_EVENT_TABLE(UnoWindow, wxFrame)
    EVT_MENU(unoID_NEW_GAME, UnoWindow::onNewGame)
    EVT_MENU(unoID_NEW_NETWORK_GAME, UnoWindow::onNewNetworkGame)
    EVT_MENU(unoID_QUIT, UnoWindow::onQuit)
    EVT_MENU(unoID_PREFERENCES, UnoWindow::onOptions)
    EVT_MENU(unoID_ABOUT, UnoWindow::onAbout)
    EVT_TIMER(unoID_TIMER, UnoWindow::onTimer)
END_EVENT_TABLE()


UnoWindow::UnoWindow(const wxString &title)
        :wxFrame(NULL, wxID_ANY, title),m_timer(this,unoID_TIMER)
{
    //create the menu    
    wxMenu *fileMenu = new wxMenu;
    fileMenu->Append(unoID_NEW_GAME, _T("New Game\tCtrl-N"));
    fileMenu->Append(unoID_NEW_NETWORK_GAME, _T("New Network Game\tCtrl-W"));
    fileMenu->Append(unoID_QUIT, _T("Quit\tCtrl-Q"));
        
    wxMenu *settingsMenu = new wxMenu;
    //settingsMenu->Append(unoID_PREFERENCES, _T("Options...\tCtrl-O"));
    
    wxMenu *helpMenu = new wxMenu;
    helpMenu->Append(unoID_ABOUT, _T("About\tF1"));
    
    wxMenuBar *menuBar=new wxMenuBar;
    menuBar->Append(fileMenu,_T("&File"));
    //menuBar->Append(settingsMenu,_T("&Settings"));
    menuBar->Append(helpMenu,_T("&Help"));
    
    SetMenuBar(menuBar);
    
    CreateStatusBar(1);
    m_timer.Start(300);
}

UnoWindow::~UnoWindow()
{
}

void UnoWindow::onNewGame(wxCommandEvent &WXUNUSED(event))
{
	cout<<"\nMenu: onNewGame";
	bool gameStarted=wxGetApp().getLayoutManager()->getGameStarted();
	if(gameStarted)
	{
		int answer = wxMessageBox("Resign Current game?", "Confirm",
                            wxYES_NO | wxCANCEL, this);
		if (answer != wxYES)
			return;
	}
	wxGetApp().getLayoutManager()->setGameStarted(true);
    
    CardsManager *cards=wxGetApp().getCardsManager();
    cards->initDeck();
    Card tmp=cards->getCardFromDeck();
    cards->topCard = tmp;

	//TODO:topcard color has to be handled
	if(tmp.color==0)
		cards->topCardColor=1;
	else
		cards->topCardColor=tmp.color;

    for(int i=0;i<7;i++)
    {
        tmp = cards->getCardFromDeck();
        cards->putCard(tmp);
    }

	//send 7 cards for each user connected
	// user newgame nCards <pos> <offset> <color>...
	NetworkManager *network=wxGetApp().getNetworkManager();
	network->turn=0;
	if(network->isServer())
	{
		int nPlayers=wxGetApp().getNetworkManager()->getNPlayers();
		
		for(int i=0;i<nPlayers;++i)
		{
			stringstream ss;
			wxLogMessage("ss is cleared... ");			
			
			ss<<network->getPlayer(i)<<" newgame 7 ";
			for(int i=0;i<7;i++)
			{
				tmp = cards->getCardFromDeck();
				ss<<tmp.position<<" "<<tmp.offset<<" "<<tmp.color<<" ";
			}
			wxLogMessage("sending %s",ss.str().c_str());
			network->getServer()->RPC("netsend",ss.str().c_str(),(strlen(ss.str().c_str())+1)*8,
				HIGH_PRIORITY, RELIABLE_ORDERED, 0, UNASSIGNED_PLAYER_ID, 
				true, false, UNASSIGNED_OBJECT_ID);
		}
		//send topcard // 4) move topPos topOffset topCol penalty
		stringstream ss;
		ss<<"dummyName move "<<cards->topCard.position<<" "<<cards->topCard.offset<<" "<<cards->topCard.color<<
			" "<<wxGetApp().getLayoutManager()->getPenalty()<<" "<<cards->topCardColor;
		network->getServer()->RPC("netsend",ss.str().c_str(),(strlen(ss.str().c_str())+1)*8,
				HIGH_PRIORITY, RELIABLE_ORDERED, 0, UNASSIGNED_PLAYER_ID, 
				true, false, UNASSIGNED_OBJECT_ID);
	}

	
    Refresh(true);
}
void UnoWindow::onNewNetworkGame(wxCommandEvent &WXUNUSED(event))
{
    cout<<"\nMenu: onNewnetworkGame";
	wxGetApp().getLayoutManager()->setGameStarted(false);
    NetworkManager *network=wxGetApp().getNetworkManager();
    //get server or client choice
    wxArrayString choices;
    choices.Add(_T("Server"));
    choices.Add(_T("Client"));
    wxString chose=wxGetSingleChoice(_T("Choose..."),_T("UNO"),choices);
    if(chose.Length()==0)
        return;
    
    wxString name= wxGetTextFromUser(_T("Enter your name"), _T("Nick"));
    
    if(name.Length()==0)
    {
        network->name=0;
        return;
    }
    else
    {
        char *str = new char[20];
        strcpy(str,(char *)name.c_str());
        network->name = str;
    }
    if(chose.Cmp(_T("Server"))==0)
        network->startServer();
    else
    {
        //get ip address
        wxString ip= wxGetTextFromUser(_T("Enter the server ip"), _T("ENTER IP ADDRESS"));
        if(ip.Cmp(_T(""))==0)
            ip=_T("127.0.0.1");
        network->startClient((char *)ip.c_str());
    }
    
}
void UnoWindow::onQuit(wxCommandEvent &WXUNUSED(event))
{
    Close(true);
}
void UnoWindow::onOptions(wxCommandEvent &WXUNUSED(event))
{
    cout<<"\nMenu: onOptions";
}
void UnoWindow::onAbout(wxCommandEvent &WXUNUSED(event))
{
    wxMessageBox(_T("game design and development By \nDarshan M Sonde\n\n")
			     _T("cards design by camille roux\n\nTo use the game you have to start a server or client\n to get your ip, goto whatismyipaddress.com")
				 _T("\nTo play you need to start atleast 1 server, to which atleast 1 client shud connect and server shud give NEW GAME"));
}
void UnoWindow::onTimer(wxTimerEvent &WXUNUSED(event))
{
    wxGetApp().getNetworkManager()->processPackets();
}

//



This post has been edited by wild494: 03 March 2010 - 05:30 PM


Is This A Good Question/Topic? 0
  • +

Replies To: fatal error C1083: Cannot open precompiled header file

#2 carltech  Icon User is offline

  • What did you call me?
  • member icon

Reputation: 28
  • View blog
  • Posts: 997
  • Joined: 19-October 07

Re: fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 05:53 PM

can you give an example of where you try to include and use minimal.pch?

This post has been edited by carltech: 03 March 2010 - 05:54 PM

Was This Post Helpful? 0
  • +
  • -

#3 wild494  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 86
  • Joined: 20-May 09

Re: fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 06:04 PM

View Postcarltech, on 03 March 2010 - 04:53 PM, said:

can you give an example of where you try to include and use minimal.pch?



I'm not quite sure what you mean by an example. As I said I'm really new to C++. I know that the .\vc_mswd\minimal gets automatically created when I try to build the solution. I've deleted the file several times because I read on the internet that the permission denied means that the file is being used by something else. Every time I build the solution it's created again.

This post has been edited by wild494: 03 March 2010 - 06:04 PM

Was This Post Helpful? 0
  • +
  • -

#4 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6058
  • View blog
  • Posts: 23,496
  • Joined: 23-August 08

Re: fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 06:26 PM

Something like this maybe might be of assistance? It's an MS-weirdism, and after my day and MS crap...they're on the list.
Was This Post Helpful? 0
  • +
  • -

#5 wild494  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 86
  • Joined: 20-May 09

Re: fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 06:35 PM

View PostJackOfAllTrades, on 03 March 2010 - 05:26 PM, said:

Something like this maybe might be of assistance? It's an MS-weirdism, and after my day and MS crap...they're on the list.


Yea I just read that site and tried all the suggestions before deciding to post on here. That was the last straw for me when I couldn't get it to work.
Was This Post Helpful? 0
  • +
  • -

#6 carltech  Icon User is offline

  • What did you call me?
  • member icon

Reputation: 28
  • View blog
  • Posts: 997
  • Joined: 19-October 07

Re: fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 06:47 PM

sorry I was thinking of something else.

Did you try a clean then build? reinstalling wxwidgets? restarting the computer?
Was This Post Helpful? 0
  • +
  • -

#7 jjl  Icon User is offline

  • Engineer
  • member icon

Reputation: 1072
  • View blog
  • Posts: 4,532
  • Joined: 09-June 09

Re: fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 06:49 PM

Go to project properties -> C/C++ - > Precompiled Headers
And select not using precompiled headers
Was This Post Helpful? 0
  • +
  • -

#8 wild494  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 86
  • Joined: 20-May 09

Re: fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 07:21 PM

View Postcarltech, on 03 March 2010 - 05:47 PM, said:

sorry I was thinking of something else.

Did you try a clean then build? reinstalling wxwidgets? restarting the computer?


Yes I've tried all those things and it's still giving me the same error.

Quote

Go to project properties -> C/C++ - > Precompiled Headers
And select not using precompiled headers


I've done that and did it just now again and now I get this error.

1>------ Build started: Project: unonet, Configuration: Debug Win32 ------
1>Compiling...
1>CardsManager.cpp
1>c:\users\sherry\desktop\uno\unonet.h(6) : fatal error C1083: Cannot open include file: 'wx/wx.h': No such file or directory
1>chatwindow.cpp
1>c:\users\sherry\desktop\uno\unonet.h(6) : fatal error C1083: Cannot open include file: 'wx/wx.h': No such file or directory
1>LayoutManager.cpp
1>c:\users\sherry\desktop\uno\unonet.h(6) : fatal error C1083: Cannot open include file: 'wx/wx.h': No such file or directory
1>NetworkManager.cpp
1>c:\users\sherry\desktop\uno\NetworkManager.h(4) : fatal error C1083: Cannot open include file: 'PacketEnumerations.h': No such file or directory
1>unonet.cpp
1>c:\users\sherry\desktop\uno\unonet.h(6) : fatal error C1083: Cannot open include file: 'wx/wx.h': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\Users\Sherry\Desktop\uno\vc_mswd\minimal\BuildLog.htm"
1>unonet - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


//UNONET game by darshan sonde
//licensed under zlib/png license check readme
#ifndef _UNO_UNONET_H
#define _UNO_UNONET_H

#include <wx/wx.h>
#include <wx/image.h>

enum unoID
{
    unoID_NEW_GAME = wxID_HIGHEST,
    unoID_NEW_NETWORK_GAME,
    unoID_QUIT,
    unoID_PREFERENCES,
    unoID_ABOUT,
    unoID_TIMER,
    chatID_TEXT_ENTER
};
class Unonet;
class UnoWindow;
class CardsManager;
class LayoutManager;
class NetworkManager;
class ChatWindow;

/** 
 *  @brief Main game application class.
 *  This is derived from wxApp and creates the window and frame and loads all images.
 */ 
class Unonet: public wxApp
{
    public:
        /// Creates the frame and creates CardsManager which loads all card images.         
        virtual bool    OnInit();
        
        UnoWindow*      getUnoWindow(){ return m_unoWindow; }
        CardsManager*   getCardsManager(){ return m_cards; }
        LayoutManager*  getLayoutManager(){ return m_layout; }
        NetworkManager* getNetworkManager(){ return m_network; }
        ChatWindow*     getChatWindow(){ return m_chatWindow; }
        
    private:
        UnoWindow       *m_unoWindow;
        CardsManager    *m_cards;
        LayoutManager   *m_layout; ///< is the main window derived from wxScrolledWindows
        NetworkManager  *m_network;
        ChatWindow      *m_chatWindow;
};
DECLARE_APP(Unonet)

/** 
 *  @brief the main game frame window.
 *  This initializes the menu, status bar and creates Layoutmanager.
 */
class UnoWindow:public wxFrame
{
    public:
        wxTimer m_timer;
        
        UnoWindow(const wxString &title); //constructor
        ~UnoWindow();                     //destructor
        
        //event handlers for menu actions
        void onNewGame(wxCommandEvent &event);
        void onNewNetworkGame(wxCommandEvent &event);
        void onQuit(wxCommandEvent &event);
        void onOptions(wxCommandEvent &event);
        void onAbout(wxCommandEvent &event);
        void onPaint(wxPaintEvent &event);
        void onTimer(wxTimerEvent &event);
        
    private:
        DECLARE_EVENT_TABLE()
};


/** @mainpage UNONET
 *  
 *  @section Introduction
 *  
 *  UNONET is a cross platform UNO card game, capable of online multiplayer
 *  games. Can be played over internet or LAN.
 *  
 *  @section Game
 * 
 *  Game uses wxWidgets for interface and Raknet for networking. 
 *  Take a loot at the <a href="annotated.html">Class List</a> for better understanding
 *  of the framework.
 *  
 *  EnJoY the game.
 */

#endif



That is the unonet.h code. I'm at a lost.
Was This Post Helpful? 0
  • +
  • -

#9 carltech  Icon User is offline

  • What did you call me?
  • member icon

Reputation: 28
  • View blog
  • Posts: 997
  • Joined: 19-October 07

Re: fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 07:49 PM

did you include the headers in VS?

Tools->Options->Projects and Solutions->VC++ Directories

EDIT: Not trying to say your dumb or anything with all of the simple posts but I am just starting with the basics and working out.

EDIT EDIT: you never know when you'll miss the simplest thing...or I least that happens to me a lot.

This post has been edited by carltech: 03 March 2010 - 09:13 PM

Was This Post Helpful? 0
  • +
  • -

#10 wild494  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 86
  • Joined: 20-May 09

Re: fatal error C1083: Cannot open precompiled header file

Posted 03 March 2010 - 09:17 PM

View Postcarltech, on 03 March 2010 - 06:49 PM, said:

did you include the headers in VS?

Tools->Options->Projects and Solutions->VC++ Directories

EDIT: Not trying to say your dumb or anything with all of the simple posts but I am just starting with the basics and working out.

EDIT EDIT: you never know when you'll miss the simplest thing...or I least that happens to me a lot.


I hadn't done that so I tried it but now I get this error.

1>------ Build started: Project: unonet, Configuration: Debug Win32 ------
1>Compiling...
1>CardsManager.cpp
1>C:\wxWidgets\include\wx/platform.h(190) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
1>chatwindow.cpp
1>C:\wxWidgets\include\wx/platform.h(190) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
1>LayoutManager.cpp
1>C:\wxWidgets\include\wx/platform.h(190) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
1>NetworkManager.cpp
1>c:\users\sherry\desktop\uno\NetworkManager.h(4) : fatal error C1083: Cannot open include file: 'PacketEnumerations.h': No such file or directory
1>unonet.cpp
1>C:\wxWidgets\include\wx/platform.h(190) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\Users\Sherry\Desktop\uno\vc_mswd\minimal\BuildLog.htm"
1>unonet - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

So I go into the folder and create a setup.h from the setup.inc.h that I have in there then I get this error.

1>------ Build started: Project: unonet, Configuration: Debug Win32 ------
1>Compiling...
1>CardsManager.cpp
1>C:\wxWidgets\include\wx/chkconf.h(76) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined."
1>chatwindow.cpp
1>C:\wxWidgets\include\wx/chkconf.h(76) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined."
1>LayoutManager.cpp
1>C:\wxWidgets\include\wx/chkconf.h(76) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined."
1>NetworkManager.cpp
1>c:\users\sherry\desktop\uno\NetworkManager.h(4) : fatal error C1083: Cannot open include file: 'PacketEnumerations.h': No such file or directory
1>unonet.cpp
1>C:\wxWidgets\include\wx/chkconf.h(76) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined."
1>Generating Code...
1>Build log was saved at "file://c:\Users\Sherry\Desktop\uno\vc_mswd\minimal\BuildLog.htm"
1>unonet - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


So every time I try something different I get a whole different error. I guess that's not a bad thing at least it's not the same error. Don't worry not taking anything into offense. If these simple posts help me figure out what I'm doing wrong I'll even kiss the ground you walk on (not really but hey it sounded good). :stuart:

This post has been edited by wild494: 03 March 2010 - 09:19 PM

Was This Post Helpful? 0
  • +
  • -

#11 carltech  Icon User is offline

  • What did you call me?
  • member icon

Reputation: 28
  • View blog
  • Posts: 997
  • Joined: 19-October 07

Re: fatal error C1083: Cannot open precompiled header file

Posted 04 March 2010 - 12:45 AM

I found you a simple vid to follow. just undo all of what you've done so far and try this out.
I haven't used wxWidgets in a while so this helped. :)

http://blip.tv/file/1068698

yup you need to build you wxWidgets

This post has been edited by carltech: 04 March 2010 - 01:01 AM

Was This Post Helpful? 0
  • +
  • -

#12 wild494  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 86
  • Joined: 20-May 09

Re: fatal error C1083: Cannot open precompiled header file

Posted 04 March 2010 - 10:22 AM

View Postcarltech, on 03 March 2010 - 11:45 PM, said:

I found you a simple vid to follow. just undo all of what you've done so far and try this out.
I haven't used wxWidgets in a while so this helped. :)

http://blip.tv/file/1068698

yup you need to build you wxWidgets



I don't know what I'm doing wrong. I've uninstalled and re installed the wxwidgets. Thanks for the video hadn't found that one. Still getting errors though.
Was This Post Helpful? 0
  • +
  • -

#13 wild494  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 86
  • Joined: 20-May 09

Re: fatal error C1083: Cannot open precompiled header file

Posted 04 March 2010 - 12:46 PM

These two things put together helped me understand more about the wxWidgets. So I followed the second quote and now I got rid of the 1>C:\wxWidgets\include\wx/platform.h(190) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory. Now to figure out how to fix the 1>c:\users\sherry\desktop\uno\NetworkManager.h(4) : fatal error C1083: Cannot open include file: 'PacketEnumerations.h': No such file or directory. Ugh!

The quotes came from this website Stack Overflow

Quote

wxWidgets is not built into useable libraries when you "install" the wxMSW installer. This is because there are so many configurable elements, which is precisely what the setup.h you refer to is for.

If you just want to build it with default options as quickly as possible and move on, here is how:

1.

Start the "Visual Studio Command Prompt." You'll find this in the start menu under "Microsoft Visual Studio -> Visual Studio Tools".
2.

Change to folder: [WXWIN root]\build\msw
3.

Build default debug configuration: nmake -f makefile.vc BUILD=debug
4.

Build default release configuration: nmake -f makefile.vc BUILD=release
5.

Make sure the DLLs are in your PATH. They'll be found in [WXWIN root]\lib\vc_dll
6.

Under the DLL folder mentioned above, you will find subfolders for each build variant (The instructions above made two, debug and release.) In each variant folder you'll find a 'wx' folder containing a 'setup.h" file. You'll see that the setup.h files are actually different for each build variant. These are the folders you need to add to your project build configuration include path, one per build variant. So, for example, you'd add [WXWIN root]\lib\vc_dll\mswud to the include path for your debug build, [WXWIN root]\lib\vc_dll\mswu for your release build.
7.

It is possible to build lots of other variant combinations: static libs, monolithic single library, non-Unicode, etc. See [WXWIN root]\docs\msw\install.txt for much more extensive instructions.


Quote

The setup.h is not supposed to be in the include/wx folder. This would prevent you from using wxWidgets with multiple build configurations; debug, release, etc. The build process actually copies appropriately configured setup.h headers to configuration-specific folders under [WXWIN root]\lib. – kbluck Oct 16 '08 at 15:57

for example if you are under windows,copy the setup.h from wx/msw to wx. – jcyang Jan 19 at 3:03

This post has been edited by wild494: 04 March 2010 - 12:47 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1