Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

DevCpp fail

Name: level1OP 2010-06-09 22:52

ok, i am compiling something using the csound c/c++ api..

I get this error:
  [Linker error] undefined reference to `__cpu_features_init'

which in the log shows:
make.exe -f "...\Makefile.win" all
g++.exe main.o test.o  -o "Devtest.exe" -L"C:/Dev-Cpp/lib" "C:/csound Include Library/csound64.lib" 

/mingw/lib/crt2.o(.text+0x37):crt1.c: undefined reference to `__cpu_features_init'
collect2: ld returned 1 exit status

make.exe: *** [Devtest.exe] Error 1

Now, i googled the build error lines and found that chances were that i had 2 MinGW installed, i did so i uninstalled the stand alone one and nothing changed :(

Any ideas? I have re-installed DevCpp 5/6ish times now ;__;

Name: Anonymous 2010-06-09 23:22

>>7
I hate black text?

Also OP is probably new to programming and tbf, he said it was a linking error..

>>1
OP you have more than one MinGW or Msys, if you did uninstall one, make sure it was full. You may even of had a third one..

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List