Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » "Allegro 5" (4.9.11): fixdll problems... Vista x64 **

This thread is locked; no one can reply to it. rss feed Print
 1   2 
"Allegro 5" (4.9.11): fixdll problems... Vista x64 **
Phrasz
Member #10,091
August 2008

Hey all,

I have been attempting to compile allegro 5 for the first time(build 4.9.11). I am using the straight svn sources, and haven't gotten to the cmake compile yet due to my problems with the fixdll.bat.

The first issue I had was:

#SelectExpand
1 2 3C:\svn allegro 5\misc>fixdll 4*** Warning !!! 5 Using this script to generate the DLL export definition files may br 6 binary compatibility with the latest release. Use misc/fixdll.sh ins
7
8Scanning for API symbols... 9gcc: misc/scanexp.c: No such file or directory 10gcc: no input files 11'sed' is not recognized as an internal or external command, 12operable program or batch file. 13'sed' is not recognized as an internal or external command, 14operable program or batch file. 15'sort' is not recognized as an internal or external command, 16operable program or batch file. 17Scanning for WinAPI symbols... 18gcc: misc/scanexp.c: No such file or directory 19gcc: no input files 20'sed' is not recognized as an internal or external command, 21operable program or batch file. 22'sed' is not recognized as an internal or external command, 23operable program or batch file. 24'sort' is not recognized as an internal or external command, 25operable program or batch file. 26Scanning for internal symbols... 27gcc: misc/scanexp.c: No such file or directory 28gcc: no input files 29'sed' is not recognized as an internal or external command, 30operable program or batch file. 31'sed' is not recognized as an internal or external command, 32operable program or batch file. 33'sort' is not recognized as an internal or external command, 34operable program or batch file. 35'sed' is not recognized as an internal or external command, 36operable program or batch file. 37'sed' is not recognized as an internal or external command, 38operable program or batch file. 39Generating... 40 lib\msvc\allegro.def 41The system cannot find the path specified. 42 lib\mingw32\allegro.def 43The system cannot find the path specified. 44 lib\dmc\allegro.def 45The system cannot find the path specified. 46 lib\bcc32\allegro.def 47The system cannot find the path specified. 48Done!

Since it couldn't find the path I simply moved the bat file up a level.

Now I am getting this error:

#SelectExpand
1 2C:\svn allegro 5>fixdll 3*** Warning !!! 4 Using this script to generate the DLL export definition files may break 5 binary compatibility with the latest release. Use misc/fixdll.sh instead.
6
7Scanning for API symbols... 8'sed' is not recognized as an internal or external command, 9operable program or batch file. 10'sed' is not recognized as an internal or external command, 11operable program or batch file. 12'sort' is not recognized as an internal or external command, 13operable program or batch file. 14Scanning for WinAPI symbols... 15'sed' is not recognized as an internal or external command, 16operable program or batch file. 17'sed' is not recognized as an internal or external command, 18operable program or batch file. 19'sort' is not recognized as an internal or external command, 20operable program or batch file. 21Scanning for internal symbols... 22'sed' is not recognized as an internal or external command, 23operable program or batch file. 24'sed' is not recognized as an internal or external command, 25operable program or batch file. 26'sort' is not recognized as an internal or external command, 27operable program or batch file. 28'sed' is not recognized as an internal or external command, 29operable program or batch file. 30'sed' is not recognized as an internal or external command, 31operable program or batch file. 32Generating... 33 lib\msvc\allegro.def 34The system cannot find the path specified. 35 lib\mingw32\allegro.def 36The system cannot find the path specified. 37 lib\dmc\allegro.def 38The system cannot find the path specified. 39 lib\bcc32\allegro.def 40The system cannot find the path specified. 41Done!

Now I saw a previous post that I needed sed, so I picked up the Win32 build here

AS you can see sed is not being recognized, and idk what to do next.

Thx in advance!

Thomas Fjellstrom
Member #476
June 2000
avatar

you're supposed to run fixdll from the allegro basedir ie: misc/fixdll.bat

and the fixdll scripts need a few unix like tools, like sed and sort. Make sure they are in the PATH or the script cant find them.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Phrasz
Member #10,091
August 2008

