473,661 Members | 2,456 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

bloodshed dev c++ compiler

Just installed dev cpp on Windows XP. When I try to compile programs,
however simple, I always get the message Linker error undefined
reference to cpu_features_in it. Could someone please help me rectify
this problem.

I apologise if this is slightly O.T. because it refers to a specific
compiler. However, it's important to me to get an answer fairly
quickly. A newsgroup on the specific topic of the bloodshed dev
compiler would be very much less active.

Thank you very much for your help,

Paul Epstein

May 12 '07 #1
3 6887
pa**********@at t.net wrote:
Just installed dev cpp on Windows XP. When I try to compile programs,
however simple, I always get the message Linker error undefined
reference to cpu_features_in it. Could someone please help me rectify
this problem.

I apologise if this is slightly O.T. because it refers to a specific
compiler. However, it's important to me to get an answer fairly
quickly. A newsgroup on the specific topic of the bloodshed dev
compiler would be very much less active.
But frequented by people who are more likely to know the answer and reply.

--
Ian Collins.
May 12 '07 #2
pa**********@at t.net wrote:
When I try to compile programs...I always get the message
Linker error undefined reference to cpu_features_in it.
In general, the linker error message "undefined reference" means that you have
told the compiler that "cpu_features_i nit" exists, that is, you have declared
it. The compiler has told you that it can't find the definition of
"cpu_features_i nit."

Is the definition contained in a library that you haven't told the compiler
about? Is it in some piece of source code that should have been compiled at the
same time as the rest of the program?

--
Chuck
May 12 '07 #3
On May 11, 8:43 pm, pauldepst...@at t.net wrote:
Just installed dev cpp on Windows XP. When I try to compile programs,
however simple, I always get the message Linker error undefined
reference to cpu_features_in it. Could someone please help me rectify
this problem.

I apologise if this is slightly O.T. because it refers to a specific
compiler. However, it's important to me to get an answer fairly
quickly. A newsgroup on the specific topic of the bloodshed dev
compiler would be very much less active.

Thank you very much for your help,

Paul Epstein
This is exactly the problem that I had before. I've both dev-cpp and a
standalone mingw installed. At some point, dev-cpp failed to work but
mingw still did. And my workaround is to replace the entire /lib and /
bin directories in dev-cpp with those in mingw.

Still don't know how that happened. Anyway, hope this helps.

Jason Zou.

May 12 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4422
by: Developwebsites | last post by:
I have tried out these C++ compilers: Watcom 11.0c - simply does not work. now they bundled fortran with c++ but it just doesnt install on my pc. digi-mars DOS - good, fast, small. however, no IDE, no editor, etc. borland command line tools 5.5 - installed but gives errors on programs which compile fine in 4.52. WHY?
2
1544
by: PointNot | last post by:
I'm coding in Dev C++ by bloodshed my questions are.... I want to learn to create GUI windows interfaces, can I do it in here. I've never learned the visual aspect of C++ yet, and would like to learn, any good sites to help me out. THanks
0
1171
by: bob | last post by:
I'm using Bloodshed Dev-C++, and I'm getting ready to distribute a program I made with it. Does anyone know how to change the icon of the program? I'm not sure how resources work in Bloodshed, and the documentation on this seems nonexistent.
12
1907
by: MatthewMlane | last post by:
Sorry I am new to C programming & this newsgroup. But I downloaded a C compiler & when it runs the executable file it pops up the dos prompt & shows my executed file but only for a nanosecond & then flips off. I cant see my executed file. I can go to the MSDOS prompt & run it but thats a pain. There's got to be some place to click where you can look at it until you press a key or something. HElp
6
2336
by: PCHOME | last post by:
Hi! I am looking for a good free IDE C Compiler. Dose any have experience on using them? Which is better? Bloodshed C or Miracle C? Or anyother free IDE C Compiler you like to recomend? Thank you so much!
30
3787
by: Dave -Turner | last post by:
So I just downloaded Bloodshed devcpp, opened up the Hello example, compiled it, no problems ..... well, except one - the exe is 474,990 bytes! What's the secret to compiling small exes? Thanks
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8754
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8542
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1984
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1740
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.