![]() |
Здравствуйте, гость ( Вход | Регистрация )
![]() ![]() |
![]() |
Гость_Гость_Balbes_*_* |
![]()
Сообщение
#1
|
Гости ![]() |
скачал исходник qtStumbler с сайта, у меня msvc 2003,вообщем как написано в ридми(Compilation instructions:
(1) make distclean (2) qmake -makefile (or "qmake-qt4 -makefile") (3) make) пишу qmake -makefile,создается три файла makefile, makefile.debug,makefile.release. дальше nmake после чего выдаёт это: дабы сильно не сорить часть: Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array NodeTree.cpp c:\1\wifi\ndisaux.h(34) : warning C4200: nonstandard extension used : zero-sized array in struct/union Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array OptionsForm.cpp properties.cpp SoundKeeper.cpp SoundKeeper.cpp(3) : fatal error C1083: Cannot open include file: 'SDL/SDL_mixer .h': No such file or directory ThreadState.cpp Generating Code... NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Stop. если кто знает,подскажите! |
|
|
ViGOur |
![]()
Сообщение
#2
|
![]() Мастер ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модератор Сообщений: 3296 Регистрация: 9.10.2007 Из: Москва Пользователь №: 4 Спасибо сказали: 231 раз(а) Репутация: ![]() ![]() ![]() |
Тебе по все видимости нужно: SDL version 1.2.13 (stable) и SDL_mixer 1.2
|
|
|
Гость_Гость_Balbes_*_* |
![]()
Сообщение
#3
|
Гости ![]() |
Тебе по все видимости нужно: SDL version 1.2.13 (stable) и SDL_mixer 1.2 там из Runtime Libraries или Development Libraries,да и миксер я там не нашёл,или нужно что то одно из них? |
|
|
ViGOur |
![]()
Сообщение
#4
|
![]() Мастер ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модератор Сообщений: 3296 Регистрация: 9.10.2007 Из: Москва Пользователь №: 4 Спасибо сказали: 231 раз(а) Репутация: ![]() ![]() ![]() |
Как я понял нужны оба. Я брал архивы Source.
|
|
|
Гость_Гость_Balbes_*_* |
![]()
Сообщение
#5
|
Гости ![]() |
|
|
|
ViGOur |
![]()
Сообщение
#6
|
![]() Мастер ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модератор Сообщений: 3296 Регистрация: 9.10.2007 Из: Москва Пользователь №: 4 Спасибо сказали: 231 раз(а) Репутация: ![]() ![]() ![]() |
Из Source Code.
Вроде компилилось, работу я не проверял... |
|
|
Гость_Гость_Balbes_*_* |
![]()
Сообщение
#7
|
Гости ![]() |
Из Source Code. Вроде компилилось, работу я не проверял... DL-1.2.13.tar.gz - GPG signed SDL-1.2.13-1.src.rpm - GPG signed SDL-1.2.13.zip - GPG signed SDL-1.2.13.sea.bin - GPG signed..... всё что там есть,,,слушай,а может а ты не пробовал под вижуал его собирать?всмысле qtstumbler? |
|
|
ViGOur |
![]()
Сообщение
#8
|
![]() Мастер ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модератор Сообщений: 3296 Регистрация: 9.10.2007 Из: Москва Пользователь №: 4 Спасибо сказали: 231 раз(а) Репутация: ![]() ![]() ![]() |
Брал zip файлы, и как раз в студии его и собирал, правда в командной строке, но все же.
![]() |
|
|
Гость_Гость_Balbes_*_* |
![]()
Сообщение
#9
|
Гости ![]() |
|
|
|
Гость_Гость_Balbes_*_* |
![]()
Сообщение
#10
|
Гости ![]() |
Брал zip файлы, и как раз в студии его и собирал, правда в командной строке, но все же. ![]() SDL version 1.2.13 (stable) и SDL_mixer 1.2 что это и для чего они?слушай если не трудно ,попробуй у ся в вижуале откомпилить qtStumbler ? ему нужен SDL/SDL_mixer.h,скачал SDL-1.2.13.zip его там нет! |
|
|
Гость_Гость_Balbes_*_* |
![]()
Сообщение
#11
|
Гости ![]() |
вроде разобрался....короче закинул модули в инклуд при компиляции вот чё:
Compiling... moc_SoundKeeper.cpp c:\1\debug\../SoundKeeper.h(26) : error C2143: syntax error : missing ';' before '*' c:\1\debug\../SoundKeeper.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\1\debug\../SoundKeeper.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int moc_MainForm.cpp c:\1\wifi\ndisaux.h(34) : warning C4200: nonstandard extension used : zero-sized array in struct/union Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array c:\1\SoundKeeper.h(26) : error C2143: syntax error : missing ';' before '*' c:\1\SoundKeeper.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\1\SoundKeeper.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int serial.cpp .\win32_gps\serial.cpp(32) : warning C4244: '=' : conversion from 'DWORD' to 'BYTE', possible loss of data .\win32_gps\serial.cpp(65) : error C2057: expected constant expression .\win32_gps\serial.cpp(65) : error C2466: cannot allocate an array of constant size 0 .\win32_gps\serial.cpp(65) : error C2133: 'szBuff' : unknown size main.cpp c:\1\wifi\ndisaux.h(34) : warning C4200: nonstandard extension used : zero-sized array in struct/union Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array c:\1\SoundKeeper.h(26) : error C2143: syntax error : missing ';' before '*' c:\1\SoundKeeper.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\1\SoundKeeper.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int WirelessDevice.cpp c:\1\win32_wifi\../wifi/ndisaux.h(34) : warning C4200: nonstandard extension used : zero-sized array in struct/union Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array c:\1\win32_wifi\../wifi/WirelessNode.h(39) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion) c:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\guiddef.h(192): could be 'int operator ==(const GUID &,const GUID &)' while trying to match the argument list '(std::string, std::string)' .\win32_wifi\WirelessDevice.cpp(170) : warning C4800: 'unsigned long' : forcing value to bool 'true' or 'false' (performance warning) SoundKeeper.cpp c:\1\SoundKeeper.h(26) : error C2143: syntax error : missing ';' before '*' c:\1\SoundKeeper.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\1\SoundKeeper.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\SoundKeeper.cpp(12) : error C2065: 'Uint16' : undeclared identifier .\SoundKeeper.cpp(12) : error C2146: syntax error : missing ';' before identifier 'audio_format' .\SoundKeeper.cpp(12) : error C2065: 'audio_format' : undeclared identifier .\SoundKeeper.cpp(12) : error C2065: 'AUDIO_S16' : undeclared identifier .\SoundKeeper.cpp(18) : error C3861: 'Mix_OpenAudio': identifier not found .\SoundKeeper.cpp(22) : error C3861: 'Mix_QuerySpec': identifier not found .\SoundKeeper.cpp(27) : error C2065: 'sounds' : undeclared identifier .\SoundKeeper.cpp(31) : error C3861: 'Mix_PlayChannel': identifier not found .\SoundKeeper.cpp(40) : error C3861: 'Mix_PlayChannel': identifier not found .\SoundKeeper.cpp(54) : error C3861: 'Mix_LoadWAV': identifier not found .\SoundKeeper.cpp(55) : error C3861: 'Mix_LoadWAV': identifier not found .\SoundKeeper.cpp(56) : error C3861: 'Mix_LoadWAV': identifier not found .\SoundKeeper.cpp(57) : error C3861: 'Mix_LoadWAV': identifier not found .\SoundKeeper.cpp(58) : error C3861: 'Mix_LoadWAV': identifier not found .\SoundKeeper.cpp(59) : error C3861: 'Mix_LoadWAV': identifier not found |
|
|
Гость_Гость_Balbes_*_* |
![]()
Сообщение
#12
|
Гости ![]() |
Видимо со звуком проблемы, не хочет он с ним работать (
|
|
|
ViGOur |
![]()
Сообщение
#13
|
![]() Мастер ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модератор Сообщений: 3296 Регистрация: 9.10.2007 Из: Москва Пользователь №: 4 Спасибо сказали: 231 раз(а) Репутация: ![]() ![]() ![]() |
Да нет, просто чего-то не хватает, а вот чего понять не могу.
|
|
|
Гость_Гость_Balbes_*_* |
![]()
Сообщение
#14
|
Гости ![]() |
Вообщем посносил в коде всё что связано со звуком,исправил все ошибки,но при линковании он пишет мол Linking error C:\Program Files\Microsoft Visual Studio 8\VC\lib\sdl_mixer.lib file failed or corrupted, что такое,до словно не помню, хотя это это библиотека там есть, заменял её , но всё равно(в чём проблема и как её решить?
|
|
|
![]() ![]() ![]() |
![]() |
|
Текстовая версия | Сейчас: 7.6.2025, 17:19 |