heh... totally missed the sort and i was staring straight at it in the bat and in the cmd window.

Happen to know a link/site/example as to the look of adding the commands to the path?

(I know how to add to the path, but I am ignorant of syntax)

...currently working on installing the CoreUtils

thx for the reply as well

EDIT: 12:00 AM
I added the bin for gnu to "PATH" | "C:\Program Files (x86)\GnuWin32\bin"

I retried the fixdll in misc, but no go...trying a reboot (thrice) for kicks.

EDIT: 1210 AM

#SelectExpand
1 2C:\svn allegro 5\misc>fixdll 3*** Warning !!! 4 Using this script to generate the DLL export definition files may break 5 binary compatibility with the latest release. Use misc/fixdll.sh instead.
6
7Scanning for API symbols... 8gcc: misc/scanexp.c: No such file or directory 9gcc: no input files 10sed: can't read _apidef.tmp: No such file or directory 11sed: can't read _apidef.tmp: No such file or directory 12Scanning for WinAPI symbols... 13gcc: misc/scanexp.c: No such file or directory 14gcc: no input files 15sed: can't read _wapidef.tmp: No such file or directory 16sed: can't read _wapidef.tmp: No such file or directory 17Scanning for internal symbols... 18gcc: misc/scanexp.c: No such file or directory 19gcc: no input files 20sed: can't read _intdef.tmp: No such file or directory 21sed: can't read _intdef.tmp: No such file or directory 22Generating... 23 lib\msvc\allegro.def 24The system cannot find the path specified. 25 lib\mingw32\allegro.def 26The system cannot find the path specified. 27 lib\dmc\allegro.def 28The system cannot find the path specified. 29 lib\bcc32\allegro.def 30The system cannot find the path specified. 31Done!

Hmm after the reboot the tools seem to be at least registering... any ideas from here?

Thomas Fjellstrom
Member #476
June 2000
avatar

How are you changing your PATH? From the windows dialog for it? Or just using "Set" in the cmd?

If you change it from the dialog, you're going to have to close your cmd window and re open it to see the changes (some people say log out and back in, but I think re opening the cmd window is all that is really necessary). If you're changing PATH directly in th current cmd window, it should work as is (but you have to keep changing it every time you open a new cmd window).

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Phrasz
Member #10,091
August 2008

I changed it once about ten mins ago with the windows dialoge My Comp Properties-->Advance System Settings-->Environment variables

Then in the system variables section I added to the variable "PATH" this: ;C:\Program Files (x86)\GnuWin32\bin

I did the restart then, and have tried a few different CMD windows. Yet, I am still getting the fun filled "No such file or directory"

Thomas Fjellstrom
Member #476
June 2000
avatar

As I mentioned previously, you're supposed to run it from allegro's base dir, not from inside misc. ie:

mics/fixdll

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Phrasz
Member #10,091
August 2008

yup I have been attempting there(as from my original instruction), I just posted results from my experiments with the bat being up a level in the folders.

I'm at a loss for now, but every day with a bit of progress will inch me closer to getting it to go.

OR I'll redistribute some space and reinstall ubuntu ;)

Thx again

EDIT: from just a min ago:

#SelectExpand
1 2C:\svn allegro 5\misc>fixdll 3*** Warning !!! 4 Using this script to generate the DLL export definition files may break 5 binary compatibility with the latest release. Use misc/fixdll.sh instead.
6
7Scanning for API symbols... 8gcc: misc/scanexp.c: No such file or directory 9gcc: no input files 10sed: can't read _apidef.tmp: No such file or directory 11sed: can't read _apidef.tmp: No such file or directory 12Scanning for WinAPI symbols... 13gcc: misc/scanexp.c: No such file or directory 14gcc: no input files 15sed: can't read _wapidef.tmp: No such file or directory 16sed: can't read _wapidef.tmp: No such file or directory 17Scanning for internal symbols... 18gcc: misc/scanexp.c: No such file or directory 19gcc: no input files 20sed: can't read _intdef.tmp: No such file or directory 21sed: can't read _intdef.tmp: No such file or directory 22Generating... 23 lib\msvc\allegro.def 24The system cannot find the path specified. 25 lib\mingw32\allegro.def 26The system cannot find the path specified. 27 lib\dmc\allegro.def 28The system cannot find the path specified. 29 lib\bcc32\allegro.def 30The system cannot find the path specified. 31Done! 32 33C:\svn allegro 5\misc>

Thomas Fjellstrom
Member #476
June 2000
avatar

Phrasz said:

C:\svn allegro 5\misc>fixdll

You're still running it from inside misc, cd up to "svn allegro 5" and retry.

Also, I'd suggest strongly that you not put allegro or mingw in folders with spaces in them.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Timorg
Member #2,028
March 2002

<derail>Isn't the suggest boldly?</derail>

____________________________________________________________________________________________
"c is much better than c++ if you don't need OOP simply because it's smaller and requires less load time." - alethiophile
OMG my sides are hurting from laughing so hard... :D

Kibiz0r
Member #6,203
September 2005
avatar

Probably worth mentioning in this thread...

MinGW doesn't have gcc.exe, but gcc-3.exe. It has a shortcut called gcc, but it somehow doesn't get invoked. I had to modify the batch file to get it to work.

Also, Windows will choke if you don't already have the lib* directories made.

LennyLen
Member #5,313
December 2004
avatar

Kibiz0r said:

MinGW doesn't have gcc.exe, but gcc-3.exe.

What version of MinGW are you running? Mine (3.4.5. Vista Special) comes with gcc.exe.

edit:

Quote:

Also, Windows will choke if you don't already have the lib* directories made.

I attached a batch file I made for creating the directories needed for fixdll.bat to work.

count
Member #5,401
January 2005

It's probably a good idea to get MSYS and invoke fixdll.sh instead of fixdll.bat.

Then this behaviour will be no problem...

Kibiz0r said:

Also, Windows will choke if you don't already have the lib* directories made.

...and I don't know what else is different.

LennyLen
Member #5,313
December 2004
avatar

It's probably a good idea to get MSYS and invoke fixdll.sh instead of fixdll.bat.

That's a bit of an overkill. The developers just need to add four lines to fixdll.bat to get it to work properly. alternatively you can just use the batch file I attached to my previous post. That's a lot simpler than mucking around with MSYS or cygwin.

count
Member #5,401
January 2005

It was an advice of one of the allegro devs. Thats why I'm doing it this way.
If the creation of the dir is all that changes, then you are right, then it's an overkill.
But I don't know if the sh file is doing other things in a different way as well, thats why I sticked with the advised way.
Will compare the two files later to check what the diffrences actually are.
Or if you already did and the dir creation is the only diffrence then it would be ok too. :)

Thomas Fjellstrom
Member #476
June 2000
avatar

the bash file will actually create a def file that may not be incompatible with other releases, while the bat file almost certainly will.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Milan Mimica
Member #3,877
September 2003
avatar

You can always build a static version and not care about the def file.

Trent Gamblin
Member #261
April 2000
avatar

fixdll.bat said:

** Warning !!!
Using this script to generate the DLL export definition files may break
binary compatibility with the latest release. Use misc/fixdll.sh instead

This is why you should use fixdll.sh with MSYS.

Phrasz
Member #10,091
August 2008

Hey guys,

Thanks for the response ... I had to travel to the in laws, but no worries the comp is with! (gotta love VHS to DVD weekends)

Thomas-
Thx for putting up with me at midnight. As you could tell late night + programming doesnt mix. I did run the fixdll up in the "root" folder.

1)Then I had issues with the output folders, as Kibiz0r pointed out, so I created them and re-ran fix dll. To my surprise it worked.

Then I had the dll , which I have left in place in the lib\mingw32 folder.

(LennyLen- Thx for the upload but I didn't use it)

2)As far as my MinGW version I don't know since I was lazy and used the installer, but I did dredge up this from the install.ini:

