Hi Zenju -
Wonder if you have come across this ?
Following Compile.txt, make wxWidgets seems to all run ok, so switch back to
FFS directory and do a make (from root).
{Start Snippet}
root@mepis1:/home/n4af/ffs# make
if ; then mkdir OBJ; fi
g++ -o OBJ/removeBOM tools/removeBOM.cpp
./OBJ/removeBOM shared/localization.cpp shared/localization_no_BOM.cpp
Operation successful!
g++ -Wall -pipe -DNDEBUG -DwxUSE_UNICODE `wx-config --cxxflags --debug=no
--unicode=yes` `pkg-config --cflags gtk+-2.0` -DFFS_LINUX -DTIXML_USE_STL
-DZSTRING_CHAR -O3 -pthread -c -Ishared/boost_1_x `pkg-config --cflags
gtkmm-2.4` structures.cpp -o OBJ/structures.o
Warning: No config found to match: /usr/local/bin/wx-config --cxxflags
--debug=no --unicode=yes
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
In file included from structures.cpp:7:
structures.h:10:23: error: wx/string.h: No such file or directory
structures.cpp:8:21: error: wx/intl.h: No such file or directory
In file included from structures.h:13,
from structures.cpp:7:
shared/systemConstants.h:23: error: expected initializer before '*' token
In file included from structures.cpp:7:
structures.h:25: error: 'wxString' does not name a type
structures.h:80: error: 'wxString' does not name a type
structures.h:81: error: 'wxString' does not name a type
structures.h:97: error: 'wxString' does not name a type
structures.h:98: error: 'wxString' does not name a type
structures.h:166: error: 'wxString' does not name a type
structures.h:199: error: expected ',' or '...' before '&' token
structures.h:199: error: ISO C++ forbids declaration of 'wxString' with no
type
structures.h:212: error: 'wxString' does not name a type
structures.h: In constructor
'FreeFileSync::AlternateSyncConfig::AlternateSyncConfig(const
FreeFileSync::SyncConfiguration&, FreeFileSync::DeletionPolicy, int)':
{End Snippet}
I dropped subsequent errors, but perhaps you recognize this ?
is the wx/string.h normal or is the wx prefix causing the trouble ??
Thanks, Howard
Make trouble on Mepis8.5
- Posts: 15
- Joined: 25 Jan 2010
- Posts: 15
- Joined: 25 Jan 2010
Ok, I think he is complaining about includes.
I see a stringConv.h but no string.h ?
Tks, Howard
I see a stringConv.h but no string.h ?
Tks, Howard
-
- Site Admin
- Posts: 7523
- Joined: 9 Dec 2007
> Warning: No config found to match: /usr/local/bin/wx-config --cxxflags
--debug=no --unicode=yes
> in /usr/local/lib/wx/config
This is the problem here. It should find one. Did you compile wxWidgets
according to compile.txt, i.e. "./configure --with-gtk --enable-unicode
--enable-shared --disable-debug"? If so, this configuration should be
available. Alternatively downloading a prebuilt wxWidgets development package
should work, too. You can use "wx-config --list" on console to check which
wxWidgets versions are available.
--debug=no --unicode=yes
> in /usr/local/lib/wx/config
This is the problem here. It should find one. Did you compile wxWidgets
according to compile.txt, i.e. "./configure --with-gtk --enable-unicode
--enable-shared --disable-debug"? If so, this configuration should be
available. Alternatively downloading a prebuilt wxWidgets development package
should work, too. You can use "wx-config --list" on console to check which
wxWidgets versions are available.