Fwd: Having problems building slimDX examples!

58 views
Skip to first unread message

Promit Roy

unread,
Sep 2, 2011, 11:32:18 PM9/2/11
to slimdx...@googlegroups.com, sto...@gmail.com
Just forwarding because I don't have the time to tackle this for a few days.

-- Promit
SlimDX Group



---------- Forwarded message ----------
From: Thomas Stoltz <sto...@gmail.com>
Date: Fri, Sep 2, 2011 at 11:18 PM
Subject: Having problems building slimDX examples!
To: pro...@slimdx.org


Hi

Tonight I downloaded and installed slimDX and I then wanted to run the
examples you share on your homepage.

I have not had any success building the examples. When I just open the
example projects in VS2010 I get a lot of error and warnings. I then
go to the target framework and change from .NET V2.0 to V4.0. and I
end up with the warning:

Warning 1       Found conflicts between different versions of the same
dependent assembly.     SimpleTriangle2D

If I run the build I get an BadImageFormatException. I don't know how
to remedy this behavior!

I then downloaded the tip of the rep using SVN and then I wanted to
build SlimDX myself but Im getting an error saying that I dont have
VS2008 installed (I use VS2010).

I think you SlimDX is what I need for my project so I hope you can
help me get some of the examples working.

Can you please help me getting the examples build and run?

Thanks
Thomas

Lenovo X220 I7, Win7-DX11

Josh Petrie

unread,
Sep 4, 2011, 9:10:39 PM9/4/11
to slimdx...@googlegroups.com, sto...@gmail.com
For building from source, I think v1 requires VS2008 still (the 2010
solution is a utility, but a bunch of things still just build with the
VS2008 toolset.

What are the original warnings you get when trying to build the
samples (from the SDK release, I assume?) -- changing the CLR target
to 4 isn't necessarily the correct step, depending on what the issues
are and what you're trying to do.

-- jmp

> --
> You received this message because you are subscribed to the Google Groups
> "slimdx-devel" group.
> To post to this group, send email to slimdx...@googlegroups.com.
> To unsubscribe from this group, send email to
> slimdx-devel...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/slimdx-devel?hl=en.
>

David Karlaš

unread,
Sep 5, 2011, 12:10:28 AM9/5/11
to slimdx...@googlegroups.com
I think he has to remove slimdx references and re-add them from SDK/bin to match his configuration x64/x86 and .NET v2/v4. He aslo has to rebuild SampleFramework project and re-add references for that too. I'm kinda sure this is problem since i had it 1mount ago with this BadImage error.

P.S: Is he on this mailing-list or should i send to his e-mail?

Reply all
Reply to author
Forward
0 new messages