#SelectExpand
1[components] 2runtime=mingwrt-3.15.2-mingw32-dev.tar.gz 3w32api=w32api-3.13-mingw32-dev.tar.gz 4binutils=binutils-2.19.1-mingw32-bin.tar.gz 5core=gcc-core-3.4.5-20060117-3.tar.gz 6gpp=gcc-g++-3.4.5-20060117-3.tar.gz 7g77= 8ada= 9java= 10objc=gcc-objc-3.4.5-20060117-3.tar.gz 11make=mingw32-make-3.81-20080326-2.tar.gz

3)I MAY use MSYS eventually, but who knows.

4) Now I tried to Cmake like I normally do, but I had 3 errors come up:
-libjpeg not found
-libFLAC not found
-libsndfile not found

THEN I found the forum with the dependancy files, and once those were installed I no longer had any configuration issues.

YET, I'm not in the clear. I attempted to build the file (via Code::Blocks), and I have errors with the joystick:

#SelectExpand
1Building C object CMakeFiles/allegro.dir/src/win/wjoydxnu.c.obj 2C:\mingw\bin\gcc.exe -Dallegro_EXPORTS -msse -W -Wall -Wdeclaration-after-statement -O2 -g -IC:\svn_allegro_5\include -IC:\svn_allegro_5\built\include -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -o CMakeFiles\allegro.dir\src\win\wjoydxnu.c.obj -c C:\svn_allegro_5\src\win\wjoydxnu.c 3C:\svn_allegro_5\src\win\wjoydxnu.c: In function `joystick_dinput_acquire': 4mingw32-make.exe[2]: Leaving directory `C:/svn_allegro_5/built' 5C:\svn_allegro_5\src\win\wjoydxnu.c:271: warning: implicit declaration of function `IDirectInputDevice8_Acquire' 6mingw32-make.exe[1]: Leaving directory `C:/svn_allegro_5/built' 7C:\svn_allegro_5\src\win\wjoydxnu.c: In function `_al_win_joystick_dinput_unacquire': 8C:\svn_allegro_5\src\win\wjoydxnu.c:292: warning: implicit declaration of function `IDirectInputDevice8_Unacquire' 9C:\svn_allegro_5\src\win\wjoydxnu.c: In function `_al_win_joystick_dinput_grab': 10C:\svn_allegro_5\src\win\wjoydxnu.c:317: warning: implicit declaration of function `IDirectInputDevice8_SetCooperativeLevel' 11C:\svn_allegro_5\src\win\wjoydxnu.c: In function `joystick_enum_callback': 12C:\svn_allegro_5\src\win\wjoydxnu.c:581: warning: implicit declaration of function `IDirectInput8_CreateDevice' 13C:\svn_allegro_5\src\win\wjoydxnu.c:586: warning: implicit declaration of function `IDirectInputDevice8_QueryInterface' 14C:\svn_allegro_5\src\win\wjoydxnu.c:586: error: `IID_IDirectInputDevice8' undeclared (first use in this function) 15C:\svn_allegro_5\src\win\wjoydxnu.c:586: error: (Each undeclared identifier is reported only once 16C:\svn_allegro_5\src\win\wjoydxnu.c:586: error: for each function it appears in.) 17C:\svn_allegro_5\src\win\wjoydxnu.c:587: warning: implicit declaration of function `IDirectInputDevice8_Release' 18C:\svn_allegro_5\src\win\wjoydxnu.c:594: warning: implicit declaration of function `IDirectInputDevice8_EnumObjects' 19C:\svn_allegro_5\src\win\wjoydxnu.c:601: warning: implicit declaration of function `IDirectInputDevice8_SetDataFormat' 20C:\svn_allegro_5\src\win\wjoydxnu.c:606: warning: implicit declaration of function `IDirectInputDevice8_SetProperty' 21C:\svn_allegro_5\src\win\wjoydxnu.c:632: warning: implicit declaration of function `IDirectInputDevice8_SetEventNotification' 22C:\svn_allegro_5\src\win\wjoydxnu.c: In function `joydx_init_joystick': 23C:\svn_allegro_5\src\win\wjoydxnu.c:719: warning: implicit declaration of function `DirectInput8Create' 24C:\svn_allegro_5\src\win\wjoydxnu.c:719: error: `IID_IDirectInput8A' undeclared (first use in this function) 25C:\svn_allegro_5\src\win\wjoydxnu.c:726: warning: implicit declaration of function `IDirectInput8_EnumDevices' 26C:\svn_allegro_5\src\win\wjoydxnu.c:726: error: `DI8DEVCLASS_GAMECTRL' undeclared (first use in this function) 27C:\svn_allegro_5\src\win\wjoydxnu.c:728: warning: implicit declaration of function `IDirectInput8_Release' 28C:\svn_allegro_5\src\win\wjoydxnu.c: In function `update_joystick': 29C:\svn_allegro_5\src\win\wjoydxnu.c:977: warning: implicit declaration of function `IDirectInputDevice8_Poll' 30C:\svn_allegro_5\src\win\wjoydxnu.c:980: warning: implicit declaration of function `IDirectInputDevice8_GetDeviceData' 31mingw32-make.exe[2]: *** [CMakeFiles/allegro.dir/src/win/wjoydxnu.c.obj] Error 1 32mingw32-make.exe[1]: *** [CMakeFiles/allegro.dir/all] Error 2 33mingw32-make.exe: *** [all] Error 2 34Process terminated with status 2 (0 minutes, 23 seconds) 355 errors, 15 warnings

