Billy Patton wrote:
I made sure that the lib/vc_lib was in my PATH variable
No it does not need to be in the PATH, its is a wxWidgets library
directory, and it should be filled by wxWidgets its build libraries.
Did you have it? And is it filled?
I added
MESSAGE( "wxwin root = ${wxWidgets_ROOT_DIR}" )
to the CMake.txt file
What file? And did the error message in FindExpat.cmake go away suddenly?
and got this output
wxwin root = C:/wxWidgets-2.8.2
If that is the case also in the piece of code in FindExpat.cmake, then
why does it not find lib/vc_lib there too?
I still get the errors, but it seems to compile many libs anyway. I
put 101 files into the lib directory
Yeh if the Cmake created files are not complete, i am not surprised.
And since you do not answer the tiny questions i ask, we are not getting
much further :-(.
Seems to be all in the samples :
42>Linking...
42>CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST,
name:1, language:0x0409
42>LINK : fatal error LNK1123: failure during conversion to COFF: file
invalid or corrupt
42>Build log was saved at
"file://c:\buildwxArt2d\samples\docview\samples\nonmanaged\sample_docview_nonmanaged.dir\Debug\BuildLog.htm"
42>sample_docview_nonmanaged - 2 error(s), 0 warning(s)
Yes this one i got too, i believe i removed a part from wx.rc at the end
and then it was gone.
I attached it here. If you replace the one in
C:/wxWidgets-2.8.2/include/wx/msw, it will be oke.
Klaas
/////////////////////////////////////////////////////////////////////////////
// File: wx.rc
// Purpose: wxWindows resource definitions. ALWAYS include
// this in your application resource file.
// Author: Julian Smart
// Modified by:
// Created:
// Copyright: (c) Julian Smart
// RCS-ID: $Id: wx.rc,v 1.49 2006/11/18 16:46:59 VZ Exp $
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__MWERKS__)
#include <winresrc.h>
#else
#include <windows.h>
#endif
#if defined(_WIN32_WCE)
#include "wx/msw/wince/wince.rc"
#endif
#include "wx/msw/rcdefs.h"
//////////////////////////////////////////////////////////////////////////////
//
// This is the MDI Window menu
//
wxWindowMenu MENU DISCARDABLE
BEGIN
POPUP "&Window"
BEGIN
MENUITEM "&Cascade", 4002
MENUITEM "Tile &Horizontally", 4001
MENUITEM "Tile &Vertically", 4005
MENUITEM "", -1
MENUITEM "&Arrange Icons", 4003
MENUITEM "&Next", 4004
END
END
//////////////////////////////////////////////////////////////////////////////
//
// Standard wxWindows Cursors
//
WXCURSOR_HAND CURSOR DISCARDABLE "wx/msw/hand.cur"
WXCURSOR_BULLSEYE CURSOR DISCARDABLE "wx/msw/bullseye.cur"
WXCURSOR_PENCIL CURSOR DISCARDABLE "wx/msw/pencil.cur"
WXCURSOR_MAGNIFIER CURSOR DISCARDABLE "wx/msw/magnif1.cur"
WXCURSOR_ROLLER CURSOR DISCARDABLE "wx/msw/roller.cur"
WXCURSOR_PBRUSH CURSOR DISCARDABLE "wx/msw/pbrush.cur"
WXCURSOR_PLEFT CURSOR DISCARDABLE "wx/msw/pntleft.cur"
WXCURSOR_PRIGHT CURSOR DISCARDABLE "wx/msw/pntright.cur"
WXCURSOR_BLANK CURSOR DISCARDABLE "wx/msw/blank.cur"
WXCURSOR_RIGHT_ARROW CURSOR DISCARDABLE "wx/msw/rightarr.cur"
WXCURSOR_CROSS CURSOR DISCARDABLE "wx/msw/cross.cur"
//////////////////////////////////////////////////////////////////////////////
//
// Default Icons
//
// First wx icon in alphabetical order, so it will be used by Explorer if the
// application doesn't have any icons of its own
wxICON_AAA ICON "wx/msw/std.ico"
//wxDEFAULT_FRAME ICON "wx/msw/std.ico"
//wxDEFAULT_MDIPARENTFRAME ICON "wx/msw/mdi.ico"
//wxDEFAULT_MDICHILDFRAME ICON "wx/msw/child.ico"
// Standard small icons
wxICON_SMALL_CLOSED_FOLDER ICON "wx/msw/folder1.ico"
wxICON_SMALL_OPEN_FOLDER ICON "wx/msw/folder2.ico"
wxICON_SMALL_FILE ICON "wx/msw/file1.ico"
wxICON_SMALL_COMPUTER ICON "wx/msw/computer.ico"
wxICON_SMALL_DRIVE ICON "wx/msw/drive.ico"
wxICON_SMALL_CDROM ICON "wx/msw/cdrom.ico"
wxICON_SMALL_FLOPPY ICON "wx/msw/floppy.ico"
wxICON_SMALL_REMOVEABLE ICON "wx/msw/removble.ico"
//////////////////////////////////////////////////////////////////////////////
//
// Bitmaps
//
// For wxContextHelpButton
csquery BITMAP "wx/msw/csquery.bmp"
// For obtaining the RGB values of standard colours
wxBITMAP_STD_COLOURS BITMAP "wx/msw/colours.bmp"
//////////////////////////////////////////////////////////////////////////////
//
// Manifest file for Windows XP
//
#if !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)
#if !defined(WX_MSC_FULL_VER) || WX_MSC_FULL_VER < 140040130
// see "about isolated applications" topic in MSDN
#ifdef ISOLATION_AWARE_ENABLED
#define wxMANIFEST_ID 2
#else
#define wxMANIFEST_ID 1
#endif
#endif // !defined(WX_MSC_FULL_VER) || WX_MSC_FULL_VER < 140040130
#endif // !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev