User forums > Using Code::Blocks

SmartWin test apps won't compile

<< < (2/3) > >>

mandrav:
Enable "Settings->Compiler and debugger->Compiler->Other->Explicitely add currently compiling file's directory to compiler search dirs" and try again.

Buffalo:
Thanks I wasn't aware of that setting, seems logical to do that.
Seems it solved it for compiler.  :P
But I get errors when linking.  :?
I tried to manually include needed libs for linker.
gdi kernel user and such...
It still won't link...

I copied a project file, generated by the smartwin wizard.
I then replaced the original filename in the project to the Canvas.cpp (path and all of course)
Opened that project, and it compiles and runs fine.  :P

So I guess it's OK, I just hoped there was an easier way to do it.

Btw. I have to choose build and run 2 times, because program dosn't run first time, but for some reason it does second time.
Seems the "error" instantiated from here, is causing program not to be run.
But it's not an error is it?
( I'm new to C++ )  :shock:

Buffalo:
Btw. Mandrav

I simply LOVE your Logo.
Extremely cool serious guy, trying to solve a very tough problem.  :P :P :P

mandrav:
Enable "Settings->Compiler and debugger->Compiler->Other->Compiler logging: Full command line" and post your build log here.


--- Quote from: Buffalo on May 23, 2006, 10:43:38 am ---Btw. Mandrav

I simply LOVE your Logo.
Extremely cool serious guy, trying to solve a very tough problem.  :P :P :P

--- End quote ---

Kudos go to Thomas. He 's the artist :)

Buffalo:
Hi, Sorry I took so long to come back.
I am experimenting with Ubuntu, seems like Linux has come a long way since last I tried it.

I am considering a complete move to Linux, So I guess it would be illogical to use Smartwin.
But maybe codeblocks will be great for Linux too?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version