16,011,447 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Sami_hun (Top 4 by date)
Sami_hun
5-Jan-14 15:13pm
View
I could solve that. Almost killed my mind... Sorry everybody. The problem was that I install mingw earlier into c:\\, and I set the enviroment variable to the folder. I delete this mingw folder and it makes everything works fine. I read the solution here: http://bytes.com/topic/c/answers/838602-bloodshed-dev-c-linker-error-undefined-reference-cpu_features_init
Sami_hun
5-Jan-14 10:42am
View
Ok I tried to install freeglut for visual studio. I couldn't find a valid description of the installing. All of them are non-working. Then I install DevC++. Made a new opengl projekt and got the same sh*t as the case of CodeBlocks.
I failed. And I am very angry now.
So... the question is that. What does it means:
[Linker error] undefined reference to `__dyn_tls_init_callback'
[Linker error] undefined reference to `__cpu_features_init'
[Linker error] undefined reference to `__chkstk_ms'
[Linker error] undefined reference to `__mingw_glob'
(These are the error messages of a new DevC++ base opengl project)
Does anybody know the answer?
Sami_hun
4-Jan-14 17:37pm
View
the build command:
mingw32-g++.exe -L"c:\Program Files\CodeBlocks\MinGW\lib" -o "bin\Debug\graphiv test.exe" obj\Debug\main.o -lglut32 -lopengl32 -lglu32 -lwinmm -lgdi32
Sami_hun
4-Jan-14 17:20pm
View
Yes I did. I use gcc.