I will be forum crawling and rechecking my steps to see if I can pin the problem.

Thx again all ^_^

Trent Gamblin
Member #261
April 2000
avatar

Did you get your directx sdk from here: http://trent.gamblin.ca/dx/dx9mgw.zip ?

Evert
Member #794
November 2000
avatar

Phrasz said:

I had to travel to the in laws, but no worries the comp is with!

Eh? ???
What does that mean? I assume it's some sort of dialect?

Kibiz0r
Member #6,203
September 2005
avatar

Evert said:

Eh?
What does that mean? I assume it's some sort of dialect?

I had to go visit my in-laws. But do not worry, because I have brought my computer with me.

Phrasz
Member #10,091
August 2008

Trent-
I did grab those files the other day, but re-downloaded/replaced the files for kicks and now I'm getting this:

#SelectExpand
1[ 14%] 2Building C object CMakeFiles/allegro.dir/src/win/wjoydxnu.c.obj 3C:\mingw\bin\gcc.exe -Dallegro_EXPORTS -msse -W -Wall -Wdeclaration-after-statement -O2 -g -IC:\svn_allegro_5\include -IC:\svn_allegro_5\built\include -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -o CMakeFiles\allegro.dir\src\win\wjoydxnu.c.obj -c C:\svn_allegro_5\src\win\wjoydxnu.c 4In file included from C:\svn_allegro_5\src\win\wjoydxnu.c:73: 5C:/svn_allegro_5/include/dinput.h:686: error: redefinition of typedef 'DIACTION' 6mingw32-make.exe[2]: Leaving directory `C:/svn_allegro_5/built' 7C:/svn_allegro_5/include/dinput.h:676: error: previous declaration of 'DIACTION' was here 8mingw32-make.exe[1]: Leaving directory `C:/svn_allegro_5/built' 9C:/svn_allegro_5/include/dinput.h:689: error: redefinition of typedef 'LPCDIACTION' 10C:/svn_allegro_5/include/dinput.h:687: error: previous declaration of 'LPCDIACTION' was here 11C:/svn_allegro_5/include/dinput.h:751: error: redefinition of typedef 'DIACTIONFORMAT' 12C:/svn_allegro_5/include/dinput.h:742: error: previous declaration of 'DIACTIONFORMAT' was here 13C:/svn_allegro_5/include/dinput.h:754: error: redefinition of typedef 'LPCDIACTIONFORMAT' 14C:/svn_allegro_5/include/dinput.h:752: error: previous declaration of 'LPCDIACTIONFORMAT' was here 15C:/svn_allegro_5/include/dinput.h:828: error: redefinition of typedef 'DICONFIGUREDEVICESPARAMS' 16C:/svn_allegro_5/include/dinput.h:819: error: previous declaration of 'DICONFIGUREDEVICESPARAMS' was here 17C:/svn_allegro_5/include/dinput.h:831: error: redefinition of typedef 'LPCDICONFIGUREDEVICESPARAMS' 18C:/svn_allegro_5/include/dinput.h:829: error: previous declaration of 'LPCDICONFIGUREDEVICESPARAMS' was here 19C:/svn_allegro_5/include/dinput.h:881: error: redefinition of typedef 'DIDEVICEIMAGEINFO' 20C:/svn_allegro_5/include/dinput.h:872: error: previous declaration of 'DIDEVICEIMAGEINFO' was here 21C:/svn_allegro_5/include/dinput.h:884: error: redefinition of typedef 'LPCDIDEVICEIMAGEINFO' 22C:/svn_allegro_5/include/dinput.h:882: error: previous declaration of 'LPCDIDEVICEIMAGEINFO' was here 23C:/svn_allegro_5/include/dinput.h:921: error: redefinition of typedef 'DIDEVICEIMAGEINFOHEADER' 24C:/svn_allegro_5/include/dinput.h:912: error: previous declaration of 'DIDEVICEIMAGEINFOHEADER' was here 25C:/svn_allegro_5/include/dinput.h:924: error: redefinition of typedef 'LPCDIDEVICEIMAGEINFOHEADER' 26C:/svn_allegro_5/include/dinput.h:922: error: previous declaration of 'LPCDIDEVICEIMAGEINFOHEADER' was here 27C:/svn_allegro_5/include/dinput.h:1298: error: redefinition of typedef 'DIDEVICEINSTANCE' 28C:/svn_allegro_5/include/dinput.h:1288: error: previous declaration of 'DIDEVICEINSTANCE' was here 29C:/svn_allegro_5/include/dinput.h:1301: error: redefinition of typedef 'LPCDIDEVICEINSTANCE' 30C:/svn_allegro_5/include/dinput.h:1299: error: previous declaration of 'LPCDIDEVICEINSTANCE' was here 31mingw32-make.exe[2]: *** [CMakeFiles/allegro.dir/src/win/wjoydxnu.c.obj] Error 1 32mingw32-make.exe[1]: *** [CMakeFiles/allegro.dir/all] Error 2 33mingw32-make.exe: *** [all] Error 2 34Process terminated with status 2 (0 minutes, 23 seconds) 3524 errors, 0 warnings

