472,791 Members | 1,077 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,791 software developers and data experts.

Compiling GLEW with mingw

3 2Bits
I am trying to compile glew binaries, for my Qt 5.14 with MinGw.
I set the environment path to .....\QT\Qt5.14.1\Tools\mingw730_32\bin like one guy suggested in the video.

Then i run cmd. I type then cd C\:glew2.1\compile.bat. In the video it does work, but in my case it just says "the command isn't recognized"

This is in the bat file
gcc -DGLEW_NO_GLU -O2 -Wall -W -Iinclude -DGLEW_BUILD -o src/glew.o -c src/glew.c
gcc -shared -Wl,-soname,libglew32.dll -Wl,--out-implib,lib/libglew32.dll.a -o lib/glew32.dll src/glew.o -L/mingw/lib -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32

After 5h, i am done with this bullshit. I do exactly the same thing as the others show, and it just doesn't run, so i need help. MinGw comes with Qt 5.14 installation.

Those are few the videos i lookup:
Nov 7 '20 #1
3 2636
626 Expert 512MB
Command-line needs a restart to recognize the newly added paths. Use
echo %path%
to see if the desired one has been added. To set a temporary path, use
SET PATH="C:\Users\yadayada\...\QT\Qt5.14.1\Tools\ming w730_32\bin".
Check if the executable is available using the simple version check command
gcc -v
If you see the version info, you're good to go.
Nov 7 '20 #2
3 2Bits
Still doesn't work. I did reinstall everything, now it's recognized, but few tests i did, doesn't compile anything. The commands are now known, but when i acess the compile.bat by the Qt command prompt, it does nothing.
Nov 8 '20 #3
3 2Bits
Ok, so i input the commands to the prompt manually, and this time it does work. Now i am gonna check if it does compile them.
Nov 8 '20 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Joonas Paalasmaa | last post by:
Hi, When compiling Sketch's streamfilter C extension the errors below are raised during linking. What could cause the errors? (Python 2.3, MinGw 1.1 with GCC 2.95.3-6, Windows 98) Here are...
by: Oleg A. Paraschenko | last post by:
Hello all, recently I compiled Python with MinGW gcc under Windows. If there are some interest, you can look at log of process at http://uucode.com/texts/python-mingw/python-mingw.html In...
by: sid | last post by:
Can someone give me some pointers on compiling IO under Mingw? Basically what packages i would require other than the mingw base package. And any changes that may be required within the setup...
by: A. B., Khalid | last post by:
Hello all. After a search on Google it would seem that the users of Mingw have not had good results in compiling the python sources natively. See at least: ...
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
by: ddh | last post by:
Hi, I download mingw in my system(XP SP2), and extract them in c:\mingw\gcc, so the directories looks like: c:\mingw\gcc\bin, c:\mingw\gcc\include ..., and I added c:\mingw\gcc\bin in my PATH...
by: Srijit Kumar Bhadra | last post by:
Is there any specific reason for not using MinGW to build the official distribution of Python for Win32? A quick Google search did not reveal the answer to my question. If a link is available,...
by: rays | last post by:
Hi, I am trying to port a C++ program which is supposed to be standards compliant. It works fine on Linux with GCC (4.x). But as I try to compile it on Windows, all hell breaks loose. I have been...
by: =?utf-8?B?4piG4piG4piG4piG4piGIFPDvCBLZWl0aCBDaGFr | last post by:
Installed this compiler on Vista; a simple "hello world" after compiled and run would pop-up a window "source file not compiled" I've seen this question asked a few times on Internet groups and...
by: eliben | last post by:
On Jun 27, 3:10 pm, eliben <eli...@gmail.comwrote: Problem solved: http://eli.thegreenplace.net/2008/06/28/compiling-python-extensions-with-distutils-and-mingw/
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
by: lllomh | last post by:
How does React native implement an English player?
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.