Author Topic: Unable to compile.  (Read 4549 times)

Offline JWColeman

  • Single posting newcomer
  • *
  • Posts: 7
Unable to compile.
« on: January 31, 2012, 04:56:32 am »
Hey I was formerly a user of microsoft visual studio 2010 express.  I want to switch to codeblocks so I can build more cross platform apps easier.

I'm trying to set up the compiler to work with my visual studio 2010 one, not going so well, I'm getting this error.

"Employee Database - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.

It pointed me to the toolchain path in settings->compiler and debugger...

I set visual c++ 2008 as my default compiler, and then switched all my paths to the visual c++ 2010 paths... all the paths I believe are correct...

Still get the same error, what can I do now?

Offline JWColeman

  • Single posting newcomer
  • *
  • Posts: 7
Re: Unable to compile.
« Reply #1 on: January 31, 2012, 05:09:53 am »
Okay, I read the wiki and was able to get it to attempt to compile, good job wiki.  Now I'm trying to set up the linker stuff.  It cannot open kernel32.lib.

I don't know where link libraries are stored....  And I'm not sure which dialog box in code blocks will let me set up link directories, is it the one under settings->compiler and debuggers... and then in the linker settings tab?

If so, all I need to do is find out where kernel32.lib is hanging out..

Offline JWColeman

  • Single posting newcomer
  • *
  • Posts: 7
Re: Unable to compile.
« Reply #2 on: January 31, 2012, 05:13:43 am »
Okay, got that set up, surprisingly easy.

Sorry for wasting your webspace! :D