Evert said:

I assume it's some sort of dialect?

Yah it's North Dakotan ... sorry about that. (I need to get out of the state my Minnesotan is disappearing everyday)

EDIT 5:43

So I tried for kicks to have a new check out folder and build everything off of that and now the issues are with the d3de9x files/config etc :

#SelectExpand
1 2 3[ 18%] 4Building CXX object CMakeFiles/allegro.dir/src/win/d3d_disp.cpp.obj 5C:\mingw\bin\g++.exe -Dallegro_EXPORTS -msse -W -Wall -O2 -g -IC:\svn_allegro\include -IC:\svn_allegro\rebuilt\include -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -o CMakeFiles\allegro.dir\src\win\d3d_disp.cpp.obj -c C:\svn_allegro\src\win\d3d_disp.cpp 6C:\svn_allegro\src\win\d3d_disp.cpp:61: error: `IDirect3D9Ex' has not been declared 7C:\svn_allegro\src\win\d3d_disp.cpp:61: error: ISO C++ forbids declaration of `parameter' with no type 8C:\svn_allegro\src\win\d3d_disp.cpp: In function `bool d3d_create_fullscreen_device(ALLEGRO_DISPLAY_D3D*, int, int, int)': 9C:\svn_allegro\src\win\d3d_disp.cpp:685: error: `D3DDISPLAYMODEEX' was not declared in this scope 10mingw32-make.exe[2]: Leaving directory `C:/svn_allegro/rebuilt' 11C:\svn_allegro\src\win\d3d_disp.cpp:685: error: expected `;' before "mode" 12mingw32-make.exe[1]: Leaving directory `C:/svn_allegro/rebuilt' 13C:\svn_allegro\src\win\d3d_disp.cpp:686: error: `IDirect3D9Ex' was not declared in this scope 14C:\svn_allegro\src\win\d3d_disp.cpp:686: error: `d3d' was not declared in this scope 15C:\svn_allegro\src\win\d3d_disp.cpp:686: error: expected primary-expression before ')' token 16C:\svn_allegro\src\win\d3d_disp.cpp:686: error: expected `;' before "_al_d3d" 17C:\svn_allegro\src\win\d3d_disp.cpp:687: error: `mode' was not declared in this scope 18C:\svn_allegro\src\win\d3d_disp.cpp:692: error: `D3DSCANLINEORDERING_PROGRESSIVE' was not declared in this scope 19C:\svn_allegro\src\win\d3d_disp.cpp:697: error: `IDirect3DDevice9Ex' was not declared in this scope 20C:\svn_allegro\src\win\d3d_disp.cpp:697: error: expected primary-expression before ')' token 21C:\svn_allegro\src\win\d3d_disp.cpp:701: error: expected primary-expression before ')' token 22C:\svn_allegro\src\win\d3d_disp.cpp:705: error: expected primary-expression before ')' token 23C:\svn_allegro\src\win\d3d_disp.cpp:709: error: expected primary-expression before ')' token 24C:\svn_allegro\src\win\d3d_disp.cpp:692: warning: unused variable 'D3DSCANLINEORDERING_PROGRESSIVE' 25C:\svn_allegro\src\win\d3d_disp.cpp: In function `bool _al_d3d_init_display()': 26C:\svn_allegro\src\win\d3d_disp.cpp:837: error: `LPDIRECT3D9EX' was not declared in this scope 27C:\svn_allegro\src\win\d3d_disp.cpp:837: error: expected primary-expression before ')' token 28C:\svn_allegro\src\win\d3d_disp.cpp:837: warning: unused variable 'LPDIRECT3D9EX' 29C:\svn_allegro\src\win\d3d_disp.cpp: In function `bool _al_d3d_reset_device(ALLEGRO_DISPLAY_D3D*)': 30C:\svn_allegro\src\win\d3d_disp.cpp:1221: error: `D3DDISPLAYMODEEX' was not declared in this scope 31C:\svn_allegro\src\win\d3d_disp.cpp:1221: error: expected `;' before "mode" 32C:\svn_allegro\src\win\d3d_disp.cpp:1222: error: `IDirect3DDevice9Ex' was not declared in this scope 33C:\svn_allegro\src\win\d3d_disp.cpp:1222: error: `dev' was not declared in this scope 34C:\svn_allegro\src\win\d3d_disp.cpp:1222: error: expected primary-expression before ')' token 35C:\svn_allegro\src\win\d3d_disp.cpp:1222: error: expected `;' before "d3d_display" 36C:\svn_allegro\src\win\d3d_disp.cpp:1223: error: `mode' was not declared in this scope 37C:\svn_allegro\src\win\d3d_disp.cpp:1228: error: `D3DSCANLINEORDERING_PROGRESSIVE' was not declared in this scope 38C:\svn_allegro\src\win\d3d_disp.cpp:1228: warning: unused variable 'D3DSCANLINEORDERING_PROGRESSIVE' 39mingw32-make.exe[2]: *** [CMakeFiles/allegro.dir/src/win/d3d_disp.cpp.obj] Error 1 40mingw32-make.exe[1]: *** [CMakeFiles/allegro.dir/all] Error 2 41mingw32-make.exe: *** [all] Error 2 42Process terminated with status 2 (0 minutes, 31 seconds) 4325 errors, 3 warnings 44

Does anyone know what would happen if I left it disabled in the cmake options? ...since I am running vista?

Trent Gamblin
Member #261
April 2000
avatar

You can disable it.

Phrasz
Member #10,091
August 2008

My knowledge is vague as best. Is it supposed to be an opengl replacement? Or can I still use opengl?

Also it appears to be building now ~85% done

Update:

#SelectExpand
1Process terminated with status 0 (4 minutes, 16 seconds) 20 errors, 3 warnings

Now I just have to play around with the libraries...

Evert
Member #794
November 2000
avatar

Kibiz0r said:

I had to go visit my in-laws. But do not worry, because I have brought my computer with me.

Aaaaah! Ok. I got the first part, but the second part looked like complete gibberish to me. With hindsight, I should have been able to guess what it meant.
Is that a common expression? Never heard it before...

 1   2 


Go to: