Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Mathend99 on June 08, 2013, 09:34:54 pm

Title: Migrating from Visual Studio to CodeBlocks
Post by: Mathend99 on June 08, 2013, 09:34:54 pm
Hi!, guys. Sorry to bother you. I need a little help.
I wrote a small, working, application using Microsoft Visual C++/CLI and I now have to have it run under Ubuntu.
First, I created an empty project in CodeBlocks and added all of the old files to it (*.h, *.cpp, etc.).
After days of trying this and that to build it, the compilation is down to two errors:
* expected unqualified-id before 'public'
* expected '}' at end of input
I have checked the files and done a fair amount of searching, but no luck.
By the way, when I said "this and that" it means I commented out statements like "using namespace System" and "#pragma once" that were giving me errors.
Can you guys help me or point me towards the appropriate documentation"
THANKS IN ADVANCE!!!
Title: Re: Migrating from Visual Studio to CodeBlocks
Post by: oBFusCATed on June 08, 2013, 09:43:55 pm
http://en.wikipedia.org/wiki/C%2B%2B/CLI

Do you see somewhere in this page any info about a non-MS compiler which supports C++/CLI?